game maker walkthrough
DESCRIPTION
educationTRANSCRIPT
![Page 1: Game maker walkthrough](https://reader034.vdocuments.us/reader034/viewer/2022052304/558cfa7bd8b42a186f8b4722/html5/thumbnails/1.jpg)
GAME MAKER WALKTHROUGH
![Page 2: Game maker walkthrough](https://reader034.vdocuments.us/reader034/viewer/2022052304/558cfa7bd8b42a186f8b4722/html5/thumbnails/2.jpg)
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](https://reader034.vdocuments.us/reader034/viewer/2022052304/558cfa7bd8b42a186f8b4722/html5/thumbnails/3.jpg)
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](https://reader034.vdocuments.us/reader034/viewer/2022052304/558cfa7bd8b42a186f8b4722/html5/thumbnails/4.jpg)
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](https://reader034.vdocuments.us/reader034/viewer/2022052304/558cfa7bd8b42a186f8b4722/html5/thumbnails/5.jpg)
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](https://reader034.vdocuments.us/reader034/viewer/2022052304/558cfa7bd8b42a186f8b4722/html5/thumbnails/6.jpg)
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](https://reader034.vdocuments.us/reader034/viewer/2022052304/558cfa7bd8b42a186f8b4722/html5/thumbnails/7.jpg)
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](https://reader034.vdocuments.us/reader034/viewer/2022052304/558cfa7bd8b42a186f8b4722/html5/thumbnails/8.jpg)
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](https://reader034.vdocuments.us/reader034/viewer/2022052304/558cfa7bd8b42a186f8b4722/html5/thumbnails/9.jpg)
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](https://reader034.vdocuments.us/reader034/viewer/2022052304/558cfa7bd8b42a186f8b4722/html5/thumbnails/10.jpg)
ADDING CODE TO THE SYSTEM
[
![Page 11: Game maker walkthrough](https://reader034.vdocuments.us/reader034/viewer/2022052304/558cfa7bd8b42a186f8b4722/html5/thumbnails/11.jpg)
ADDING THE FINAL BACKGROUND,PLAYER 1 AND
SYSTEM TO A ROOM
![Page 12: Game maker walkthrough](https://reader034.vdocuments.us/reader034/viewer/2022052304/558cfa7bd8b42a186f8b4722/html5/thumbnails/12.jpg)
TESTING OUT GAME PROTOTYPE
[
![Page 13: Game maker walkthrough](https://reader034.vdocuments.us/reader034/viewer/2022052304/558cfa7bd8b42a186f8b4722/html5/thumbnails/13.jpg)
CREATING PARTICLE SYSTEM CODE
![Page 14: Game maker walkthrough](https://reader034.vdocuments.us/reader034/viewer/2022052304/558cfa7bd8b42a186f8b4722/html5/thumbnails/14.jpg)
CREATING EXPLOSION SPRITE
![Page 15: Game maker walkthrough](https://reader034.vdocuments.us/reader034/viewer/2022052304/558cfa7bd8b42a186f8b4722/html5/thumbnails/15.jpg)
ADDING “DRAW” CODE TO THE SYSTEM
![Page 16: Game maker walkthrough](https://reader034.vdocuments.us/reader034/viewer/2022052304/558cfa7bd8b42a186f8b4722/html5/thumbnails/16.jpg)
TESTING OUT THE LIFE BAR AND EXPLOSION EFFECT
![Page 17: Game maker walkthrough](https://reader034.vdocuments.us/reader034/viewer/2022052304/558cfa7bd8b42a186f8b4722/html5/thumbnails/17.jpg)
TESTING OUT THE SCORE SYSTEM
![Page 18: Game maker walkthrough](https://reader034.vdocuments.us/reader034/viewer/2022052304/558cfa7bd8b42a186f8b4722/html5/thumbnails/18.jpg)
ADDING MUSIC CODE
![Page 19: Game maker walkthrough](https://reader034.vdocuments.us/reader034/viewer/2022052304/558cfa7bd8b42a186f8b4722/html5/thumbnails/19.jpg)
TESTING OUT FINAL VERSION