Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,814,032 Members 44,170 Now Online
XDA Developers Android and Mobile Development Forum

accelerometer game BOING...

Tip us?
 
necrotek
Old
(Last edited by necrotek; 14th February 2010 at 03:12 PM.) Reason: New version
#1  
Junior Member - OP
Thanks Meter 0
Posts: 16
Join Date: Feb 2009
Location: NYC
Default accelerometer game BOING...

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.

 
Ryrzy
Old
#2  
Ryrzy's Avatar
Senior Member
Thanks Meter 1,180
Posts: 714
Join Date: Nov 2008

 
DONATE TO ME
any screens pleas ?
 
ALDAGACA
Old
#3  
Junior Member
Thanks Meter 0
Posts: 13
Join Date: Feb 2009
Hi, could you put some screenshots? Thanks
 
bugsykoosh
Old
#4  
bugsykoosh's Avatar
Senior Member
Thanks Meter 4
Posts: 727
Join Date: 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...
DavidK
of
 
necrotek
Old
#5  
Junior Member - OP
Thanks Meter 0
Posts: 16
Join Date: Feb 2009
Location: NYC
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.
 
twolf
Old
#6  
twolf's Avatar
Senior Member
Thanks Meter 8
Posts: 2,669
Join Date: Mar 2006
Location: LX
Tested it to see how it behaved with cursor keys, but since I dont have accelarometer, it crashed...
I am no longer developing for the Windows Mobile, sorry...
-----------------------------------
My apps & skins | My website: http://TWolf.sytes.net
 
necrotek
Old
#7  
Junior Member - OP
Thanks Meter 0
Posts: 16
Join Date: Feb 2009
Location: NYC
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.
 
twolf
Old
#8  
twolf's Avatar
Senior Member
Thanks Meter 8
Posts: 2,669
Join Date: Mar 2006
Location: LX
nop.... It shows "unable to load sensor dll", splashscreen appears, crash.


I have a Qvga (240x320) screen.
I am no longer developing for the Windows Mobile, sorry...
-----------------------------------
My apps & skins | My website: http://TWolf.sytes.net
 
Fitz
Old
#9  
Fitz's Avatar
Member
Thanks Meter 0
Posts: 62
Join Date: Sep 2007
Doesn't work on my Touch HD (480x800) I see for one second the title, and then it closes..
 
necrotek
Old
#10  
Junior Member - OP
Thanks Meter 0
Posts: 16
Join Date: Feb 2009
Location: NYC
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.

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

Advanced Search
Display Modes


Add Some Power to First Generation Snapdragon CPUs

Some older devices still remain very popular. Phones like theHTC Desire, Sony Ericsson … more

Android M Mentions Spotted in Android Code Review

While we are still waiting for Android L to be officially released, the first mentions of … more

Create a Simple Custom Launcher from Scratch

When you are starting your journey intoany sort of development, it’s never easy at the … more