Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Learn to Create Custom GUIs in GameMaker: Studio
Rating: 4.2 out of 5(18 ratings)
370 students

Learn to Create Custom GUIs in GameMaker: Studio

Learn to create user interfaces that will work and display properly across any number of resolution and devices.
Created by3dmotive LLC
Last updated 9/2016
English
English [Auto],

What you'll learn

  • Create UIs for GameMaker: Studio that scale and work across multiple platforms

Course content

1 section14 lectures1h 0m total length
  • Introduction1:10

    Design and build a GUI once that automatically adapts to any resolution across PCs and mobile devices, solving layout issues and delivering resolution independent interfaces in GameMaker: Studio.

  • The Problem of Multiple Resolutions4:58

    Explore how multiple resolutions break a centered user interface in GameMaker Studio, with hard-coded 400x300 centering on 800x600, misaligning at 640x480 and 1024x768, and learn scaling to adapt.

  • Drawing GUI Elements at Screen Center7:45

    Center a mission complete graphic for every resolution by computing center coordinates from the viewport width and height, not the window size, and draw the sprite at those coordinates.

  • Drawing GUI Elements at the Screen Edges5:24

    Position gui elements to screen edges and corners across resolutions using the top-left origin; design for the smallest resolution, 800 by 600, to ensure scalability.

  • Drawing GUI Elements at Specified Positions6:23

    Position GUI elements at any screen location with proportional fractions to ensure resolution independence; derive from the original 800 by 600 design to keep centers, quarters, and three-quarters placements.

  • Resolutions and Image Scaling5:49

    Learn to create resolution independent guis in GameMaker: Studio by using draw_sprite_ext to scale the mission complete sprite to the target resolution based on the original 800 by 600.

  • Aspect Ratio2:25

    Learn how aspect ratio affects resolution changes in GameMaker: Studio, as changing width and height stretches sprites and guides common workarounds for 800 by 600 and 640 by 480.

  • Scaling with Aspect Ratio7:16

    Learn to preserve aspect ratio across resolutions by defining the original 800 by 600 constants, creating an init script, and applying a single global scale factor to scale sprites uniformly.

  • Menus and Nested Controls4:08

    Learn how to build a resolution independent GUI in GameMaker: Studio by creating a menu background and button with relative positioning, and implement a GUI manager to host nested controls.

  • Hierarchies and Parents3:08

    Learn to use inheritance and parenting in GameMaker: Studio to create a common root object for gooey components and set up gooey parent relationships for menus and buttons.

  • Instances and Names3:40

    Learn how a base gooey object defines shared behaviors and how the gooey_parent variable makes the button a menu child, enabling synchronized movement.

  • Cascading Transformations4:58

    Position a button relative to its window container using the gooey parent and a global scale factor to demonstrate cascading transformations and nested controls.

  • Conclusion2:59

    Explore creating resolution independent interfaces with relative positioning and both uniform and non-uniform scaling, then build nested user interface controls with parent-driven offsets and inheritance, culminating in a multi-button menu.

  • Bonus Lecture: Further Learning with 3dmotive0:18

Requirements

  • GameMaker: Studio software

Description

In this course, instructor Alan Thorn takes you through the process of building graphical user interfaces using GameMaker: Studio. We'll take a look at how to improve the graphical quality across all platforms - specifically how to create a GUI once that will work and display properly across any number of resolutions and devices. Not only will we discuss resolution and scaling, but we'll also cover the programming and scripting associated with addressing screen edges, centering, instances, and cascading transformations. If you've ever been interested in learning about building your GUI in GameMaker: Studio and having it look and function flawlessly - this is the course for you.

(Students - please look under Section 1 / Lecture 1 downloads for the source files associated with the lesson.)


More about the Instructor:

Alan Thorn is a freelance game developer and author with over 12 years of industry experience. He is the founder of London-based game studio, Wax Lyrical Games, and is the creator of award-winning adventure game Baron Wittard: Nemesis of Ragnarok. He has worked freelance on over 500 projects worldwide including games, simulators, kiosks, and augmented reality software for game studios, museums and theme parks. He has spoken on game development at universities throughout the UK, and is the author of nine books on game development, including Teach Yourself Games Programming, Unity 4 Fundamentals and the highly popular UDK Game Development.

Who this course is for:

  • Students interested in learning how to improve their GUIs for their games