How to move object randomly every second?

Put problem concerning Views, Layouts and other XML-Resources (like AndroidManifest) here.

How to move object randomly every second?

Postby hdelossantos » Sun Nov 15, 2009 3:17 am

Hi,

I'm working on a Whack-a-Mole style game where I would like to have an image drawn on a random spot on the screen periodically. I've been able to get the randomization working every second, however when the image is drawn on the screen it seems to draw too many frames. This causes it to flicker and sometimes appear as multiple images on different spots on the screen. Any help on would be greatly appreciated.
hdelossantos
Once Poster
Once Poster
 
Posts: 1
Joined: Sat Nov 14, 2009 9:50 pm

Top

Postby qlimax » Mon Nov 16, 2009 1:24 pm

how do you "draw" the image? can you give us more details? or better a piece of code :lol: ...
bye :arrow:
¯`·.¸¸.><((((º>¯`·.¸¸. ><((((º>
User avatar
qlimax
Master Developer
Master Developer
 
Posts: 271
Joined: Mon Aug 31, 2009 10:54 am
Location: Swiss

Top

Return to View, Layout & Resource Problems

Who is online

Users browsing this forum: Majestic-12 [Bot] and 9 guests