项目
在 GitHub 查看
claby2/camlcade
关于
🐫🎮 OCaml Game Engine
游戏与模拟器可以做什么
- Archetype storage
- Composable plugins
- User-defined GLSL shaders
实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文🐫🎮 camlcade
[!WARNING] Still in development. Not ready for production.
camlcade is an OCaml game engine. It features an archetype-based entity-component system (ECS) and an OpenGL-based renderer.
Features
- Archetype storage
- Composable plugins
- User-defined GLSL shaders
- Custom meshes
Examples
To see how to use camlcade, see examples/.
Run an example with:
# Runs the "shapes" example
dune exec shapes
https://github.com/user-attachments/assets/8d5ea29c-ec0d-452f-b60a-a0c7129d0e10
https://github.com/user-attachments/assets/95a5e881-ff3a-4c3d-b545-769d68b85b8e
Development
Project Structure
lib
├── ecs # Entity-component system
├── graphics # OpenGL-based renderer
├── input # Input and event handling
├── math # Math utilities
├── storage # Sparse storage
└── transform # Transform component
Quick Start
- Build:
dune build - Test:
dune test - Benchmark:
dune exec bench - Documentation:
dune build @doc(see_build/default/_doc/_html/index.html)
探索相关项目
加载中…