My whole game broke! (GLITCH)

COCOS2D-X GLITCH
I was testing my game, then THIS happened
Screen Shot 2021-03-20 at 11.28.22 AM

I bet you are missing a { someplace. It’s not a glitch that I can think of.

Open the .cpp and the .h in a text editor and match these up.

whoops now my .h file is saying cocos2d.h does not exist

Also I’ve had this glitch multiple times on my other projects

This only happens to me when I’ve made a mistake. It’s hard to see what yours is from the screenshot.

If you can’t solve it then create a new project and reimport your source and resources.

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.