-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
65 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
--- | ||
title: 杂记 | ||
icon: message | ||
category: | ||
- 杂记 | ||
- 碎碎叨 | ||
--- | ||
|
||
|
||
|
||
<Catalog /> | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
--- | ||
title: 游戏 | ||
icon: message | ||
category: | ||
- 杂记 | ||
- 碎碎叨 | ||
- 游戏 | ||
--- | ||
|
||
|
||
|
||
<Catalog /> | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
> 《黑神话·悟空》是用什么编程语言开发的? | ||
> 《黑神话·悟空》创始人简历 | ||
|
||
最近火爆全球的国产 3A 大作《黑神话·悟空》,你玩了吗?没玩没关系,有人就是对游戏不感冒,我找了个宣发片,一起感受下3A大作的视觉冲击,而且还是我们从小听到大,那猴子🐒的故事。 | ||
|
||
> 什么是 3A 大作: 高成本、高质量、高体量的单机游戏。 | ||
-- 视频 | ||
|
||
<iframe src="//player.bilibili.com/player.html?isOutside=true&aid=706915168&bvid=BV1SQ4y1V7do&cid=1358426416&p=1" scrolling="no" border="0" frameborder="no" framespacing="0" allowfullscreen="true"></iframe> | ||
|
||
说说《黑神话·悟空》用了什么编程语言 | ||
|
||
对于游戏来说,不论是网游、手游、还是单机游戏对流程度都要求很高,而每种技术都有他的瓶颈和天花板,所有技术选型就尤为重要。 | ||
|
||
搞技术的都心里大概知道每个编程语言的性能和优劣势,就像应该没有人用 PHP 写游戏引擎,也没有人用 C 语言写一个业务极度复杂的管理系统。当然 PHP 是全世界最好的编程语言。 | ||
|
||
根据游戏开发公司游戏科学官网的显示,《黑神话:悟空》游戏使用的是虚幻引擎(Unreal Engine): | ||
|
||
也就是他们主要是**C++(也用到C#和其他语言)** | ||
|
||
![img](https://javapub-common-oss.oss-cn-beijing.aliyuncs.com/javapub/202408251011652.png) | ||
|
||
而这个引擎的底层源码主要使用的就是C++。 | ||
|
||
![img](https://javapub-common-oss.oss-cn-beijing.aliyuncs.com/javapub/202408251011617.png) | ||
|
||
![img](https://javapub-common-oss.oss-cn-beijing.aliyuncs.com/javapub/202408251011102.png) | ||
|
||
虚幻引擎属于开源项目,大家自己学习或者开发一些免费的东西是可以直接用的。但如果要开发像《黑神话:悟空》这样的商业产品,那就得给钱了。按照他们的协议,当产品销售超过 100 万 $ 时,就要付 5% 的版税。 | ||
|
||
|
||
不说了,我去学 C++ 了 | ||
|