Log In  
Follow
JudeFree

Cart #magonuziwu-2 | 2025-02-04 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
1

Just as the title says, I'm having some issues with collision in my game. I'm able to set the flags for collision in the yellow version of the map to work with no problem, but for some reason, when I load the blue version of the map by pressing the "B button" the game behaves as if the objects in the yellow version were still there and doesn't allow the cat to move freely.

The blue version of the map is tied to a game state called "night" and the yellow one is tied to one called "day". I really don't know where I'm messing up here. can somebody help me figure it out?

I'm new to programming in general so forgive the spaghetti code.

1
4 comments