2D Grid based game - how should I draw grid lines?

Posted by Adam K Dean on Game Development See other posts from Game Development or by Adam K Dean
Published on 2012-10-02T15:23:59Z Indexed on 2012/10/02 15:54 UTC
Read the original article Hit count: 283

Filed under:
|

I'm playing around with a 2D grid based game idea, and I am using sprites for the grid cells. Let's say there is a 10 x 10 grid and each cell is 48x48, which will have sprites drawn there. That is fine.

But in design mode, I'd like to have a grid overlay the screen. I can do this either with sprites (2x600 pixel image etc) or with primitives, but which is best? Should I really be switching between sprites and 3d/2d rendering?

Like so:

Example

Thanks!

© Game Development or respective owner

Related posts about XNA

Related posts about 2d