Switching from while to for loop won't indeed have any impact on frame rate. You need to get rid of while loops with wait per each entity by switching to on_frame and EVENT_FRAME and also you need to avoid cycling through all entities on the level. Add entities into separate lists and cycle through via for loop (or while if you like it, but for is more suitable for counter/fixed amount of cycling loops).


Looking for free stuff?? Take a look here: http://badcom.at.ua
Support me on: https://boosty.to/3rung