Home » News » An idea for developers to do with tilt.
Wallpapers
Wallpapers 1
Denver-Broncos

NFL

Manchester-United

Soccer

Animals

Animals

Wallpapers 2
Halo

Halo

Battlefield 3

Battlefield 3

Superman

Superman

Official App
Get the Official App

Get the Official App

An idea for developers to do with tilt.

by Cris Rowlands on July 31, 2010

in News

thetilt This is just a quick one about an idea that’s been going around in my head for the past week or so.

Now, I code in c# but I am by no means an expert, actually I am still very much a beginner considering how huge the world of programming can get & there is no way on earth I could figure out how to test this Idea. Still, I wanted to share this little ‘epiphany’ I had.

Its just that when it comes to games that use the G-sensor, or accelerometer in a phone, to move things by tilting the device, you are often stuck with the default orientation coded in, like Asphalt 4, a driving game for example, it expects you to hold the phone on its side like this:

1

Then there is the large number of games which use the phone on its back like so:

1

Now, this annoys me because I cant lie on my back & drive cars around on my phone, or lie on my side & fly a spaceship, shoot aliens etc. The simple answer is to take a snapshot of the orientation when the app opens, store it in a variable & work from that. Simply calculate how the phone has been moved in comparison to its origin. This way you can use your phone from whatever angle you like.

(makes me want to make a joke about being able to hold my phone however I like *cough* apple * /cough*)

Then, you could have a setting to either use this method or just work from the built in default (on the back or side etc) then the user has the best of both worlds.

Still, its just an idea. Let me know what you all think by leaving a comment below!

(Sorry for the misleading picture of the HTC Tilt. This post was really nothing to do with that phone except for a slight connection to its name)

About Cris Rowlands

Cris Rowlands has written 68 post in this blog.

Hi there, Im a student who loves programming for WindowsMobile, keeping up with mobile news stuffs & designing.

     
Scan this QRcode with Bing vision ( Hit the hardware Search button and click on the small icon that looks like an eye ) on your Phone to download the App to your phone.
Marketplace Download   OR Code

Checkout Our Sponsors

{ 4 comments… read them below or add one }

Nabeel Ahmed July 31, 2010

I myself find it troublesome to use G-sensor based apps when angle is changed. Its an nice trick which developers should consider to use in the future.

Reply

kitron July 31, 2010

Actually some apps have that feature, they will ask you to calibrate before using.

Reply

Saijo George July 31, 2010

I have come across a few games with the Calibrate option. Nice article :)

Reply

CrisRowlands July 31, 2010

I hope my ‘artist impression’ drawings looked professional enough ;)

Reply

Leave a Comment

Checkout Our Sponsors
GelaSkins Windows Phone
Droplitz Delight Review Windows Phone [ Quick Look ]
Deal of the Week : Monopoly ( 24/05/2012 )
geoDefense Swarm: More than Just a Sequel
Logo Crazy! : Logos Quiz Game inspired game for Windows Phone
Social Artist : another Draw Something inspired game
PreviousNext

{ 1 trackback }

Previous post:

Next post: