Code a DOOM-like game engine from scratch in C [PART I]

Subscribers:
2,460
Published on ● Video Link: https://www.youtube.com/watch?v=p7f9p9nDsmc



Duration: 27:46
36,247 views
1,586


This is part I of the DOOM-like game engine from scratch tutorial.

It introduces the basics of 2.5D (Pseudo-3D) graphics rendering and movement mechanics. Also concepts such as portals, rendering, world transformations, and others.

You can download the source code from here: https://github.com/jeuxdemains/DOOM-like-game-engine-part-I

Some notes to keep in mind about Part I:
- we do the minimal required work to get started
- code style is not really the focus here
- back-to-front rendering (i.e. Painter's algorithm) is a bad idea, it will be revisited in Part II
- sorting sectors by their centroids with bubble sort is very inefficient and lacks precision -- it's there just to leave you with a bit more compete solution until part II comes out

www: https://yuriygeorgiev.com
twitter: https://x.com/georgievyuriy
fb: https://www.facebook.com/yuriydevlogs

For more advanced topics and complete courses by a professional lecturer, you can take a look at Pikuma's lectures at https://pikuma.com







Tags:
game dev
3d graphics
rendering
wolfenstein
wolf3d
game development
bsp tree
3D graphics
graphics programming
90s Shooter Game Dev
FPS Game Development
Coding DOOM
code doom-like game engine
c programming
doom
doom 2
low-level programming
programming
development
game engine
first person shooter
tutorial
rasterization
ray casting
raycasting
doom engine
c++
sdl2
programming game engine
3d engine
coding game
code doom
game engine from scratch
dev log