1 Attachment(s)
Project: Classic Asteroid Game coded in C with SDL2 (GNU/LINUX & Windows)
Hello,
This is my first ever game in C with SDL2.
It's simple but it might help others to make their own games in C.
Code here -> GitHub - velorek1/asteroid: Classic Asteroid Game coded with SDL2 in C
Cheers,
Velorek
Screenshot:
Attachment 16381
Collision detection needs improvement
Quote:
Originally Posted by
stahta01
It built and ran okay; but, I do not remember the ability of going backwards with the arcade unit.
And, I am not certain about the force field; but, you likely played it on a game station instead of real upright arcade unit like I did in the early 1980s.
Built under MSys2 MinGW64 64 bit under Windows 7 using mingw32-make.exe
Tim S.
Glad that it compiled. :) Let's say then that it's inspired by Asteroid hehe
The idea for a force field actually came up as was a way of dealing with collision, which is not pixel perfect. For now, I've only been able to implement a rectangle over rectangle collision function.
Thank you for your feedback!
Velorek
.