by krenisis » Sun Nov 29, 2009 12:47 am
ok if you want save the art that i supply here as photos to your computer you can use them or make your own art.Lets start programming.
1) go to new game
2)now add actor pac-man
3)add all 4 animations to pac-man
4)now we are going to make pac-man move ...go to events ...click on key down....press the key you want to use to move pac-man..now go down to add action ..select script editor..do this as you input each of pac-mans movements..
MAKE PACMAN MOVE LEFT x=x-8;ChangeAnimation("Event Actor", "pac left", FORWARD);
MAKE PACMAN MOVE RIGHT x=x-8;ChangeAnimation("Event Actor" , "pac right",FORWARD);
MAKE PACMAN MOVE UP y=y-8;ChangeAnimation("Event Actor", "pac up", FORWARD);
MAKE PACMAN MOVE DOWN y=y+8;ChangeAnimation("Event Actor", "pac down", FORWARD);
- Attachments
-
- blue wall long.png (567 Bytes) Viewed 47693 times
-
- blue wall sidesways.png (516 Bytes) Viewed 47693 times