The Game Loop – UPBGE / BGE
Hi again! In the past days I read a post in blenderartist about some “strange” behavior with logic bricks while executing a game in the blender game engine (BGE/UPBGE), this strange behavior goes from late execution to weird results (not the expected ones) while in game.
Almost every strange behavior has its own origin: lack of knowledge about the game loop and how things work in the BGE/UPBGE. This is one of the most commented things about the BGE when people start learning about it, and mostly when the user comes from another game engine like, for example Unity3D and my response is always the same: “to understand how to work with any kind of software you must spend lots of time to master it, as much as you did with Unity3D“
So again, if you are willing to make a video game in the UPBGE/BGE, this is one of the finest resources to understand how to work with sensors/controllers/actuator in the right way, so you can optimize the performance and avoid that incorrect practices when making a game that make you game run slow and unplayable.
Here is the embedded PDF, as a backup of this valuable resource made by our friend Monster. If you have some questions go to the blenderartist forums and look for him. Or if you want to ask some questions here, feel free to do so.BGE-Guide-to-the-GameLoop