# Parin: 轻量级D语言2D游戏引擎

Original title: Show HN: Parin – A 2D game engine between raylib and Godot, written in Dlang

> Hacker News story 50118098 · language: zh · submitted 2026-10-16
> Web version: https://zeli.app/zh/story/50118098
> About this feed: https://zeli.app/llms.txt · Agent guide: https://zeli.app/skill.md

▲ 73 · by [Kapendev](<https://news.ycombinator.com/user?id=Kapendev>) · 💬 19
[original](<https://github.com/Kapendev/parin>) · [HN discussion](<https://news.ycombinator.com/item?id=50118098>)

## Summary

Parin 是一款专为 D 语言打造的 2D 游戏引擎，定位介于 raylib 和 Godot 之间。它摒弃了重型引擎的繁琐架构，提供代码驱动的灵活设计，让开发者能自由掌控游戏逻辑。内置像素级物理引擎、灵活对话系统、图集动画库及高效瓦片地图结构，同时支持 Box2D、Steamworks 和 ENet 等扩展。无论是开发 Web 游戏还是桌面应用，Parin 都能以极简的 API 和模块化基础，助你快速构建有趣的游戏体验。

## Key quote

> Parin 提供比小型库更多的指引，却远少于大型引擎的开销，让游戏代码结构完全由你定义。

## HN discussion (19 comments)

### [teleforce](<https://news.ycombinator.com/item?id=50135906>)

> 请查看这篇对 Lewis Nicolle 的采访，他用 D 语言为自己的新游戏《Art of Reflection》打造了一套专属游戏引擎，并解释了为什么 D 语言非常适合游戏引擎开发 [1],[2]。
>
> [1] 为什么选择 D 编程语言？
>
> https://www.youtube.com/watch?v=teWQbYvPBTg
>
> [2] Art of Reflection：
>
> https://store.steampowered.com/app/2290770/The_Art_of_Reflec...

### [xyzzy_apps](<https://news.ycombinator.com/item?id=50135888>)

> 每次我对尝试非 C++ 语言（比如 Rust、Zig、D）感到兴奋时，总会被提醒这些语言在移动端的支持几乎为零。单从强大的移动端支持这一角度来看，值得折腾的语言只有 C# 和 Dart。Java 和 Swift 则与各自平台绑定得太紧。

### [Kapendev](<https://news.ycombinator.com/item?id=50118102>)

> Parin 是我花了大约两年时间开发的 2D 游戏引擎。

---

## Cite

- Page: https://zeli.app/zh/story/50118098
- Date: 2026-10-16
- Source: github.com (https://github.com/Kapendev/parin)
- Hacker News: https://news.ycombinator.com/item?id=50118098

## Other languages

- en: https://zeli.app/story/50118098 · markdown: https://zeli.app/story/50118098.md
- ja: https://zeli.app/ja/story/50118098 · markdown: https://zeli.app/ja/story/50118098.md
- ko: https://zeli.app/ko/story/50118098 · markdown: https://zeli.app/ko/story/50118098.md
- de: https://zeli.app/de/story/50118098 · markdown: https://zeli.app/de/story/50118098.md
- es: https://zeli.app/es/story/50118098 · markdown: https://zeli.app/es/story/50118098.md
- ru: https://zeli.app/ru/story/50118098 · markdown: https://zeli.app/ru/story/50118098.md
