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:
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:
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.
"...a computer is a stupid machine with the ability to do incredibly smart things, while computer programmers are smart people with the ability to do incredibly stupid things. They are,in short, a perfect match.." Bill Bryson
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
.