Making a game in C from scratch! Ep 16: [Optimizing the Game (5x faster!), Programming a Profiler]
Hello friends!
I keep on making (and live streaming) the game. This time: engine optimizations!
This was the longest and craziest stream so far!
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 software rendering.
We got the menu from running 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's (at least) 8 million pixels per frame!
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
Check the stream out, if you have any questions, let me know! :)
You can also watch the WHOLE development process of the game (from the very first line of code, going through the renderer, audio, gameplay, save system, multithreading, menu, and so much more!) on Youtube: www.youtube.com/DanZaidan
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: https://www.twitch.tv/danzaidan
In the next stream, we'll go back to gameplay programming to improve it and make more levels! See you then. ;)
Files
Get Break Arcade Games Out (Open Source)
Break Arcade Games Out (Open Source)
What if Breakout was the only arcade game people could make? An open-source game, written entirely on a live stream.
Status | Released |
Author | Dan Zaidan |
Genre | Action, Educational |
Tags | 2D, Arcade, Breakout, Fast-Paced, Open Source, Pixel Art, sourcecode |
Languages | English |
More posts
- Source Code WalkthroughSep 28, 2019
- Bug FixesSep 25, 2019
- First Update!Sep 22, 2019
- GAME RELEASE!Sep 20, 2019
- Game RELEASE DATE and Livestream!Sep 16, 2019
- Free Source Code of the Complete Game!Sep 15, 2019
- The GAME is DONE!Sep 13, 2019
- Making a game in C from scratch! Ep 22: [Game Polish, Config File Parsing]Sep 06, 2019
- Adding the finishing touches to the game - LivestreamSep 02, 2019
- Break Arcade Games Out - Wishlist on Steam!Aug 23, 2019
Leave a comment
Log in with itch.io to leave a comment.