Source language: Translate to:

Padded Movement

Share sample pubs, scripts, etc. with other NeoBook users

Moderator: Neosoft Support

Padded Movement

Postby Jim Brammer » Thu Feb 07, 2002 6:55 pm

A simple little demo of a way to move an object with the keyboard (or button click). The characters 10 pixel movement is "padded", in that it starts-off moving quickly but gradually becomes slower until it stops. Similar to the kind of movement you find in top-view 2D flying games. Lots of room for modification!

Padded Movement
Jim Brammer

Return to Sample NeoBook Pubs

Who is online

Users browsing this forum: No registered users and 1 guest