Code a DOOM-like game engine from scratch in C [PART I]
This is part I of the DOOM-like game engine from scratch tutorial.
It introduces the basics of (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:
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:
twitter:
fb:
For more advanced topics and complete courses by a professional lecturer, you can take a look at Pikuma’s lectures at
5 views
9
1
2 weeks ago 00:21:22 1
Крым. Курортное. А где КУРОРТ?
2 weeks ago 00:14:37 1
🔴 As US Cozies Up To Russia’s Economy, Putin’s Call With China Just Changed Everything
2 weeks ago 00:03:00 18
Architects - “Brain Dead (feat. House of Protection)“
2 weeks ago 00:56:31 2
“Ce détail nous a échappé à tous lors des Jeux Olympiques de Paris.“😱😱
2 weeks ago 00:01:39 14
Opening Credits | Dexter: Original Sin
3 weeks ago 00:23:30 1
Terrifying Truths Learned on Carnivore
3 weeks ago 00:36:51 1
💥 Breaking! Protestant Church ⛪ in England 🇬🇧 on Path to Holy Orthodoxy ☦️
3 weeks ago 00:53:40 31
Lily Phillips Slept With 100 Men In One Day and Doesn’t Regret It
4 weeks ago 01:56:37 1
Les secrets à la vue de tous 1/4 ~ Scott Onstott (Secrets in Plain Sight)