One word. Doom. It's a simple name that can invoke a lot of things. Deathmatch, modding, programming. Doom is and was a lot of things to a lot of people. It's also known for being ported to everything. Why is this the case? Why Doom and not its older brother Wolfenstein 3D? I have compiled a list of six reasons why I think that's the case, based on my own knowledge of Doom and programming in general.<
Posted on 7 September, 2017 at 9:39PM
Posted on 10 June, 2016 at 10:27PM
One of the main reasons I helped start RotW was because I'd have an excuse to code a website from scratch. RotW is a great project to work on, and I'm not sure I'll ever give up on it completely. (I even just renewed the domain name!) I've always had interest in sharing the code to RotW, and possibly give back to the community a little, but I've been putting it off until now.
Hopefully someone out there will find this code useful. I decided on the GPLv3 license,
Posted on 28 May, 2014 at 4:56PM
The following C++ function does line-of-sight testing for a 2D game that uses tiles. The level map is a multidimensional array of integers (levelmap[LEVEL_HEIGHT][LEVEL_WIDTH]) that represent each tile; 0 signifies and empty tile, any number higher than that is solid. A vector2 is just a datatype that contains an object's x and y position.
// Check line of sight between two points (usually the camera/player)
Continue Reading »
Posted on 29 April, 2014 at 6:11PM
Warning: This post is focused on programming concepts.
Speed and ease of use have always been at odds with each-other in the computing world. In the days of the Apple II, most people started writing games in BASIC, until they needed more speed, then they switched to something faster. BASIC is an interpreted language and runs slower, but something like C is a compiled language and runs much faster even with equivalent code. That brings us to video games, which are really just specialized computer programs themselves. Why would someone use an interpreted language or a compiled one? Let’s explore that question.
Posted on 27 November, 2012 at 02:11AM
Billy here, maintainer/coder for this site. If you hadn't noticed there's a sidebar on the left now. Why did I do this? Well, a lot of our content is pretty hidden, but now more of it stands out. I actually planned a major re-design of the site, but all the tests I made turned out... less than optimal. As per usual, please let me know if there's any errors on your end. Also, please feel free to suggest (reasonable) features that you'd like to see. I programmed this site from scratch for a rea