Perspective movement test

Finally I can compile stuffs with GameMaker: Studio! And so, the first step for me to do is to make some code for perspective movement.

(Alternative Baidu Cloud Disk link if Youtube is not available for you)

Basically, this is what I need:

  • Move faster at the bottom of the screen and slower at the top;
  • Shift a little bit left or right when moving up and down when the sprite is not at the horizontal centre of the screen;
  • Make the sprite bigger when it's at the bottom (aka closer) and smaller when at top.

And so, this makes the movement of that sprite looks pretty '3D'.

For a download link, check this.

Here's the code I use. Yes, I already added gamepad support and that works pretty good.

Leave a Reply