The Dink Network

Reply to Re: Slow Ride

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:
 
 
March 16th 2010, 01:21 PM
spike.gif
Sure, but it could get moderately complicated... You could give the grass a missile brain, and check if the pillbug is walking over it in void damamge(), and slow him down for 250 milliseconds or something. The damage() procedure would run over and over again so he would stay slowed down as long as he's on the grass (maybe- it might be jumpy). Actually speeding the pillbug up only when he leaves the patch of grass should be more difficult (or ugly with loops and such ).