Share your repls and programming experiences

← Back to all posts
First Person view [FPS Engine] in the console (C++)
SPQR (524)

This code was largely written by Javidx9 / OneLoneCoder for Windows. As of this post I have ported it to Unix/ and, as a bonus, added strafing. For high FPS run this in a small window, and for high resolution run this zoomed out.

I don't think this runs on and it doesn't work well on this post. Try opening it in the IDE.

I'm planning on adding colors, some more features, perhaps integrating it with my procedural generation system, or even making this the gameplay style of my Dungeon Crawler repl rather than top-down.

W,A,S,D - Movement
<,> - Look left and right
Shift - Move faster

SPQR (524)

@mamamia5x perhaps..
The original doom is written in C soooo....

mamamia5x (69)

@SPQR That means it's defiantly possible. It'll take a long time tho.

mwilki7 (1078)

this is amazing are the walls the actual shape of the #?

DynamicSquid (3222)

You make amazing things in C++, some that I didn't even think was possible! I've never seen this before! Well done!

CodingAndMemes (29)

Is this supposed to happen?

nt998302 (179)

This is awesome! Did you use this guy for reference?:

SPQR (524)

@nt998302 I actually specifically said it's mostly his code haha