The Dink Network

Reply to Pushing

If you don't have an account, just leave the password field blank.
Username:
Password:
Subject:
Antispam: Enter Dink Smallwood's last name (surname) below.
Formatting: :) :( ;( :P ;) :D >( : :s :O evil cat blood
Bold font Italic font hyperlink Code tags
Message:
 
 
November 17th 2013, 10:58 AM
peasantm.gif
shevek
Peasant They/Them Netherlands
Never be afraid to ask, but don't demand an answer 
I have a puzzle where a lot of pushing is required. I would like it if the player could hold down an arrow key and push a rock a longer distance. The puzzle requires it to be pushed in steps however, so it shouldn't be as complex as it might sound.

What currently happens when I hold the arrow key, is that Dink starts pushing and the rock moves. This is good. However, Dink continues pushing after the rock has arrived at its position. I want Dink to start walking again, so he will continue pushing when he reaches the rock again. What would be the cleanest way to do this?