Hi, I am trying to draw certain sprites, but they end up being drawn as white squares or even distorted. Everything that has been drawn as a white rectangle follows the following format:
Object
-Texture
-Sprite
Then the level has a list of objects.
It then returns the list by copy to the engine which draws it.
Here is the code for the trees:
http://pastebin.com/UmsapXJjThe end result:
Other items are having the same issue such as the gun. The tiles aren't and they are the only ones stored in a regular array. Could that have something to do with it?
Thanks!