跳到正文
原文
Hacker News · 首页· maxilevi·· 2026-10-23精选AI 评分48

作者分享高中时期从零手写的3D开放世界游戏 Hedra

Hedra is a 3D open world game I wrote from scratch while in highschool

AI 导读

作者分享了 Hedra,一款他高中时期为学习 OpenGL 而从零开始编写的3D开放世界游戏,历时近10年演变为完整的游戏与引擎,包含动画、渲染效果、动态地形等,约10万行代码,支持原生 Linux 和 Windows。作者感慨在 AI 辅助编程的今天,手写10万行代码已像是上个时代的产物。

推荐理由

作者公开了高中时期手写约10万行代码的3D游戏引擎,可作为长期个人项目从学习到成形的参考案例。

正文 · 原文

I started this game almost 10 years ago in high school as a way to learn OpenGL. Scope creep quickly took over, and it eventually became a full 3D game and engine with animations, rendering effects, dynamic terrains, etc, with ~100k lines of code and native Linux and Windows support.

Thought I'd share it! With AI coding now, it feels like a relic of another era. Crazy to imagine writing 100k lines by hand today!

来源:Hacker News · 首页 · news.ycombinator.com