Accessing the gfx.PutPixel from other scopes.
Posted: August 23rd, 2021, 6:08 pm
So I am not a beginner but I also wouldn't call myself a chili-level PROgrammer.
I have made a class for the dude sprite in the tutorial 8 poopoo eater game. I have made a function inside the class to draw the face. But the gfx is not defined in that scope. How do I fix it?
I have included only the Game.h and Game.cpp files because thats only what i changed, other files are as it is.
I have made a class for the dude sprite in the tutorial 8 poopoo eater game. I have made a function inside the class to draw the face. But the gfx is not defined in that scope. How do I fix it?
I have included only the Game.h and Game.cpp files because thats only what i changed, other files are as it is.