Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 Turn without moving.
#2
I think it's safe to say you can probably ditch the triggers and repeats. I managed to pull a "tap to turn, press to move" movement by doing something like this (for facing down):

Code:
if @direction != 2
  turn_down
  @wait_count = 3
elsif @wait_count == 0
  move_down
end

For the @wait_count, you might want to choose a number between 2 to 4. 2 would require some really light tapping to make a turn, whereas 4 is pretty loose but at the risk of there being a noticeable delay between the player turning a particular direction, and the player moving in that direction.
Reply }


Messages In This Thread
Turn without moving. - by Taylor - 05-29-2012, 11:12 AM
RE: Turn without moving. - by PK8 - 05-29-2012, 11:55 AM
RE: Turn without moving. - by Taylor - 05-30-2012, 01:00 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
   A way to get players to stop moving PK8 0 3,540 08-04-2011, 01:17 PM
Last Post: PK8



Users browsing this thread: