T-Mobile HTC One M8 Gets Selfie-Friendly Android 4.4.4 OTA

The T-Mobie variant of HTC One (M8) just now received an over-the-air update … more

Android L is for Lockdown

Root is, without a doubt, the (un)holy grail of the Android world. Those wonderful permissions that allow you as … more

XDA Xposed Tuesday: XHangouts Will Improve Your Hangouts

Ever since Google started supporting text messaging in Hangouts many people have … more

Shattered Screen? Turn Your Broken Device into a Complete Media Center!

A cracked screen usually means you’ll have to spend a hefty … more
Post Reply

accelerometer game BOING...

OP necrotek

13th April 2009, 02:32 PM   |  #1  
OP Junior Member
NYC
Thanks Meter: 0
 
16 posts
Join Date:Joined: Feb 2009
A New version of Boing is available on my website. This requires a device that has opengl es support.

Touch the screen or use arrow keys to start or pause the game.
Tilt the device side to side to move the ball.
Enter button exits the game.
When paused, touching the lower portion of the screen where it says resume will resume
and touching the upper area where it says exit will exit the game.
-------------
BOING... is a game built for use on a HTC windows mobile phone with a tilt sensor / accelerometer / g-sensor. Move the device to move the ball and bounce from platform to platform.

-older version instructions-

The phone I used to test development has a resolution of 240 x 320.
I have tried to add support for larger resolutions but am unable to test.
I have also tried to make it usable by phones without an accelerometer with the arrow keys.


Please visit my website http://flyingmonkeypuke.com/boing

It is playable but I am still having some trouble with consistent platform generation and collision detection.

Last edited by necrotek; 14th February 2010 at 03:12 PM. Reason: New version
13th April 2009, 02:41 PM   |  #2  
Ryrzy's Avatar
Senior Member
Thanks Meter: 1,181
 
714 posts
Join Date:Joined: Nov 2008
Donate to Me
More
any screens pleas ?
13th April 2009, 03:05 PM   |  #3  
Junior Member
Thanks Meter: 0
 
13 posts
Join Date:Joined: Feb 2009
Hi, could you put some screenshots? Thanks
13th April 2009, 03:09 PM   |  #4  
bugsykoosh's Avatar
Senior Member
Thanks Meter: 4
 
727 posts
Join Date:Joined: Jun 2007
It's neat. Tested on a Fuze/Touch Pro and it works well. There's some slight flickering going on. Are you going to build in levels or something similar?
For anyone asking - there are 'trampolines' that a ball bounces off of and goes higher and you need to move the device left/right to move the ball around while it's in air and the platforms are spaced out randomly. I like the concept. MyMobiler won't pick it up on a screenshot...
13th April 2009, 07:33 PM   |  #5  
OP Junior Member
NYC
Thanks Meter: 0
 
16 posts
Join Date:Joined: Feb 2009
Thanks for trying it out. I was curious how it plays on a vga resolution. The way I tried to support larger resolutions was to just add more platforms when a larger screen size was detected which probably adds more of a problem with the randomly generated platforms. Unless the ddraw is scaling to fit the vga screen which might be the cause of the flickering? It runs smooth and with no flicker on my device.

I am working on an opengl project at the moment. I will revisit this project and make some adjustments when I can.

I couldn't get MyMobiler to work to get a screen shot either so I just mocked one up.
13th April 2009, 07:59 PM   |  #6  
twolf's Avatar
Senior Member
Flag LX
Thanks Meter: 8
 
2,669 posts
Join Date:Joined: Mar 2006
Tested it to see how it behaved with cursor keys, but since I dont have accelarometer, it crashed...
15th April 2009, 01:21 AM   |  #7  
OP Junior Member
NYC
Thanks Meter: 0
 
16 posts
Join Date:Joined: Feb 2009
hey twolf, I dusted off my mpx200 and made some adjustments. I got it to work but I don't recommend running this on on a device with 176x220 resolution. still no flickering on this phone either.

new zip uploaded to my website.
15th April 2009, 07:58 AM   |  #8  
twolf's Avatar
Senior Member
Flag LX
Thanks Meter: 8
 
2,669 posts
Join Date:Joined: Mar 2006
nop.... It shows "unable to load sensor dll", splashscreen appears, crash.


I have a Qvga (240x320) screen.
15th April 2009, 09:46 AM   |  #9  
Fitz's Avatar
Member
Thanks Meter: 0
 
62 posts
Join Date:Joined: Sep 2007
More
Doesn't work on my Touch HD (480x800) I see for one second the title, and then it closes..
21st April 2009, 03:49 AM   |  #10  
OP Junior Member
NYC
Thanks Meter: 0
 
16 posts
Join Date:Joined: Feb 2009
Has anyone had a positive experience with this program? I would appreciate any feedback.

If anyone is interested I posted an opengl cube that responds to tilting the device.

Post Reply Subscribe to Thread

Tags
accelerometer, g-sensor, game, tilt sensor
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes