Download presentation
Presentation is loading. Please wait.
Published byEmil Sullivan Modified over 9 years ago
1
GameMaker Workshop Geoff Cameron Sarah Scialli
2
What this workshop will teach you GameMaker GameMaker No Programming Required No Programming Required Create a Maze RPG (courtesy of the GameMaker Tutorials) Create a Maze RPG (courtesy of the GameMaker Tutorials) If you’d rather not follow our design, improvise! If you’d rather not follow our design, improvise!
3
Here’s what it will look like:
4
Basics: How Game Maker Works Sprites Sprites Objects Objects Rooms Rooms Icons Icons
5
Step 1. Create the Room Add Room Add Room Snap 32 Snap 32 Change background color Change background color
6
Create Person Create sprite spr_person Create sprite spr_person Use person.gif Use person.gif Click “full image” (old version) Click “full image” (old version) Create object obj_person Create object obj_person Set object to have an image of spr_person Set object to have an image of spr_person Put object in room Put object in room Right click inserts in room, left click deletes object Right click inserts in room, left click deletes object
7
It will look like:
8
Make your Person Move Add event to obj_person: Add event to obj_person: Left: start moving in left direction, speed 4 (can try other speeds) Left: start moving in left direction, speed 4 (can try other speeds) Right Right Up Up Down Down No key – start moving in no direction No key – start moving in no direction
9
Make a Goal Create sprite spr_goal Create sprite spr_goal Goal.bmp Goal.bmp Set full image Set full image Create object obj_goal Create object obj_goal Put in room Put in room
10
Now it looks like:
11
Make the Goal Work Add event in obj_goal Add event in obj_goal Upon Collision with person Upon Collision with person Display message (in Main2) “You win! Display message (in Main2) “You win! End game (in Main2) End game (in Main2)
12
Create Walls Create sprite spr_wall Create sprite spr_wall Make not transparent Make not transparent Make full image Make full image Make object obj_wall Make object obj_wall Make it solid Make it solid Add event to obj_person Add event to obj_person If person collides with obj_wall, start moving in no direction If person collides with obj_wall, start moving in no direction Select no direction, speed 0 Select no direction, speed 0
13
Polish Go back to obj_person Go back to obj_person Add “Snap to” for each event so he doesn’t get caught on corners Add “Snap to” for each event so he doesn’t get caught on corners Change to 32 Change to 32
14
Create your Maze Put many walls in the room Put many walls in the room Put goal in “chamber” Put goal in “chamber”
15
Create Diamonds Create sprite spr_diamond Create sprite spr_diamond Use diamond.gif Use diamond.gif Full image Full image Create object obj_diamond Create object obj_diamond Create event in obj_diamond Create event in obj_diamond Upon Collision with obj_person Upon Collision with obj_person Set score to 5, relative (We’ll explain) Set score to 5, relative (We’ll explain) Destroy instance (main 1) (looks like a recycle bin) Destroy instance (main 1) (looks like a recycle bin)
16
Put Diamonds in room
17
Create a door Create sprite spr_door Create sprite spr_door Door.gif Door.gif Full image Full image Create object obj_door Create object obj_door Make solid Make solid Put in room Put in room Create collision event in obj_person with obj_door Create collision event in obj_person with obj_door Stop moving Stop moving
18
Put the door in the room
19
Make the door open Have door disappear when jewels are gone Have door disappear when jewels are gone Create step event in obj_door Create step event in obj_door (in control) looks like a dot with a 1,2,3 (in control) looks like a dot with a 1,2,3 obj_diamond obj_diamond 0 equal to equal to Destroy instance (recycle bin in main 1) Destroy instance (recycle bin in main 1)
20
Make a Monster Create sprite spr_monster Create sprite spr_monster Use monster1.gif Use monster1.gif Full image Full image Under obj_person, add collision with monster, Under obj_person, add collision with monster, display message “you died” (main2) display message “you died” (main2) restart game (main2) restart game (main2)
21
Add Monster to room
22
Make Monster Move In obj_monster add event “Create” In obj_monster add event “Create” Start moving in a direction- straight up Start moving in a direction- straight up He walks off map He walks off map Add event, collide with wall Add event, collide with wall reverse vertical direction (looks like a u-turn sign in move) reverse vertical direction (looks like a u-turn sign in move)
23
Add a Second Monster It will move horizontally It will move horizontally Create new object, obj_monster2 Create new object, obj_monster2 using same sprite using same sprite Add event in obj_person Add event in obj_person collision with second monster collision with second monster (use control to select multiple) to copy paste into monster_2 collide (use control to select multiple) to copy paste into monster_2 collide In obj_monster2 In obj_monster2 collision with walls collision with walls reverse direction reverse direction
24
Put Two Monsters in Room
25
It’s done! Now you have a working game! Now you have a working game! Can do File: Create Executable Can do File: Create Executable Now you can make it better! Now you can make it better! Other things we didn’t have time for: Other things we didn’t have time for: Sound Effects Sound Effects Music Music
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.