Simple Paddle Game

by Miroljub in Circuits > Software

547 Views, 4 Favorites, 0 Comments

Simple Paddle Game

Capture.PNG
Were gonna make a simple game with a paddle and a bomb using game maker studio.

Sprites

sprite.PNG
First you need to make sprites.I recommend using photoshop for making characters.This time i used Game maker paint.For the paddle i used 16 height and 96 width.For the bomb 32x32.I recommend to go to modify mask and choose the mask in shape of a diamond.

Obj_player

player1.PNG
player2.PNG
To make the paddle you add the events seen on the first picture.Set horizontal speed for left must be negative,right must be positive.If you set Relative you should go faster every second.For key release and wall collision set horizontal speed = 0.

Obj_bomb

bomb1.PNG
bomb2.PNG
bomb3.PNG
First you add create event to set the vertical speed (i recommend it to be relative),and bounce against all objects.Collision with the paddle is to set bounce against all objects and set score relative to any number you want.For wall collision with wall set bounce against all objects and set vert. speed to a positive relative number.For outside room set display message for game over and you can set :end game,restart game or reset room.

Score

Make a invisible sprite called "Draw".Then make the object and add draw GUI event.Into it add show score and colour it with any color you want.

Set Room and Enjoy!

Capture.PNG