0 Members and 1 Guest are viewing this topic.
It's the classic white square problem.Your texture instance needs to exist as long as you're using it with a sprite. Since declared the textures in side the mapLoader function, the instances were being destroyed at the end of the function and the sprites pointed to non-existent textures.I highly recommend to use something like at resource holder.