Hello, This is probably a weird issue I doubt anyone will have experienced before. My collections in my game will not load after i press the Play button. After i click the button the screen just goes black, however no error messages appear.
I am making this game for a game jam which is due 2026-06-27T08:00:00Z, so i would appreciate it if I could get help as soon as possible
I will share the github repo I have set up below, as I am not sure what specifically is causing the issue
The game collection does actually load when starting from the title, which you can check by just putting a print("game init") into the init() of the game collection script.
What happens is that the game collection is unloaded and restarted immediately, as your player.script checks
if updated_position.y <=0 then
level_restart()
end
which is always true, as the player starts from 0.
6 Likes