Share your repls and programming experiences

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

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 (509)

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

mamamia5x (68)

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

mwilki7 (956)

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

DynamicSquid (1207)

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

CodingAndMemes (27)

Is this supposed to happen?

nt998302 (132)

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

SPQR (509)

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