Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

A custom shader. At one point it was a separate sprite but that got too much to do as you can imagine.

(+1)

That’s exactly the reason I am asking. Your outlines look awesome. I tried to achieve that and decided to go with sprites which ended up too much work. :)

Another option (in Game Maker) I used was d3d_set_fog. Then draw the sprite 4 times offset -1 and 1 on the x and y. Then turn the fog off and draw the sprite as normal. This works if you only have one object outlined at a time. Otherwise 4 extra draws could lower frame rates.

Thanks, this also sounds cool! I think I will go with the shader though :). It is probably the most performent and elegant solution :)