Game Maker

  • Uploaded by: Karen Webster
  • 0
  • 0
  • June 2020
  • PDF

This document was uploaded by user and they confirmed that they have the permission to share it. If you are author or own the copyright of this book, please report to us by using this DMCA report form. Report DMCA


Overview

Download & View Game Maker as PDF for free.

More details

  • Words: 674
  • Pages: 13
A Game with more Substance

Game Maker 7

Karen Webster - Alexandra Secondary College

Page 1

A Game with more Substance Add a Character Add a sprite Load sprite Choose sprite

Name sprite

Karen Webster - Alexandra Secondary College

Page 2

A Game with more Substance Create an Object Add object

Choose sprite

Name object

Karen Webster - Alexandra Secondary College

Page 3

A Game with more Substance Create a Room Add room Add object to room

Add walls to the room Add sprite – choose a picture that has the appearance of a square block Walls need to be solid Add object – use the sprite you just created Double Click room Choose objWall as Object to add Add the object to the room

Run the game

or press F5

Press Esc to exit game

Karen Webster - Alexandra Secondary College

Page 4

A Game with more Substance Make Object Move Double click on object to bring up the dialogue box Click Add Event Choose Key Press And then choose

Drag the right arrow into the Actions pane Add a hor. Speed of 8

Repeat for movement to the using -8 Repeat for -8 and down 8 Run the game

or press F5

Press Esc to exit game

Karen Webster - Alexandra Secondary College

Page 5

A Game with more Substance Make the Object bounce off the walls Double click on object to bring up dialogue box Click add event Choose Collision Choose objWall

Check settings: Precise can remain as not precisely If you ticked solid when creating objWall, leave as solid objects. If not change to all objects

Run the game

or press F5

Press Esc to exit game

Karen Webster - Alexandra Secondary College

Page 6

A Game with more Substance Create an Explosion Add a sprite that looks like fire Create an object for the sprite you just created Click Add Event Choose Other Choose Animation end

Choose main1 Drag bin to actions pane Choose Self Click OK

Karen Webster - Alexandra Secondary College

Page 7

A Game with more Substance Double click on objWall Add Event Choose Collision Choose Character object Choose main1

Drag

Change Instance to Action pane

Choose objExplosion Make sure perform events is yes

Run the game

or press F5

Press Esc to exit game

Karen Webster - Alexandra Secondary College

Page 8

A Game with more Substance Add Sound to the Explosion Create a Sound Click Load Sound Choose a sound Name sound

Double click on object with Collision Event Drag Sound into Action pane Choose sound

Karen Webster - Alexandra Secondary College

Page 9

A Game with more Substance Something to Shoot at Add something to shoot at Add a sprite Load sprite Choose sprite Name sprite Add an object Choose the sprite you just created Name object Add Event Choose Other Choose Room Start Drag the Move Fixed icon into the Action pane Select all directions Speed = 8

Karen Webster - Alexandra Secondary College

Page 10

A Game with more Substance Choose Add Event Choose Collision Choose objWall Leave as precise: not precisely Against: solid objects

Add object to the room

Karen Webster - Alexandra Secondary College

Page 11

A Game with more Substance Something to Shoot with Add a sprite Load Sprite Choose sprite (try the dot) Add object Choose sprite Name object Add Event Keyboard <Space> Drag Horizontal Speed into Actions pane Hor. Speed = 15 Destroy Bear

Add Event Collision Choose objBullet Select main1 Drag Destroy Instance into Actions pane

Karen Webster - Alexandra Secondary College

Page 12

A Game with more Substance Double click on the object that will be shooting Add Event Choose Keyboard Choose <Space> Select main1 Drag Create Instance into Actions pane Object: objBullet X: 0 Y: 0 Tick Relative box

You can add sound to the bullet by: Add a sound Choose sound Name sound On Shooting object Choose Event <Space> Select main1 Drag Sound to Actions pane Sound = sound just created

Karen Webster - Alexandra Secondary College

Page 13

Related Documents

Game Maker
June 2020 5
Game
June 2020 43
Game
October 2019 68
Game
November 2019 94
Diamond Maker
June 2020 4
Game
October 2019 43

More Documents from ""