240 likes | 255 Views
Game Maker Demonstration. Carlotta Eaton Professor of Information Technology New River Community College IT Peer Conference - October 2006. Demo. Evil Clutches game Game Maker Interface Sprites Objects Events & Actions Instances & Rooms Background Graphics Sound Effects.
E N D
Game Maker Demonstration Carlotta EatonProfessor of Information TechnologyNew River Community College IT Peer Conference - October 2006 New River Community College
Demo • Evil Clutches game • Game Maker Interface • Sprites • Objects • Events & Actions • Instances & Rooms • Background Graphics • Sound Effects New River Community College
Evil Clutches Game • You play a mother dragon who must rescue her hatchlings from an unpleasant band of demons that have kidnapped them. • The band's boss sends a stream of demons to destroy the dragon as the hatchlings make their escape. • The mother can fend off the boss's minions by shooting fireballs, but must be careful not to accidentally shoot the hatchlings! New River Community College
Game Maker Interface New River Community College
Sprites • A sprite is a two-dimensional image or animation that is integrated into a larger scene. • Sprites needed for game objects • Dragon • Boss • Demons • Fireball • Baby Hatchlings New River Community College
Sprites for Evil Clutches Game New River Community College
Objects • An object is an individual unit of run-time data storage that is used as the basic building block of Object Oriented Programming • An object is the part of the game that controls how the elements move around and react to each other New River Community College
Events & Actions • Events & actions specify the behavior of objects. • Events are important things that happen such as when objects collide or when a player presses a key. • Actions are things that happen in response to an event, such as changing the score, changing direction, or playing a sound. New River Community College
Create Object #1 - Boss The boss object randomly moves up and down the screen. When the boss hits the edge of the screen it moves in the opposite direction. New River Community College
Create Object #2 - Dragon Use the up and down keys to move the dragon vertically on the screen. New River Community College
Rooms - Objects and Instances • We have created objects • Now we need to create instances of the objects to utilize them • Create a room and place instances • Create another room for each level in a game New River Community College
Rooms & Instances Create an instance of the dragon object Create an instance of the boss object New River Community College
Test Evil Clutches Version 1 Game Maker GameEvil Clutches #1.exe • Move the dragon using the up & down keys. • The boss changes direction when it hits a room boundary. New River Community College
Add Object #3 Fireball Dragon object creates an instance when player presses spacebar Fireball instance destroyed when it moves off screen New River Community College
Add Object #4 Demon Instances randomly created by the boss Demons fly from right to left Reverse direction when hit room boundary Restart game if hits the dragon New River Community College
Add Object #5 Baby Hatchling Rescue a baby and earn 500 points Shoot a baby and lose 300 points New River Community College
Test the Evil Clutches Version 2 Game Maker GameEvil Clutches #2.exe • Move the dragon using the up & down keys. • Earn 500 points if you rescue a baby hatchling. • Lose 300 points if you shoot a baby hatchling. • Game ends if you hit a demon. New River Community College
Add Background Graphic New River Community College
Add Sound Effects New River Community College
Add Game Information Screen New River Community College
Add Credits New River Community College
Test the Evil Clutches Version 3 Game Maker GameEvil Clutches #3.exe • Background cave image displays. • Background music plays. • Sound effect when you shoot a demon. • Crying sound effect when you accidentally shoot a baby. • Hit F1 to view the credits screen. New River Community College
Student Project – Slider Game Educational Slider Game by Lauren and Dusty.exe • First original project by 2 person team • Created 3rd week of class after a single Game Maker lesson. • Create a slider game with an educational purpose. • Could use any artwork since creating for learning (not to sell or distribute). New River Community College
Game Maker • Easy to use • Students visually understand • Objects • Events • Actions • Instantiate objects • Destroy instances • Design, code, test cycle New River Community College