Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(+1)

Try commenting out sections of code until it works again. If that doesn't work then there might be something else wrong. At that point I'd suggest starting a new project and adding the code from the previous code to it piece by piece in to help pinpoint what might be causing it should it mess up again.

I found out that it has to do with the player spawning. So I will go from there.

(+2)

Thank you for the help, I figured out the problem and can continue with the game. Turns out I had to change a while statement to an if statement, and I found that out by chance so there is no telling what would have happened if I didn't comment out the code sooner.

That's cool. Yeah you would only ever use a while statement if you want a lot of different things to happen in one step.

May I ask what the game is you're working on?