Objects not hiding
Posted: Sun Apr 20, 2014 1:08 am
When I have an object collide with another, I have it set so that it is hidden, so it should no longer render. I checked my debug console output in no$gba and it set to hidden, but it still gets rendered. For example, with bullets when it hits a monster it should disappear, however it is set to hidden but it doesn't disappear. Further more to my confusion is if I fire enough bullets to loop through the array again, the bullet disappears from its static position and gets fired again!
The same thing happens to the monsters. Here is an image of what is happening. I'm setting the hidden attribute to true, and I'm sure the OAM is getting updated through oamUpdate.
Any ideas?
The same thing happens to the monsters. Here is an image of what is happening. I'm setting the hidden attribute to true, and I'm sure the OAM is getting updated through oamUpdate.
Any ideas?