Hello everybody, I’m running into a huge issue, I’ve been scratching my head to find a solution but found no way to solve this problem.
As shown in the video, the enemy is being affected by gravity only when it is within the screen’s bounds. This method works nicely only horizontally, which means that if the player falls downs, just like in the video, the enemy falls WHILE the tiles are not created, so it just gets stuck in the ground and falls down out of the level.
Also there’s another issue where some “platformSwitch” (big green tiles with a white P) are visible, while some others are not. This is really strange.
https://www.youtube.com/watch?v=yAS4XtRAIXs&feature=youtu.be
Is there any way to solve these problems ? Thanks you in advance !