top of page
Search

Boat game

30034350

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.

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.



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.



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.




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;'.



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.




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.



3 views0 comments

Recent Posts

See All

Robot Wars

Rouge Robot We are making a robot which has a claw, pincers and back support in case we are attacked from behind. 1st problem was that...

Comments


©2019 by ElliotBGDAIR. Proudly created with Wix.com

bottom of page