Thursday, 17 December 2015

Shapeman Assignment

Sprites
All Sprites were made using Game Maker.






Pentagon (spr_me) (spr_pentagon)(spr_pentagon2) (spr_enemy)








Diamond (spr_diamond) (spr_diamond)2






Arrow (spr_arrow) (spr_arrow)2







Circle (spr_circle) (spr_arrow)2

Curved Square (spr_curvedsquare) (spr_curvedsquare)2








Wall (spr_wall)

Objects
All sprites in the game are the same as the objects
 (obj_me) (obj_pentagon) (obj_pentagon) 2 (obj_enemy)
 (obj_diamond) (obj_diamond)2
 (obj_arrow) (obj_arrow)2
 (obj_circle) (obj_circle)2
 (obj_curvedsquare) (obj_curvedsquare)2
 (obj_wall)
Rooms
Rooms were also made using Game Maker.

Turns you into that shape =

Enemies =
Process

Object: obj_me (create: Execute a piece of code) (create: set the friction)
This is to control the variables                                     To be able to stop the character moving

Object: obj_me (begin step: Execute a piece of code)
A ground check

Object: obj_me (collision with: obj_diamond, obj_circle, obj_arrow, obj_curvedsquare and obj_pentagon)
So when obj_me touches any of those objects, they will turn into the objects duplicate.

Object: obj_me (left, right, up, down: Set moving in direction)
So that when you, for example, press the left arrow key, your character moves left.

Object: obj_enemy (create: execute a piece of code)
To make the enemy wander about in a random direction

Object: obj_enemy (alarm 0: execute a piece of code)
Another code to make the enemy change direction.

Object: obj_enemy (Step: Execute a piece of code)
The speed that the enemy should be moving in.

Object: obj_enemy (Collision with obj_me: execute a piece of code)
To make sure that when the playable shape touches an enemy of the same shape, the enemy dies.

Object: obj_enemy (collision with obj_wall: bounce against solid objects)
To make sure that the enemies aren’t able to fall out of the game.

Object: obj_enemy (draw: execute a piece of code)
So that the code to make sure shapes kill each other know which shapes are meant to die or kill.

Object: obj_controller (create: execute a piece of code (x2) and draw the value of score)
To be able to set the score when you earn one

Object: obj_controller (Step: Execute a piece of code (x2))
To set the countdown for when the enemies change shape.

Object: obj_controller (Draw: Execute a piece of code)
To set the font and font colour of the score.

Improvements I would make are to have better coding, better looking sprites, being able to search for the right thing to be able to get the game working.



This is a manual for the game



video of me testing the game can be seen here: https://www.youtube.com/watch?v=mIZj7_1OZVA

No comments:

Post a Comment