Issue with collision on screen change

Post Reply
User avatar
dale_coop
Posts: 1456
Joined: Fri Feb 16, 2018 7:05 am
Location: France

Issue with collision on screen change

Post by dale_coop » Mon Aug 13, 2018 10:19 pm

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:

Image

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
-----
Sorry about my poor english
All I need: A Damn Fine Cup of Coffee
My games: PRESS START GAME / UNDERGROUND ADVENTURE
User avatar
dale_coop
Posts: 1456
Joined: Fri Feb 16, 2018 7:05 am
Location: France

Re: Issue with collision on screen change

Post by dale_coop » Tue Aug 14, 2018 7:50 pm

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 ;)
-----
Sorry about my poor english
All I need: A Damn Fine Cup of Coffee
My games: PRESS START GAME / UNDERGROUND ADVENTURE
Post Reply