Hi everyone!
I working on my first endless jumper game, and meet some troubles with collisions and player's twitching after getting a bonuses, and distances between platforms. I've highlighted places with bugs on the events screenshot below.
So, when the player get one of the two bonuses, occurs following: - "Set Platform Vector Y" and disable collisions with enemies and other bonuses. It works but when the action of bonus ends, and some enemies or bonuses on the screen in this moment - collisions still disabled, and enables only for fresh generated objects. Second problem is player's twitching when he flies with Y-vector "under bonus".
Also I try to set up distances between two random generated platforms families (look on screenshot please), and it not works for me.
Any help, advices or critics for my code are welcome