T
Tetragon
Guest
I'm teaching a class and I've got an issue with a student's project. We're using room persistence because he's making an RPG, however re-entering rooms breaks all collision checks. I'm too new to this forum to post a link to the project and I need an answer quick. I may just be misunderstanding room persistence.
We're using version 2.1.4.212
To replicate:
Create an empty DnD project
Create two objects, one wall and one ball
Set ball direction to up
Add collision event to ball that flips direction
Make two keys to switch between two levels
Put walls in both levels to stop the ball from leaving
Play the game
Balls will bounce as expected
Switch rooms
Switch back
Balls will bounce as expected
Turn persistence on in both rooms
Play the game
Switch rooms
Switch back
Balls will escape the rooms
We're using version 2.1.4.212
To replicate:
Create an empty DnD project
Create two objects, one wall and one ball
Set ball direction to up
Add collision event to ball that flips direction
Make two keys to switch between two levels
Put walls in both levels to stop the ball from leaving
Play the game
Balls will bounce as expected
Switch rooms
Switch back
Balls will bounce as expected
Turn persistence on in both rooms
Play the game
Switch rooms
Switch back
Balls will escape the rooms