Skip to content
ํ”„๋กœ์ ํŠธ

์†Œ๊ฐœ

๐Ÿซ๐ŸŽฎ OCaml Game Engine

๊ฒŒ์ž„ ๋ฐ ์—๋ฎฌ๋ ˆ์ด์…˜

์ด ์ˆ˜์น˜๋ฅผ ์ธก์ •ํ•˜๋Š” ๋ฐฉ๋ฒ•

What you can do

  • Archetype storage
  • Composable plugins
  • User-defined GLSL shaders

์ธก์ •๋œ ์Šคํƒ€ ์ฆ๊ฐ€

in 24h
0
in 7 days
0
in 15 days
0
in 1 month
๊ธฐ๋ก ์ˆ˜์ง‘ ์ค‘

์„œ๋กœ ๊ฒน์น˜๋Š” ๊ธฐ๊ฐ„์˜ ์ˆœ์ฆ๊ฐ€๋Ÿ‰์ด๋ฉฐ ์ผ๋ณ„ ํ•ฉ๊ณ„๊ฐ€ ์•„๋‹™๋‹ˆ๋‹ค. ์ธก์ •๊ฐ’์ด ์—†์œผ๋ฉด ๋น„์›Œ ๋‘ก๋‹ˆ๋‹ค. ์Šคํƒ€๋Š” ๊ด€์‹ฌ๋„๋ฅผ ๋‚˜ํƒ€๋‚ด๋ฉฐ ํ’ˆ์งˆ์„ ๋ณด์žฅํ•˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค.

README.md

Original

๐Ÿซ๐ŸŽฎ 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)

๊ด€๋ จ ํ”„๋กœ์ ํŠธ ์‚ดํŽด๋ณด๊ธฐ

๋ถˆ๋Ÿฌ์˜ค๋Š” ์ค‘โ€ฆ