Thursday, July 26, 2012

Hello, World!

Long story short, I am a hobbyist game developer on my way of creating an old school 2D RPG game with random terrain and quest generation. Nothing fancy. I also like to read about various techniques used in game development and try to implement them myself.
My latest focus is on Ray casting. I found these amazing tutorials and converted them in Xna 4.0. The result can be seen in the images below:


The code I am going to provide is far for clean and neat, but I have my reasons to keep it like this for now. And also I want to point you a very neat trick to darken a given color in Xna:

 color = Color.Lerp(color, Color.Black, 0.2f);