完成C基础知识后我应该学到什么。我的意思是,还有什么我应该学习的吗? [英] What sould I learn after finishing C basics .I mean, is there anything else I should learn?

查看:69
本文介绍了完成C基础知识后我应该学到什么。我的意思是,还有什么我应该学习的吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要帮助的人我想创建一个小游戏,所以有任何帮助。



我尝试过:



什么都没有,我试着在完成基础知识后找到一个关于我该做什么的视频。

解决方案

那是比你想象的更大的问题!

C基础知识就是:基本的。 C是一种古老的语言,很多时候很少有新项目被写入 - 它已被C ++(面向对象的C,强大但比C复杂得多)等语言所取代,C#(面向对象,功能强大) ,在很大程度上看起来像C,但在皮肤下非常不同),并且(非常)特定于平台的语言(例如,目标C / iOS,java / Android)



所以创造一个小游戏的学习内容并不像这个那么简单 - 它将在很大程度上取决于你想要运行游戏的地方!

如果它是一个控制台游戏(可能是文本冒险),那么C将正常工作(但你可能需要在文件存储上做很多工作,可能)。

如果是一个Windows游戏,然后C是一个坏主意:C ++或C#会更好(我建议C#,因为它更多初学者友好) - 你可以用C编写Windows应用程序,但这是一项艰苦的工作!你将有很多东西可以学习框架以及它们如何组合在一起以获得更多的东西。

如果它是一部手机游戏,那么C#与Xamarin或手机的原生目标C / Java是要走的路:期待一个巨大的学习曲线!

如果它是一个在线游戏(或者更糟糕的是,多用户在线游戏),那么你就是把自己投入到深层,并且绑定了巨大的权重首先围绕你的脚踝!



所以想想你想要生产什么以及它的工作环境,然后开始计算出你需要的东西。我担心,没有一刀切的路线,我很害怕。


这里讨论一些基础: C中的游戏编程 - 初学者 [ ^ ]

使用 MFC库另见: C和C ++中的游戏编程 - Cprogramming.com [ ^ ]

但是你应该先考虑一下它将是一种游戏,2D,3D,Web等。

另外,看看游戏开发框架,编写3D游戏并自己开发所有3D例程毫无意义。

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.

解决方案

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.


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.


这篇关于完成C基础知识后我应该学到什么。我的意思是,还有什么我应该学习的吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆