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.
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.
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 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"
This is by far the best tutorial for game states that I have found, thank you so much!
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.
This tuto is so clear. Your voice so calm when explaining so this is very enjoyable and easy to understand. Thanks you so much.
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.
thanks man please keep on giving us this tutorials , are quite useful, I hope that you reach a million followers very soon
mate this was a great tutorial so high quality deserves more views and subscribers keep making videos you will get big
Thank you very much for your explanation. It is practical and has clear inspiration. This is your achievement!
Excellent tutorial which was easy to follow and easy to understand. You explain things well. Good that you give the prerequisites.
This is so simple compared to other explanations, very valuable information. keep it up!
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.
Man... You are my hero !
Exactly what I need man! Thank you so much!
great video helped me a lot thanks
Excellent
Sheesh! this tuts slaps! im still so confuse making classes but sheesh! may i request for github as a guide?
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"
For this example, there is no intention for the screen to be resized, so the screen size variables being constant works fine
@@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"