Too fast on some androids?

Put your problem here if it does not fit any of the other categories.

Too fast on some androids?

Postby MNoonan » Fri Aug 26, 2011 5:27 am

Hey folks,

I just released my first app, Avoid The Spikes!, on the market today. I tested this on an HTC Dream running Cyanogenmod 5. All seemed fine until I told some acquaintances of mine to download it, and they complained that it was too fast. As usual, this program is too slow on the emulator. It runs just fine on my HTC Dream. Is there any way to tell how fast this app would run on other androids? How about settings that could adjust this for different androids? It's really frustrating to me, since I was hoping to impress people with this initial release.

Link is here: https://market.android.com/details?id=org.example.spikes

Thanks,
Mike
MNoonan
Freshman
Freshman
 
Posts: 3
Joined: Fri Aug 26, 2011 5:17 am

Top

Re: Too fast on some androids?

Postby Whitt83 » Fri Aug 26, 2011 8:59 pm

How are you pacing the speed of your game? It's not just 'as fast as the device can run' is it? This is a bug when I go to play many old DOS games on a new machine -- the game just runs way too fast (i386 vs Quad Core i5, lol)

Typically, a timer or timed delay is how a real-time game should be run.
Whitt83
Junior Developer
Junior Developer
 
Posts: 11
Joined: Sun Apr 24, 2011 8:26 pm

Re: Too fast on some androids?

Postby MNoonan » Sat Aug 27, 2011 12:01 am

I see. How would one go about doing that in android? wait(1);?
MNoonan
Freshman
Freshman
 
Posts: 3
Joined: Fri Aug 26, 2011 5:17 am

Re: Too fast on some androids?

Postby Aseriesofsmallprojects » Wed Sep 07, 2011 12:33 am

I don't know the best strategy for your timing, but to sleep use:
SystemClock.sleep(1);
www.ProjectJourneyman.com - Android development and app marketing
twitter.com/PrjJourneyman Twitter feed
Android Developer Tutorial A growing tutorial for Android Devs
The Android Income Series Books on income topics for Android developers
Aseriesofsmallprojects
Developer
Developer
 
Posts: 39
Joined: Fri Oct 08, 2010 4:29 pm
Location: USA

Top

Return to Other Coding-Problems

Who is online

Users browsing this forum: No registered users and 15 guests