Passing Vars Between GameMaker Objects (3 Strategies)

Поделиться
HTML-код
  • Опубликовано: 18 дек 2024

Комментарии • 26

  • @NR-fx8tk
    @NR-fx8tk 3 месяца назад +1

    Excellent exploration of this topic. Thank you for this detailed and easy to understand video 😊

  • @jakegore759
    @jakegore759 Год назад +3

    how has this only got 12 views?!?!? this is unreal if you carry on with this sort of quality there's no way you won't blow up!

    • @reedrehg
      @reedrehg  Год назад

      🙏

    • @welovethesnorks
      @welovethesnorks 11 месяцев назад

      the amount of people that actually use gamemaker beyond a prototype or game jam is very low

    • @reedrehg
      @reedrehg  11 месяцев назад

      Hard to get accurate data around this, but usage is definitely lower than Unity and Unreal.

    • @welovethesnorks
      @welovethesnorks 11 месяцев назад

      @@reedrehg those of us who love it, love it for a reason :)

  • @icet1100
    @icet1100 Год назад +1

    Great video! Will watch it again tomorrow. And probably again on the day after! Maybe everyday from now on.

    • @reedrehg
      @reedrehg  Год назад

      I've never stopped watching it. But I'm not sure if it'll ever stop watching me...

  • @welovethesnorks
    @welovethesnorks 11 месяцев назад +1

    At 3:30 you say its hard to keep track of which code is doing what, but I'd argue it's quite the opposite. It's super easy to search for global variables and know exactly who is doing what, where

    • @reedrehg
      @reedrehg  11 месяцев назад

      To each their own. There's no one right way. Do what works for you. I personally find it difficult when there's too much in global scope.

    • @stevemathers3432
      @stevemathers3432 8 месяцев назад

      @@reedrehg the approach Im advising my kid to use is to break the game down into interactions between objects, on paper first. Where complex interactions are probably sequences of smaller interactions. Once the interactions have been listed, break them down into: trigger, message and action. the trigger is what event causes the interaction to start and also who listens for that event, the message is how the interaction is communicated to the target instance of an object (which could be itself) and the action is what the target instance does when it receives the message (which should only ever be to do something to itself, or start an interaction with another instance by sending that instance a message) message = just some form of communication, most commonly the sender calling a function on the target instance. but could also be a broadcast event if the sender doesnt know the reciever

  • @TheSpiritBolt
    @TheSpiritBolt 4 месяца назад +1

    Really wish you could expand on the 3rd option.

    • @reedrehg
      @reedrehg  4 месяца назад

      Maybe in a future video. Any questions I can answer?

  • @Jett_Panopio
    @Jett_Panopio Год назад +1

    Very high quality video, I'm your 100th subscirber.

    • @reedrehg
      @reedrehg  Год назад

      🎉🎉🎉 welcome

  • @Diamoondust
    @Diamoondust Год назад

    Incredibly good, thank you for all of this information and such a comprehensible, sleek, and direct tutorial. It's exactly what I needed for my game. You definitely deserve more recognition, but I'm sure you will get it soon with videos of such quality :))

  • @jugibur2117
    @jugibur2117 7 месяцев назад

    A great explanation, very helpful, thanks!

  • @sampson217
    @sampson217 Год назад +1

    Excellent content.

  • @k18owen
    @k18owen Год назад

    I usally dont comment any video, but man, this is awesome, excellent work

  • @onerimeuse
    @onerimeuse 11 месяцев назад

    Remember the Cant! (or is that your real name and not a The Expanse reference?)
    Thank you for this video. I see a million videos talking about coding, but no one does videos about the architecture. And when they do, they just tallnabkut serfice levil stuff without explaining how the things works together.

    • @reedrehg
      @reedrehg  11 месяцев назад

      😂 I'm familiar with it, but nope just my real name!

  • @Sucundrule
    @Sucundrule 7 месяцев назад

    Great stuff !