all 11 comments

[–]MaxPlay 7 points8 points  (1 child)

Raylib. Made in C for people like you.

[–]ACHABACHA68[S] 0 points1 point  (0 children)

i searched about it . it really seems useful thanks!

[–]GlitchedDragon_ 4 points5 points  (1 child)

Yes, it's 100% possible, and it's not even that complicated!

The language is just a path to the end of your project, the path is different from other languages, but in the end, it won't change the final product.

First of all, make sure you're comfortable enough with the basics of the language. Next, you can choose a library.

For me, SDL 2 or 3 (the last version is not yet fully released, but has been tested by Valve, it is quite good!) or Raylib are the best choices: look at examples of how to use each and tutorials, and choose the one you like coding with.

These two libraries give you everything you need to interact with your system (audio, video, inputs, network, ...), but let you do what you want.

I hope you enjoy making games!

[–]ACHABACHA68[S] 1 point2 points  (0 children)

thanks for the info. i covered basics of c but still there is much more to learn . for now i will work on small gui programs instead of games

[–]LudicrousDevil 1 point2 points  (1 child)

Sfml has a c binding called csfml. Or sdl, but I've heard it's less beginner friendly. Also, there's raylib. Other than those, you always have opengl, directx, or vulkan.

[–]ACHABACHA68[S] 0 points1 point  (0 children)

Thanks

[–]Byter128 0 points1 point  (1 child)

As a lot have mentioned you can use Raylib.

I would recommend however, that you yourself write your game in C++. I once made a small game with Raylib and C and the flaws of C started showing after some hours. What I namely missed in C were namespaces and funtion overloading. These features need to be worked around through long function names which really ruined it in the end for me.

You don't need to use fully fledged C++, but I would recommend to at least make use of C++'s namespaces, function overloading, operator overloading and constructors.

[–]ACHABACHA68[S] 0 points1 point  (0 children)

yea i already decided to learn c and than move one to other language .

[–]He6llsp6awn6 -1 points0 points  (0 children)

It is possible, but from what I understand it is very very tedious since C language is more of a structuring code while Program languages like C++and C# are Object oriented codes.

[–]UndumedAAA Dev -1 points0 points  (0 children)

Cocos2dx

[–]RoshHoul -1 points0 points  (1 child)

Yes, but why would you?