Home Artists Posts Import Register

Content

As requested!

Files

Game Maker Studio: Menus Tutorial

Download the project files! [Url coming soon] Play my newly released indie platformer Another Perspective! http://shaunspalding.co.uk/AnotherPerspective/ A highly requested tutorial on handling menu systems in game maker, kind of a bare basics system that you can hopefully build on and experiment with, it should be flexible enough to allow you to do most types of things menu wise.

Comments

Anonymous

Hi Shaun, thanks for another great video. Question: How do we place the menu object so that its center is in the center of the room? (Without doing manual calculations and drag/dropping the object into position)

shaunjs

Really easy way to accomplish this and make this work for any room size would be to simply include something in the create code for the object like the following: x = room_width/2; y = room_height/2; then you just need to adjust the drawing parameters accordingly. Alternatively you can just use room_width/2 etc to reference the positions you're drawing to in your draw event instead of using your object's x/y position.

Anonymous

Hey Shaun, Another great tut. Looks really flexible. Thanks.