Multiple Scenes in Pygame Tutorial (Gamestates)

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

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

  • @wilzzuu
    @wilzzuu Год назад +11

    This is by far the best tutorial for game states that I have found, thank you so much!

  • @the_foliot
    @the_foliot 11 месяцев назад +8

    So my take away is that I really like this method of game state management, but like you sad it does not inherently run simultaneous loops so if you are running the game loop then change states and you only run the pause state/loop and switch back to game then essentially it will reset unless you do that extra finicking, possibly in the form of storing the data temporarily and then reloading the info when you switch back to game state from pause or other. Anyway, thank you, I will be attempting to adapt this game state manager.

  • @Smyky
    @Smyky Год назад +4

    This tuto is so clear. Your voice so calm when explaining so this is very enjoyable and easy to understand. Thanks you so much.

  • @sergey_a
    @sergey_a Год назад +2

    14:25 If you want to do this, you create a simple function outside the class that has an if else condition. And projects are launched in them.

  • @OrlandoLopez-d8k
    @OrlandoLopez-d8k 11 месяцев назад

    thanks man please keep on giving us this tutorials , are quite useful, I hope that you reach a million followers very soon

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

    mate this was a great tutorial so high quality deserves more views and subscribers keep making videos you will get big

  • @TianZhenyu-x8e
    @TianZhenyu-x8e 11 месяцев назад

    Thank you very much for your explanation. It is practical and has clear inspiration. This is your achievement!

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

    Excellent tutorial which was easy to follow and easy to understand. You explain things well. Good that you give the prerequisites.

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

    This is so simple compared to other explanations, very valuable information. keep it up!

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

    Great technique, thanks for sharing. I see a lot of potential to improve my games that used several while run for different menus, which got very complex and hard to track/debug.

  • @antoine-alexandrleytens9941
    @antoine-alexandrleytens9941 Год назад

    Man... You are my hero !

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

    Exactly what I need man! Thank you so much!

  • @aniketbarad7962
    @aniketbarad7962 9 месяцев назад +1

    great video helped me a lot thanks

  • @alperklc7782
    @alperklc7782 15 дней назад

    Excellent

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

    Sheesh! this tuts slaps! im still so confuse making classes but sheesh! may i request for github as a guide?

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

    screen sizes shouldn't be a constant anyways, as some applications allow you to change the size, depending on the resolution of main display.. anyways i suppose Tuples would be classed as a "constant"

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

      For this example, there is no intention for the screen to be resized, so the screen size variables being constant works fine

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

      @@codingwithsphere I know, my comment was for others, as programming in this style (oop), it's best to keep it as modualer as possible, so you're able to reuse the code in other projects, also this was just a reply to your comment about constant "I don't think there is a way to do constant within python"