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
1 week ago 00:03:23 0
Pocket Option Trading Strategy for Beginners
1 week ago 00:01:58 1
This Changes Everything About the Human Body 😳
1 week ago 00:06:18 2
How did Elon Musk really get so rich—and is his empire starting to crack?
2 weeks ago 00:50:47 3
AIME TON PAYS, POINT! Les extrémistes n’ont pas à choisir pour toi! | Le Grand nettoyage de l’été
2 weeks ago 00:23:00 1
“Absolute scum!“ Tommy Robinson lashes out as Essex erupts over violent clash outside migrant hotel
2 weeks ago 00:03:38 0
Data Engineer Career Path by Zero to Mastery Academy [Use Coupon Code]
2 weeks ago 00:18:58 25
Ça commence à faire beaucoup ...
3 weeks ago 00:11:15 0
Pożar Hotelu w Nowym Brzesku: Dlaczego Mamy Tyle Niewyjaśnionych Pożarów?
3 weeks ago 00:20:56 2
Alexandr Wang l’homme qui implante L’IA dans le cerveau de vos enfants est-il fou ?
3 weeks ago 00:15:04 1
“Race bating moron!“ Humza Yousaf in “lawsuit of his life“ after Elon Musk “white supremacist“ smear
3 weeks ago 00:30:25 0
LA DESCENTE EN EN-FER !? 🤯🥶⚜ (06 84 90 26 50 RDV) #actualites #voyance #cartomancie
3 weeks ago 00:04:14 0
How EVIL VITALITY Really Plays CS2
4 weeks ago 00:32:38 0
Sauve ton argent du contrôle de l’État
4 weeks ago 00:12:59 0
Americans Invented a New Christianity: Here’s Why That’s Terrifying
4 weeks ago 00:51:02 2
CE QUE TIKTOK FAIT À VOTRE ESPRIT… EST IRRÉVERSIBLE | DOSSIERS SECRETS.
4 weeks ago 00:12:56 0
Google’s AI Found a Glitch in Reality — And It’s Getting Worse
1 month ago 00:19:45 4
Гудков: У Арестовича роман с Симоньян! Их застукали вместе! Фото!
1 month ago 00:11:27 0
Neue Regeln am Brenner – DAS MUSST DU JETZT WISSEN
1 month ago 02:53:12 0
Work Music for Deep Focus & Maximum Productivity
1 month ago 00:00:30 2
🌟 Double-sided LED display, double the effect! D-MAX Series🌟 #leddisplay
2 months ago 00:00:19 0
Synchronize World Stock Markets To Tehran Iran Stock Market
2 months ago 00:00:08 0
Economic and Financial Damage
2 months ago 00:16:12 6
War Robots NEW Giveaway 100x Prime Sword Unit-191 | WR Sword Unit Giveaway + Gameplay
2 months ago 00:30:28 2
Vadym Novynskyi: Zelensky’s Mission to End Christianity in Ukraine & Why America Is Still Funding It