Click here to Skip to main content
16,004,686 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I need help guys I want to create a little game so is there any help.

What I have tried:

nothing, I tried to find a video about what I should do after finishing the basics.
Posted
Updated 26-May-17 20:45pm
v2
Comments
Patrice T 27-May-17 2:05am    
Define your 'basics'

That's a bigger question than you think!
The "C basics" are just that: basic. C is an old language, and very, very few new projects are written in it theses days - it has been superseded by languages such as C++ (object oriented C, powerful but a lot more complex than C), C# (object oriented, powerful, looks like C to a large extent but is very very different under the skin), and languages which are (pretty much) specific to the platform (objective C / iOS, java / Android for example)

So "what to learn" to create a little game isn't as simple as "this" - it's going to depend to a huge extent on where you want to run your game!
If it's a console game (a text adventure maybe) then C will work fine (but you'll have to do a lot of work yourself on file storage, probably).
If it's a Windows game, then C is a bad idea: C++ or C# would be better (and I'd suggest C# as it's a lot more "beginner friendly") - you can write Windows apps in C but it's a lot of hard work! You will have a lot to learn about the frameworks and how it all fits together to get anything much up and running.
If it's a mobile phone game, then either C# with Xamarin, or the phone's native objectiveC / Java is the way to go: expect a huge learning curve!
If it's an online game (or worse, multiuser online game) then you are throwing yourself in at the deep end, and tying huge weights round your ankles first!

So think about what you want to produce and the environment it is to work in, then start working out what that needs. There is no "one size fits all" route that you can just learn, I'm afraid.
 
Share this answer
 
Some basics are discussed here: Game Programming in C - For Beginners[^]
For using MFC library also see: Game Programming in C and C++ - Cprogramming.com[^]
But you should first think about what kind of game it will be, 2D, 3D, Web etc.
Also take a look at game developing frameworks, it makes little sense to write a 3D game and develop all 3D routines yourself.
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900