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:
Then there is the large number of games which use the phone on its back like so:
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)
Checkout Our Sponsors




















{ 4 comments… read them below or add one }
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.
Actually some apps have that feature, they will ask you to calibrate before using.
I have come across a few games with the Calibrate option. Nice article :)
I hope my ‘artist impression’ drawings looked professional enough ;)
{ 1 trackback }