Issue with collision on screen change

dale_coop

Moderator
Staff member
I didn't find a topic on this issue on the forum, so I expose my problem here...

Seems to be an issue with collision on screen change... For example, here:

Issue_with_death_collision_on_screen_change.png


When my player tries to go to the previous screen (to the left), the screen loads but he dies!
He dies because there is a "Player Death" tile in my current screen (exactly at the same place that he should appear). If I remove the "player death" tile from my current screen (or move it to another place), my player can freely go to the previous screen.

The video to illustrate the problem: https://youtu.be/kKhxnFC8SO4

Didn't check the collision code if it easily fixable... Does anyone else have the same problem (and/or already found a fix) ?

Thank you guys
 

dale_coop

Moderator
Staff member
I checked again with the beta, seems that problem was already there.
Seems that when the player goes to another screen, the new screen loads but the first player's collision is done with tiles from the old screen.

So hope Joe can take a look... one day ;)
 
Top Bottom