Rotating Room example
This is a tutorial based on my very first game, Direction. Well, let's start!
First, make two sprites, for solid (box) and the player (ball). Set the size to 16x16. Then make two objects, obj_player and obj_block. Don't forget to check "Solid" in obj_block properties.
Second, open obj_player editor. Make 4 events; Create event, Collison with obj_block event, Left key event, and right key event. In Create event, execute a code like this.
Third, in the collision with solid event, execute a code like this.
Fourth, in the Left Key event, execute a code like this.
And last, In the Right Key event, execute this code.
Done! Now all you have to do is open the room editor, and design your own levels.
Until next time,
Hiz




