Rendering projectiles with DirectX and C++

Posted by Chris on Game Development See other posts from Game Development or by Chris
Published on 2012-10-13T02:39:19Z Indexed on 2012/10/13 3:49 UTC
Read the original article Hit count: 159

Filed under:
|

I'm working on a simple game that has the user control a space ship that shoots small circular projectiles. However, I'm not sure how to render these. Right now I know how to make a LPDIREC3DSURFACE for a sprite and render it onto a LPDIRECT3DDEVICE9, but that's only for a single sprite. I assume I don't need to constantly create new surfaces and devices. How should projectile generation/rendering be handled? Thanks in advance.

© Game Development or respective owner

Related posts about c++

Related posts about rendering