The Daily Click ::. Forums ::. Klik Coding Help ::. Dashing
 

Post Reply  Post Oekaki 
 

Posted By Message

Marvel Hero



Registered
  15/08/2003
Points
  412
30th December, 2003 at 18:23:39 -

how can i make a player run faster when a button is quickly tapped twice.

 
n/a

Teapot

Does he even go here

Registered
  02/10/2003
Points
  2631

VIP Member
30th December, 2003 at 19:54:05 -

here's one way:
u need counter
upon pressing button, if counter is 0: set counter to 2
upon pressing button, if counter is >0: set key x on
every 0.0.50 if counter >0: subtract 1 from counter
if key x is on: do whatever event u use to make him faster

 
n/a

cosmos



Registered
  18/03/2003
Points
  9
30th December, 2003 at 20:04:13 -

You need to make a custom movement. Create a counter for the dash it should have a maximum of 3 and minimum of -3. It is a bit complicated to explain. i made one exmaple already which im turning it into a beatem up engine. It would be much easier over messenger. If you still want me to explain just say so, or give me your messenger name through private message

Image Edited by the Author.

 
always try your best

Knudde (Shab)

Administrator
Crazy?

Registered
  31/01/2003
Points
  5125

Has Donated, Thank You!Clickzine StaffKlikCast StarVIP MemberGhostbuster!Dos Rules!I donated an open source project
2nd January, 2004 at 09:46:05 -

you don't need to use a custom movement.

 
Craps, I'm an old man!
   

Post Reply



 



Advertisement

Worth A Click