MENU

Fun & Interesting

2D physics game programming in C, retro style | Gamedev the hard way #2

NCOT Technology 10,171 lượt xem 8 months ago
Video Not Working? Fix It Now

Join me on a journey as I attempt to write a game for my Agon Light using nothing but raw C programming. In this second episode I figure out how to make a very basic 2D rigid body physics system work.

It doesn't matter if you don't have an Agon Light, I'm bringing you along for the ride. We'll be looking at how games deal with the objects they manipulate, and how to detect and resolve collisions in 2D.

The code for my game library that I'm building is available here
https://github.com/ncot-tech/agon-template

A longer writeup of the game and my ideas is available here
https://ncot.uk/writing-a-game-the-hard-way-from-scratch-using-c-part-2/

If you like this nonsense, consider supporting the channel
https://ncot.uk/support

#linux #programming #gamedev #agon #z80 #cprogramming

Comment