I’ve been working on an interesting new game development project. It’s a 3D raycaster demo in DragonRuby. Basically that means Wolfenstein 3D type first person game. I found a cool tutorial on YouTube, but it was for C and OpenGL, so I decided to port it to Ruby and DragonRuby.
Most of the project went smooth. There were some hiccups around coordinate systems and the math of everything. I’m pretty sure the coordinate system on DragonRuby was inverted from the original tutorial video, so I had to tweak the math to make it work.
But, buy the end of it I think it turned out pretty cool. It’s rudimentary, but it shows how much can be done with a small amount of code and still have a cool thing to demo.
If you want to see the demo I posted it over on YouTube, click the link below to watch:
> > > Watch On YouTube
I’m not sure how much farther I’m going to take this project, but I figured it is worth sharing what I’ve got for now.
-Brian