Download presentation
Presentation is loading. Please wait.
Published byVernon Casey Modified over 8 years ago
1
Game 4: Pac Man Tutorial
2
New events/actions to learn: Animated sprites Change instances – allows you to change objects into other objects. Change sprites – allows you to change the sprite image of an object to some other image. Alarms – allows you to set timing for actions to happen.
3
What are the rules of Pac Man? Once you know how the game works, it’s easier to think and know how to program it.
4
Images and Sounds You can use the ones I have provided in the Pacman_resources folder. Or you can use your own!
5
Animating Sprites
6
Object: Pacman – Collision -> Monster
7
Object: Pacman – Event: Collision -> Dot
8
Object: Pacman – Event: Collision -> Wall
9
Object: Pacman – Event: Keyboard -> No key
11
Object: Pacman – Event: Keyboard -> Left key
13
Object: Pacman – Event: Outside Room
14
Object: Monster – Event: Create
15
Object: Monster– Event: Collision-> Wall
17
Object: Monster– Event: Outside Room
18
Object: Dot– Event: No Events!
19
Object: Wall – Event: No Events!
20
Object: Special– Event: Collision -> Pacman
24
Object: Setup– Event: Create
25
Object: Setup– Event: Step
26
Object: Monsterscared– Event: Create
27
Object: Monsterscared– Event: Alarm 0
28
Object: Monsterscared– Event: Alarm 1
29
Object: Monsterscared– Event: Collision -> Pacman
30
Object: Monsterscared– Event: Collision -> Wall
31
Object: Monsterscared– Event: Outside Room
32
Object: Startup – Event: Create
33
Object: Startup– Event: Key press-> Space
34
Object: End– Event: Keyboard-> Any Key
35
Room Layout
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.