jeudi 6 mars 2014

How can I draw a rectangle or sprite onto another sprite in xna?


Vote count:

0




I'm working on a 2d game in xna. Basically I want to draw a rectangle or sprite on another sprite with collision. I can detect the collision and everything, but I don't know how I can draw on the sprite. I'm drawing the rectangle on the sprite, but it's drawing behind the sprite which makes the rectangle invisible. Is there way I can accomplish this?



asked 55 secs ago






Aucun commentaire:

Enregistrer un commentaire