If I really have to post my sloppy noob code I will but I am hoping that I can get a quick answer.
When my player sprite moves onto a grid flagged 1 then that grid is solid and the sprite stops moving. If the flag is 2 then it moves to a different room AKA different MAP() value(s)
This works as it should but the solid collision still applies to the tiles from the previous room. I do not understand this because the solid function should update when the new map tiles are drawn.
In other words. It looks like my character is in a different place but all the solid grid tiles are from the previous "room".
Make sure whatever is checking if the tile is "solid" is actually checking the map tile's actual coordinate, not the pixel location that it's being drawn to.
[Please log in to post a comment]