Retro of the Week Logo
You Can Now Download RotW's Code
Posted by Billy
Posted on 10 June, 2016 at 10:27PM ↑ 2 ↓ 0
You Can Now Download RotW's Code

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,

Continue Reading »

Might be useful to someone: Line of sight testing in a 2D tile based game
Posted by Billy
Posted on 28 May, 2014 at 4:56PM ↑ 1 ↓ 0

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 »

Play Wolfenstein 3D with WASD + mouse
Posted by Billy
Posted on 11 April, 2014 at 5:18PM ↑ 2 ↓ 0
Play Wolfenstein 3D with WASD + mouse

Update August 2016: The download link was broken, so that's been fixed. I have also added instructions down below.

One of the things that always irked me about Wolfenstein 3D is that its control scheme is a little too oldschool. The game features what I'd call 'strafe mode', instead of dedicated strafe keys, so you can't really play it like you would any other FPS. So online I found there's a top-notch port of Wolfenstein 3D to windows called Wolf4SDL. I grabbed the source code, made it so your left/right keys always make you strafe, and made it so the mouse doesn't move you forward/black, and boom, now I can actually play Wolf3D!

Download it here. Extract this zip into your Wolf3D folder. If you don't have Wolf3D, just go get the shareware version. Source code can be found hereThis will not work with Spear of Destiny.

Continue Reading »

Watch Out For Errors
Posted by Billy
Posted on 15 November, 2013 at 4:50PM ↑ 2 ↓ 0
Watch Out For Errors

Hello there, Billy here. I've been implimenting some backend features and shifting around a lot of code. The only visible result of this to you is that you can now thumbs up/down comments as well as posts. I ask that you please use this feature; if we get enough ratings, I can start adding algorithms for the most quality posts and stuff like that. Regardless, please be on the look out for errors and don't hesitate to tell me about them. Also, don't he

Continue Reading »