Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers DBPro Corner / Help for my game please :)

Author
Message
RhysClarke
12
Years of Service
User Offline
Joined: 21st Jun 2012
Location:
Posted: 21st Jun 2012 13:40



I'm trying to make a game where the user has to click the square in 5 seconds and then it will move places. But i am stuck as i do not know how to make a clickable image so it can give 10 points or how to move the image around using rnd?
nonZero
13
Years of Service
User Offline
Joined: 10th Jul 2011
Location: Dark Empire HQ, Otherworld, Silent Hill
Posted: 22nd Jun 2012 21:51 Edited at: 22nd Jun 2012 21:56
Not sure exactly what you mean but:

To move entities randomly:


To time events:


Clickable image


That's a basic explanation. I named the variables to explain what they are. Anyways, that'll give you an idea where to start from. Feel free to post if you need a more detailed example, eg something that'll compile and run.

Login to post a reply

Server time is: 2024-11-23 20:53:46
Your offset time is: 2024-11-23 20:53:46