Take the 2-minute tour ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

Currently, in my game - I'm not using XNA's SpriteBatch to render anything(I am using Farseer Physic's Debug View), and I was wondering how I would render something like this:

enter image description here

only using XNA. My second question is once I have drawn these stenciled sprites , how would I give the "stenciled" lines a glow effect like so:

enter image description here

I haven't done anything like this before so It is a very confusing experience for me. Any pointers?

share|improve this question
1  
The general technique for glow is here –  bobobobo Dec 8 '12 at 17:42

1 Answer 1

up vote 3 down vote accepted

If the line drawing in Farseer's samples is too thin, you could use something like this library to draw thick lines.

For the glow effect, check out the XNA Bloom Sample.

The basic process is to render your scene to a render target. Then render the render-target to the screen twice: once normally and once with a blur effect using additive blending.

share|improve this answer
    
Thanks man :) i.imgur.com/CImFq.png –  Grey Oct 12 '12 at 22:45
    
To anyone wondering which library to use to achieve the stenciled sprites I used this library jcpmcdonald.com/index.php/2d-xna-primitives Very easy to use and well documented. –  Grey Oct 13 '12 at 14:01

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.