@richard , @jwunderl , & other devs: I’m seeking assistance. First of two threads.
In another thread[1], I was attempting to assist one of our forum members with Python and the project explorer. I started with a simple “chase and collect” game, which I created first in JavaScript.
I then tried to port the game (manually) to Python. I ended up with this, and now I’m confused.
I feel like the game engine loop is running separately (and independently) from the Python code that I’ve written. What it really feels like is that I’m misunderstanding something. Upon collision between the player and the enemy, shouldn’t the loop that moves the enemy away from the player complete before the next screen update?
I really feel like something is different because I needed to inject a null
check in MoveEnemy()
, where I did not need to do so in JavaScript … leading me to believe that I’m just misunderstanding or misinterpreting something.
Please fill in the gaps. What am I missing?