Creating a Pause System in GameMaker

Sdílet
Vložit
  • čas přidán 27. 07. 2024
  • What is a game without being able to pause? Well... usually it's an online game but! This is a video about one way to make a pause system for your game. Join me as we take a simplistic approach and work through pausing objects in our game.
    [ External Links ]
    State Machines: • How To Make Objects Wi... (Yes that is I)
    [ Supporting the Channel ]
    If you are not already a subscriber, why don't you click that subscribe button... it's free and you don't even need to get updates.. but I mean you could also click the notification button too ;)
    if you would like more content and written content check out my Patreon page at / gamemakercasts and you will get access to source code, written tutorials, random thoughts and more!
    [ Downloads ]
    Starting Code: drive.google.com/file/d/19NEl...
    Full Source Code: Check Patreon Site
    [ Chapter Index ]
    00:00 - Introduction
    00:40 - Enumerators / State
    00:55 - Room / Game Setup
    01:15 - Pause Manager
    01:35 - Pause Statements
    02:15 - Handling Alarms and Speed Variables
    03:15 - Capturing Instances with Alarms and Speed
    04:20 - Testing Captures
    04:35 - Unpausing the Game
    06:00 - Patreon
    06:15 - Thank you!

Komentáře • 5

  • @GameMakerCasts
    @GameMakerCasts  Před 11 měsíci +1

    State Machine Tutorial: czcams.com/video/GjDt_RBXVDE/video.html

  • @jarirepo1172
    @jarirepo1172 Před 5 měsíci

    Very good video, thank you! Super simple to implement and you covered all I need (at least for now haha!).

  • @SGTIvan921
    @SGTIvan921 Před 7 měsíci

    Wow, what a simple solution! Super easy to implement. Any caveats to this approach?

    • @GameMakerCasts
      @GameMakerCasts  Před 7 měsíci +1

      I am sure there will be niches that you run into as you really never know.

    • @yinnyari
      @yinnyari Před 2 měsíci

      I like the implementation, it's just what I was going to try to do. I am wondering about the array_push, as doesn't that just keep adding to the arrays?