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
7
1
6 months ago 00:14:26 1
Russia SEIZES US-Controlled Land, Putin War Budget Surges, Lavrov-China Economic Pledge
6 months ago 00:27:14 1
But what is a GPT? Visual intro to transformers | Chapter 5, Deep Learning
6 months ago 00:00:07 1
Scoring a MAD GOAL with 5* Skills Zambrotta
6 months ago 00:31:15 1
Comment commencer sur Amazon KDP
6 months ago 00:00:21 1
maybe I should just workout at home…
6 months ago 00:02:52 1
☘️ St. Patrick’s Day for Kids | 17 March | History of St. Patrick’s Day | Twinkl USA
6 months ago 00:37:33 1
THE ICEBERG V2 - Best 3X3 Clan Base In RUST? Open Core + Widegap | Rust Building Tutorial 2023
6 months ago 00:31:09 1
THE TUNDRA - MASSIVE Rust Clan Base | Open Core & Widegap | Build Tutorial 2022
6 months ago 00:16:35 1
Красная Нить, Зачем и в Чём её Сила? Горецкий Александр.
6 months ago 00:02:38 1
PROMOCODES FOR FREE ITEMS! CUTE ROBLOX
6 months ago 00:14:23 1
This UNUSUAL Crochet Pattern is a SHOWSTOPPER! 💥 👌 Easy for Beginners, Gorgeous for Experts!
6 months ago 00:11:50 1
ORIGINAL Crochet Pattern for Beginners! ❤️ 💥 SUPER EASY & FAST Crochet Stitch for Blankets and Bags
6 months ago 00:20:06 1
HAKKEN AND GABBER MEGA COMPILATION 2023
6 months ago 00:50:55 1
Höcke allein gegen alle | Faktencheck & Kommentar zum TV-Duell
6 months ago 00:14:05 1
Why Tire Companies Love EVs
6 months ago 04:07:28 1
What’s New in Cinema 4D 2024.4 | The 4 Hour Complete Guide. All New Particle System!
6 months ago 00:05:15 1
Non-Euclidean Worlds Engine
6 months ago 00:14:35 1
Burger King Whopper Remake | The Cowboy VS the King!
6 months ago 00:49:57 1
WATERCOLOR Painting TUTORIAL - How to Paint APPLE BLOSSOM FLOWERS
6 months ago 00:00:00 1
🔴БИТВА СТРИМЕРОВ НА 100К СКОРО ▪ Заказ клипа в описании ▪ pubgmobile пубг пабг стрим
6 months ago 00:32:59 1
Alexandria “1st Lady of 1500“ Dopson (Beyoncé, Nipsey Hussle) - Pensado’s Place #583
6 months ago 01:20:52 1
Nexxus 604 - Alien Planet - Psychedelic trance mix 2024 • (4K AI animated music video)
6 months ago 00:04:22 1
Nordvpn Review 🤑 What is the Most Safe VPN in The World?