Our 1st time in game maker and we were making a basic game everyone was doing basic boring levels and boring square characters. So i had the idea of being a rescue boat and there were a load of pirates attacking a cruise boat.
The objective is to collect all the people that fell out of the ship and avoid gunshots from the pirates.
![](https://static.wixstatic.com/media/1f76fb_8edc2c02362646f8b2423a05b0d5e2c0~mv2.png/v1/fill/w_980,h_727,al_c,q_90,usm_0.66_1.00_0.01,enc_auto/1f76fb_8edc2c02362646f8b2423a05b0d5e2c0~mv2.png)
1st i started making the level by mapping out 2 separate paths so the player can decide their route (both routes can complete the game) after that i started to think about map rotations and if the player can hit all the checkpoints and get to the finish line. The first time i checked i ran into 1 problem which was a wall blocking the player from getting a checkpoint but once i fixed that it worked fine.
![](https://static.wixstatic.com/media/1f76fb_c77c118accad4cefb9aef14d17c7d8ba~mv2.png/v1/fill/w_433,h_51,al_c,q_85,enc_auto/1f76fb_c77c118accad4cefb9aef14d17c7d8ba~mv2.png)
After that i made the player (started as a red square) and placed all the code onto him (key press = w move 90. speed 5.) After i learnt how to add the movement i moved onto the checkpoints and working out what code to put on them. The only code i put on them was a collision effect with the player and how it would delete itself once the player collected it. After that i created a wall sprite so the player cant leave the screen. To do that i added a collision event with the player. once i did that i placed them around the map.
![](https://static.wixstatic.com/media/1f76fb_346f26ab395542ffa07ecb786b301135~mv2.png/v1/fill/w_787,h_369,al_c,q_85,enc_auto/1f76fb_346f26ab395542ffa07ecb786b301135~mv2.png)
The next step was to add the enemy. i created a new sprite and made it an object, then i created an alarm and gave it a path. the alarm makes the path go again instead of just ending. Once that was done i wanted to add bullets to the ship so what i did was i created a moving instance between the bullet and the enemy. i set the speed to 5 and the direction to 180 as that is the only entrance for the player.
![](https://static.wixstatic.com/media/1f76fb_f29ab13a532d43f7ab713c6515cb7314~mv2.png/v1/fill/w_457,h_67,al_c,q_85,enc_auto/1f76fb_f29ab13a532d43f7ab713c6515cb7314~mv2.png)
![](https://static.wixstatic.com/media/1f76fb_4665cb3475c54fdf83e52a73c44c6c83~mv2.png/v1/fill/w_508,h_68,al_c,q_85,enc_auto/1f76fb_4665cb3475c54fdf83e52a73c44c6c83~mv2.png)
Then i started to work on a power up i decided to give mine speed as it would help the player outrun the ship and bullets. i added a collision effect with the player and inside that i added 'execute a piece of code' inside that file i added 'speed = 10;'.
![](https://static.wixstatic.com/media/1f76fb_a805daf79d22449c9b04f1545ca33508~mv2.png/v1/fill/w_882,h_95,al_c,q_85,enc_auto/1f76fb_a805daf79d22449c9b04f1545ca33508~mv2.png)
One of the final things i added was health and a scoreboard the health was relatively easy to make along with the scoreboard. I created a controller ad inside that i added 3 effects. step, draw gui and create. Inside create i added 2 variables 1 being ph = 0 and the other being ph = 3. Inside the step was a block which starts with 'if ph = 0 start block, restart game, end block. and finally inside the gui is just a load of drawing code and displays the player health and time.
![](https://static.wixstatic.com/media/1f76fb_1bbe329e0556403fa60d230cb5d3782e~mv2.png/v1/fill/w_499,h_79,al_c,q_85,enc_auto/1f76fb_1bbe329e0556403fa60d230cb5d3782e~mv2.png)
![](https://static.wixstatic.com/media/1f76fb_360ad07b779941edbc2c31ab30e33916~mv2.png/v1/fill/w_312,h_116,al_c,q_85,enc_auto/1f76fb_360ad07b779941edbc2c31ab30e33916~mv2.png)
Finally i created a door to a secondary level this was very easy as all i had to do was create a collision event inside that was variable that states if the player score was higher than 4 you can proceed if not then you must find more score then if you have 4 you go into a block code that allows you into the next stage.
![](https://static.wixstatic.com/media/1f76fb_577e1ea7107d4501b47f71a3fcfe2d61~mv2.png/v1/fill/w_306,h_126,al_c,q_85,enc_auto/1f76fb_577e1ea7107d4501b47f71a3fcfe2d61~mv2.png)
Comments