gliding is a very simple feature that can be added to a person's sprite, as not many functions are needed. For this example/practice i have used a ghost, that will glide across the screen. The script will look something like this:the following set of images show what happens to the sprite upon adding gliding features to it. As you can see from the snap shots below, the ghost begins to move around the screen in various directions.
No comments:
Post a Comment