The Daily Click ::. Forums ::. Klik Coding Help ::. How do I change the speed of my game?
 

Post Reply  Post Oekaki 
 

Posted By Message

Sergiocarp



Registered
  24/05/2009
Points
  294
29th July, 2013 at 29/07/2013 21:17:53 -

Hi guys!

I'm making a tower defense game and I want to allow the user to change the speed of the game (as in most games of this style).

I've tried with the "timer-based movement", but doesn't work with custom movements. I've also tried increasing the "frame rate", works fine, but I think is not the best way (for obvious reasons).

So I ask, how I can increase or decrease the overall speed of my game? or what is the best way to do this?

http://oi40.tinypic.com/4vl6rb.jpg


Thanks!

 
__________________________________

www.mmfzone.com (para miembros que hablen espaņol)*(for spanish members)

monkeytherat

Hero of Time Jr

Registered
  07/11/2010
Points
  1293

VIP MemberI donated an open source project
29th July, 2013 at 29/07/2013 22:58:19 -

Store all of your objects speeds (movement, animation, etc) as AVs, then you can change it manually with an event.

 
If you put a million monkeys at a million keyboards, one of them will eventually write a Java program.
The rest of them will write Perl programs.
   

Post Reply



 



Advertisement

Worth A Click