I’m doing a lot of coding and many names I gave things in my .plist file are quite hard to remember, so in my .h file, I said
#define groundSquare01 "groundSquare_01_001-uhd.png"
So in my code, I added
Next, I changed
auto g = Sprite::create("groundSquare_01_001-uhd.png");
auto g = Sprite::create(groundSquare01);
But Xcode gave me an error.
However, it didn’t mention what the error WAS.
So, what is wrong here?
I’m using V4.