Top Banner
GAME MAKER WALKTHROUGH
19
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Game maker walkthrough

GAME MAKER WALKTHROUGH

Page 2: Game maker walkthrough

CREATING PLAYER SPRITE

Here it shows me creating a player sprite so it can be used for attaching coding to at a later date, and here I have tried to give the effect of the blue flames bursting through the engine to indicate the spaceship is moving forward, aswell as putting various turrets where the laser will fire from when I'm in a later version of development, I have also have made the main colours of the spaceship to be blue so rather easy spot which player is you and which is the enemy.

Page 3: Game maker walkthrough

MODIFYING MASK FOR PLAYER SPRITE

Here you can see where is modify the mask of the player sprite. I do this so that when the player is hit by an enemy laser it will show the area where the impact can occur on the sprite, and I also make the shape of the mask into a diamond so that the impact area is fair and that there is no major performance issues when playing or testing the game.

Page 4: Game maker walkthrough

CODING PLAYER 1

Here I start to input code onto the player object and call this bit of code “movement” where it will hold all the different keys which the controls will be mapped to allow the player sprite/object to move across the screen, it will also hold controls for firing the laser that will be produced by the player

Page 5: Game maker walkthrough

ADDING MOVEMENT CODE TO PLAYER 1

In this part of the player code I start to input the movement code where it tells the player object which keys control the movement and how fast it travels when moving left,right,up and down.

Page 6: Game maker walkthrough

PLAYER 1 CODING: STEP

After creating the script on where the code will be placed I then start to input the actual code with the controls of movement and firing the player laser and keys that controls will be mapped to are (W,A,S,D) for the movement and (ENTER) for the firing key.

Page 7: Game maker walkthrough

CREATING BACKGROUND

I then start to create a background for the game which will give it abit more of a theme and will be more satisfying to the eye in some sense, so I wanted to make space background so I would later design various planets, asteroids and stars.

Page 8: Game maker walkthrough

EXPERIMENTING WITH DIFFERENT BACKGROUNDS

Here I test out various backgrounds and see whether or not it they are to a good enough standard but on this particular background I discover that when the player moves out of the room and then enters back into it there is a very noticeable gap on where I couldn’t add detail to.

Page 9: Game maker walkthrough

CREATING JET OBJECT CODE

After creating a suitable background I move back to the player object where I start to add a jet effect that will trail behind the player to give the indication that the player is moving forward by engine on the spaceship.

Page 10: Game maker walkthrough

ADDING CODE TO THE SYSTEM

[

Page 11: Game maker walkthrough

ADDING THE FINAL BACKGROUND,PLAYER 1 AND

SYSTEM TO A ROOM

Page 12: Game maker walkthrough

TESTING OUT GAME PROTOTYPE

[

Page 13: Game maker walkthrough

CREATING PARTICLE SYSTEM CODE

Page 14: Game maker walkthrough

CREATING EXPLOSION SPRITE

Page 15: Game maker walkthrough

ADDING “DRAW” CODE TO THE SYSTEM

Page 16: Game maker walkthrough

TESTING OUT THE LIFE BAR AND EXPLOSION EFFECT

Page 17: Game maker walkthrough

TESTING OUT THE SCORE SYSTEM

Page 18: Game maker walkthrough

ADDING MUSIC CODE

Page 19: Game maker walkthrough

TESTING OUT FINAL VERSION