FORUMS

HTC Delivering Ads Straight to Sense Home

HTC’s 2015 has been a year marked by a desperate search for revenue.The HTC One M9 … more

Galaxy S6 & Edge get €100 Price Cut—New Models Incoming

Samsung has dropped the price of both the Galaxy S6 and S6 Edge by … more

How To Port Fully Featured Sony Xperia Z4 Camera

Xperia Z4’s hardware may not impress, but its software is definitely … more

Experimental TWRP Available For Moto G 2015

XDA Senior Member squid2 has posted experimental builds of TWRP for the Moto G … more

[APP] [ver 1.00] [updated 17.03.09] GravityBalls - GSensor Game for Diamond and HD

29 posts
Thanks Meter: 1
 
By zehlein, Junior Member on 7th February 2009, 09:40 PM
Post Reply Subscribe to Thread Email Thread
Hi to all,
it's about time to release my new GSen-controlled game...



This game is about gravity and balls. With the movement of your hand (left/right tilting) you control the paddle that explodes the balls. Tilting up and down changes the gravitational force applied to the balls. This way you can accelerate them, slow them down or even make them fly to heaven again...



Let me know about ideas, bugs or improvements!

*change log*

v 1.00
*added native WVGA support for Touch HD
*better response of the paddle to movements
*all new graphics and finger friendly user interface

v 0.93
*fixed backlight dimming while playing game

v 0.92 initial release

If you like GravityBalls consider a donation and buy me a beer.

__________
Last edited by zehlein; 17th March 2009 at 11:16 PM.
The Following User Says Thank You to zehlein For This Useful Post: [ View ]
 
 
7th February 2009, 10:50 PM |#2  
TrizO's Avatar
Member
Flag Ohio
Thanks Meter: 0
 
More
looks interesting, going to try it out
7th February 2009, 10:55 PM |#3  
toomie05's Avatar
Senior Member
Flag California
Thanks Meter: 6
 
More
Nice
Sick game good work! is their a way to make the gsensor more sensitive??
7th February 2009, 11:36 PM |#4  
bugsykoosh's Avatar
Senior Member
Thanks Meter: 4
 
More
pretty nice. I did notice my backlight was dimming and timing out - any way to override that?
8th February 2009, 12:52 AM |#5  
Senior Member
Thanks Meter: 0
 
More
Quote:
Originally Posted by bugsykoosh

pretty nice. I did notice my backlight was dimming and timing out - any way to override that?

I havenít tried or downloaded the app yet but if the developer looks through Klaxon's source code it shows a method of preventing the backlight from turning off while the app is running.

Hope that helps, now to give this game a try...
8th February 2009, 04:52 AM |#6  
band27's Avatar
Senior Member
Flag Toronto
Thanks Meter: 1
 
More
Quote:
Originally Posted by toomie05

Sick game good work! is their a way to make the gsensor more sensitive??

Yes, download if you don't have it already, called Diamond Config. v3.3. Here you can do a lot more than just tweaking Gsensor polling.

http://forum.xda-developers.com/showthread.php?t=418151
8th February 2009, 09:08 AM |#7  
zehlein's Avatar
OP Junior Member
Thanks Meter: 1
 
More
Hi,
good to hear that you like the game

Quote:
Originally Posted by bugsykoosh

pretty nice. I did notice my backlight was dimming and timing out - any way to override that?

I will look into this for next version of GravityBalls. It's not as easy as copy&paste from Klaxon's source because I don't use the .Net CF. GravityBalls was made using PPL (Pocket Programming Language).

Quote:
Originally Posted by band27

Yes, download if you don't have it already, called Diamond Config. v3.3. Here you can do a lot more than just tweaking Gsensor polling.

http://forum.xda-developers.com/showthread.php?t=418151

I'm afraid tweaking the GSensor polling won't help here. I poll for the data 10 times per second; if I try shorter intervalls the GSen-data freezes and becomes kind of static. I heard other programmers had the same problem, even though with the "native" .net SDK for the GSen the polling intervalls might go down to about every 32ms polling and still workin fine.
It somehow depends on the general CPU usage of your device in the moment of polling - and GravityBalls really graps every CPU-cycle it can
8th February 2009, 04:19 PM |#8  
Senior Member
Thanks Meter: 0
 
More
Quote:
Originally Posted by zehlein


I will look into this for next version of GravityBalls. It's not as easy as copy&paste from Klaxon's source because I don't use the .Net CF. GravityBalls was made using PPL (Pocket Programming Language).

zehlein,

It iwas just a thought for an easy fix...

Good luck!
8th February 2009, 06:46 PM |#9  
syrguy1969's Avatar
Senior Member
Thanks Meter: 7
 
Donate to Me
More
Looks good, I'm giving it a shot tonight!!! Thanks
8th February 2009, 06:49 PM |#10  
toomie05's Avatar
Senior Member
Flag California
Thanks Meter: 6
 
More
thanks worked perfect
8th February 2009, 06:54 PM |#11  
band27's Avatar
Senior Member
Flag Toronto
Thanks Meter: 1
 
More
Nice little game....good job! ....and yeh, wish the gsensor was more sensitive. Find that it can be a little tough to get the paddle from one end to another quick enough. Found out a little technique though, is to hold the device almost face up so that the balls don't come down full speed.

p.s. on a side note...the sound choice for this game makes me laugh!

Read More
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes