Which type of Game maker do you use?

Wednesday, January 29, 2014

How To Make The Screen Follow The Player

Hi gamers! This fast post will show you how to make the screen follow your player. This is very helpful when you make a 2-D side-scroller such as Mario.

So first things first we need a sprite for the player. once you make the sprite, make an object with that sprite. I'll name it obj_player.
Now you have the object, make a room (call it rm_game).

1.) Go to rm_game then views
Under views
2.) Check "Enable the use of views" & "Visible when room starts"
Under views - object following
3.) From the drop down menu (next to <no object>) choose obj_player
4.) fill in...
Hbor: 500
Vbor: 500

Also make sure that under your room settings, you change the width & height or else this will be useless.
Viola! That's it! Congratulations! You are one step closer to making a game such as megaman and mario!
See ya fellow gamers and...

Happy Gaming!