shaunjs
patreon
Menus Tutorial
🕑 Added 2014-10-18 22:16:15 +0000 UTC As requested!
Comments
Hey Shaun, Another great tut. Looks really flexible. Thanks.
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.
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)