hunt and kill all enemies to win Controls: WASD to move left and right arrow keys to turn up arrow to shoot space to sprint Press P for debug mode
I started the 3D rendering system years back, finally turned it into a game. I'm pretty proud of the results. Here's how it works: It's really a 2D game (press P to see the map) rays are constantly being sent out of the player in a cone and measure the distance to any wall they hit. Each ray draws one line on the screen. First each ray draws the floor and ceiling, then lines for the walls are drawn and their length is determind by the distance measured from the wall to the player. The enemies are then drawn on top using a similar but offset equation. Then I added a system so I could change the colors to give each level a little pizzazz program I used fot the title text: <a href="https://www.textstudio.co/">Logo generator</a>