Making a game in C from scratch! Ep 16: [Optimizing the Game (5x faster!), Programming a Profiler]

Опубликовано: 01 Сентябрь 2026
на канале: Dan Zaidan
2,119
24

PLAY the game for FREE on STEAM: https://store.steampowered.com/app/11...
SOURCE CODE on GITHUB: https://github.com/DanZaidan/break_ar...

This was the longest and craziest stream so far! I am creating an entire game in C from scratch and live streaming the entire process!

You can download the game and the source code for free in this link:
https://danzaidan.itch.io/break-arcad...
You can watch me live and help me make the game here:
  / danzaidan  

This stream, we started off by solving a few pending bugs. Then we decided to dive into optimizations! Firstly, I programmed a profiler that let us know, compare and understand where the game is running slowly. Then, we discussed some optimization options and optimized the rendering. We got from running the menu at 4k resolution at 66ms (15 frames per second) all the way to 16ms (60 FPS!) and there are still a lot of stuff we can improve! That was a fun ride (especially at the end... hahah I really wanted to get 60fps (and that's our software renderer (no GPU) running at 4k! - Processing over 8 MILLION pixels! Computers today are crazy fast! :D

In the next stream, we'll go back to gameplay programming and improve it and make more levels!