我已有30年未写代码了。然后我用Godot开发了一款太空游戏。
2 分•作者: CosmicGoldRush•大约 1 个月前
两年前,我偶然发现了用于制作游戏的 Godot 引擎。我之前的编程经验是三十年前。我曾是一名雷达设计师,花了数年时间开发用于模拟电磁波传播的软件。我甚至因此获得了一个科学奖项。我跟着 Godot 网站上的教程,然后就一发不可收拾了。
我并没有为这款游戏制定计划。它是自然生长出来的。然而,我有一个愿景:随着地球资源的日益稀缺,人类将不得不超越地球,甚至超越我们自己的太阳系去开采资源。他们将面临来自宇宙的危险,可能是外星人,也可能是坏人,即海盗。游戏最初只有一个宇航员在收集金矿。然后我自然地加入了采矿机器人。为了好玩,我加入了陨石风暴,以及一把激光枪来粉碎陨石。然后我设计了海盗作为反派,所以开发自主机器人枪,类似于太空战争无人机,就显得顺理成章了。接着我设计了外星人,它们会攻击宇航员。在我看来,外星人就像是狂野西部时期的原住民,在保护他们的领土免受入侵。然后开发其他技术,如磁力收集器、磁力排斥器和电磁武器,也就变得有意义了。
两年前,我开始在一台 Linux 笔记本电脑上开发一款游戏。没有团队。没有预算。没有人能保证会有人玩它。只有一个想法,以及无数的时间。还有一些与我妻子的紧张关系,她不满我长时间面对电脑屏幕。
这就是《宇宙淘金热》诞生的故事。
**我为什么开发它**
我是《模拟城市》的粉丝。我喜欢《军团要塞》的快节奏。我喜欢《帝国时代》和《幕府将军》中战术战斗与战略资源之间的平衡。
我觉得很多 3A 级游戏在 3D 画面上很出色,但在目标和机制上却很薄弱。
我想要一些原创的东西,所以我忽略了其他科幻/太空游戏,专注于我个人的愿景。我知道很多人不会喜欢它,但我相信它会找到喜欢它的人群。
**为什么选择 Godot**
我坚信开源。多年来,我知道我必须离开 Windows,因为它有间谍行为的遥测数据。我花了一整年的时间才完全转向 Linux,而人工智能在让这个转变更容易方面起到了很大作用。所以 Godot 是一个显而易见的选择。此外,Unity 的价格丑闻让我望而却步。即使 Godot 当时比较弱,我也觉得它是正确的选择。现在 Godot 越来越成为显而易见的选择。
我使用 Godot 的经验是,它从未让我失望过。我从未被任何东西阻碍过。我喜欢它加载速度超快。我喜欢 GDScript 语言。我对它优雅的面向对象结构感到兴奋。唯一的缺点是:我希望编辑器里能有两个并排的窗口,而且插件库能更丰富。但这都是小问题。
**目前的进展**
游戏功能已完整,目前处于测试阶段。核心循环已经实现。九种技术都已实现。七个太阳系都可以探索。两个敌对派系——海盗和外星人——都已完全投入使用,拥有自己的人工智能行为和武器。
我现在需要的是玩家。真正的玩家,他们会挑战这些系统,找出极限,并告诉我哪些感觉是对的,哪些感觉是错的。
这款游戏名为《宇宙淘金热》(Cosmic Gold Rush)。它已在 Steam 上架,并且有免费试玩版。
查看原文
Two years ago, I accidentally discovered the Godot Engine for making games. My coding experience was 30 years back. I was a radar designer and I spent years making software for simulating propagation of electromagnetic waves. I even got a scientific prize for it. I followed the tutorial on the Godot website and I was hooked.<p>I did not have a plan for the game. It grew organically. However I had a vision: with Earth's resources getting scarcer, Humanity will have to go beyond Earth and even beyond our own solar system in order to mine for resources. It will face celestial dangers, probably aliens, and also bad humans, ie, Pirates. It started with a single astronaut collecting gold ore. Then of course I added mining robots. For fun, I added meteor storms, and a laser gun to shatter the meteors. Then I designed villains as pirates, so it made sense to develop autonomous robot guns, sort of spatial war drones. Then I designed Aliens, that are attacking the astronaut. In my mind, Aliens are like the indigenous peoples of the Far West that are protecting their territory from invasion. Then it made sense to develop other technologies like the Magnetic Harvester, the Magnetic Repulsor and an Electro Magnetic weapon.<p>Two years ago I started building a game on a Linux laptop. No team. No budget. No guarantee anyone would ever play it. Just an idea, and a lot of hours. And some tension with my wife that resented my long hours facing a computer screen.
This is the story of how Cosmic Gold Rush was born.<p>WHY I BUILT IT
I was a fan of Sim City. I loved the fast action of Team Fortress. I love the balance between tactic fights and strategic resources in Age of Empires and Shogun.
I felt that a lot of AAA games were strong on 3D glitz and weak on purpose and mechanics.
I wanted something original, so I ignored other Sci-Fi/Space games in order to concentrate on my personal vision. I know that many will not like it, but I am certain that it will find its niche of people who will enjoy it.<p>WHY GODOT
I am a believer in open source. For years I knew that I had to leave Windows because of its spying telemetry. It took me a full year to switch completely to Linux, and AI helped a lot in making that transition easier. So Godot was an obvious choice. Plus I was put off by the pricing scandal around Unity. Even if Godot was weaker at the time, I felt that it was the right choice. Now Godot is increasingly becoming the obvious choice.
My experience with Godot is that it never failed me once. I was never blocked by anything. I love the way it loads super fast. I love the language GDScript. I am enthusiastic about its elegant object oriented structure. Only weaknesses: I wish that I could open 2 side by side windows in the editor, and also that the plugin library was richer. But this is very minor.<p>WHERE IT STANDS TODAY
The game is feature-complete and in beta. The core loop works. The 9 technologies are implemented. The 7 solar systems are explorable. The two enemy factions — Pirates and Aliens — are fully operational with their own AI behavior and weapons.
What I need now is players. Real players who will push the systems, find the edges, and tell me what feels wrong and what feels right.
The game is called Cosmic Gold Rush. It is on Steam and the demo is free.