Astrolight is a simple red flashlight application which you can get in the Windows Phone Marketplace, it’s so simple that I’m going to tell you how you can create one too. With two lines of code.
Assuming you’re all up and running with the free Visual Studio Express for Windows Phone, we just need to start a new Windows Phone Game project…
Then we double click the Game1.cs file and find the Draw method. Here we need to change replace one line with two:
/// This is called when the game should draw itself.
/// <param name="gameTime">Provides a snapshot of timing values.</param>
protected override void Draw(GameTime gameTime)
graphics.IsFullScreen = true;
Press play and watch your brand new app on the Windows Phone Emulator!
Microsoft Research has created a fancy project for Windows Phone 7 called TouchStudio – a scripting environment which allows you to write code on your phone with just your fingertips.
I’ve been playing with TouchStudio for a couple of weeks now, and I can definitely say it brings the fun of messing around with a programming language to the phone. But don’t expect to be creating any higher level applications just yet.
The language itself seems to be still in flux right now, including breaking changes in the V1.1 release. But it is a very modern and good looking language, without extra semicolons or curly braces that would be included if you were porting a language like C# over to the phone.
Check Channel 9 for some cool videos, or if you don’t have a Windows Phone you can check out a related project from Microsoft called Small Basic. While the language is totally different to the one in TouchStudio, it does seem to have similar goals for the end user.
TouchStudio 1.2 has been released. This includes new features such as posting to Facebook!
I created another cool time-lapse video last week, and I think this one came out pretty well. As you can see, it’s not of the sky this time. Instead we get to see the busy life of the Branded3 offices in Aberford. Oh and the awesome music is supplied by Mike Jeffs. Good job.
My other time lapse videos: