My damn particle class is giving me an issue. Anyone have any ideas? #XNA #XBLIG http://pastebin.com/e4fE1uNi
@blindgoatia worked like a charm. Ok, alternatively, how can I initialize it without drawing it at all?
-
-
@DaveVoyles Are you using culling? Meaning your game doesn't bother drawing shapes that are outside the current view? -
@blindgoatia I know how to do culling in 3D, but not 2D. I changed the value to -100,-100 and it works fine, if that's what you mean
End of conversation
New conversation -
-
-
@DaveVoyles You can always create a boolean shouldDrawParticle and initialize it to false. On collision, set it to true. Set it back toThanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
@DaveVoyles false when you're done with it (whether it be time, frames, whatever). Then in draw/update, only do it if shouldDraw is true -
@blindgoatia I'll probably just do it that way. I just didn;t know if there was another way to initialize that I was unaware of. - Show replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.