I’ve created a small and not so impressive game, but the background textures just doesn’t display. to make it easier I’ll explain how the texture is handled.
Once you create a entity for this case it’s called background, it’s created with it’s variables isTextured as false, when you load a texture it puts the texture into the variable in the Entity class and sets the isTextured as true. Once it’s called to be drawn it’ll check the isTextured variable and determine if to render with the texture of just the plain colour.
the source is on github here https://github.com/Joshhua5/RESFLoader/tree/master/TurrentTrack/src/jwlgj/turret
I’ve looked through it and it’s just a case of the texture working and I don’t know why O.o please help