My code not error, but my game force stop

hello everyone!

im new to all this cocos2d-x world, when i open level 1 my game force close,
this is my code “.h” and “.cpp”

level1.cpp (29.2 KB) level1.h (2.7 KB)

thanks

We need more than this. What happens? What does the console say?

1 Like

this is because my resource name is not the same as in the code