Scripting help

Started by DJMCV, Sat 05/07/2003 13:19:17

Previous topic - Next topic

DJMCV

How can i make an animation of caracter skatebording to a point and then jumping a gap

Minimi

You can make animation sequences.

Meowster

Animate as a sprite and then use change character view and move character commands? Just a suggestion...

MillsJROSS

Make a few spirtes of your character skateboarding, and then import it into your engine, making sure that he is skateboarding in the direction that he will be moving in the game, unless you want the player to control him (in that case make sprites of the character skating in four different directions, up/down/left/right or 8 direction upright/upleft/downright/downleft, and import them, put them into the  view in the correct order (it'll tell you which loop is down or right)). Make a new view and put all your animations in the first loop. Make the sprites for the character jumping over the gap, iport them, and put them into another view. Then we'll just change the character view, as one of your options.

ChangeCharacterView(CHARID, int newview);

then if you want the player to just watch the skateboarder, move the character

MoveCharacterBlocking(CHARID,int x, int y, int direction);

Followed by (because this is where you want the character to jump)

ChangeCharacterView(CHARID, int newview);

change it to the view of the charcacter jumping, and move the character with the same Move Character Blocking Script above, and then change the view to either hims kating again, or him nakc to normal.

There are many alternatives to this...but see if this one works first.

-MillsJROSS


SMF spam blocked by CleanTalk