| Crates.io | moltrun |
| lib.rs | moltrun |
| version | 1.7.2 |
| created_at | 2025-11-11 14:23:54.880655+00 |
| updated_at | 2025-11-26 15:18:19.162864+00 |
| description | High-performance game engine library with AI capabilities, built on wgpu for modern 3D graphics and physics simulation |
| homepage | |
| repository | https://gitlab.com/soothseeker/studio/moltrun-core |
| max_upload_size | |
| id | 1927382 |
| size | 234,496 |
다중 입력 소스를 지원하는 실시간 상호작용형 AI 엔진입니다. 실시간으로 다양한 입력(사용자 입력, 환경 변화, 다른 AI의 출력 등)을 처리하고, 시각/청각/물리적 피드백을 생성할 수 있는 통합 AI 엔진을 목표로 합니다.
다중 입력 처리
다중 출력 생성
AI 모델 연계
src/
├── core/ # 기반 추상화 계층
│ ├── system.rs # System trait (게임 로직 인터페이스)
│ ├── component.rs # Component trait (데이터 인터페이스)
│ └── entity.rs # Entity, EntityId (컴포넌트 컨테이너)
│
├── runtime/ # 실행 인프라 계층
│ ├── engine.rs # Engine (최상위 진입점)
│ ├── world.rs # World (ECS 컨테이너)
│ ├── scheduler.rs # SystemScheduler (시스템 실행 관리)
│ ├── asset/ # AssetManager (텍스처 로딩/캐싱)
│ └── scene/ # SceneManager (YAML 기반 씬 관리)
│
├── systems/ # System 구현체들
│ └── render/ # RenderSystem (화면 렌더링)
│ ├── gpu/ # GPU 추상화 (Device, Queue, Pipeline)
│ ├── resources/ # GPU 리소스 (Vertex, Texture)
│ ├── pipeline/ # 렌더링 로직 (Batch, Commands, Transform)
│ └── shaders/ # WGSL 셰이더
│
├── components/ # Component 구현체들
│ ├── transform.rs # Transform (위치, 회전, 크기)
│ ├── sprite.rs # Sprite (스프라이트 렌더링)
│ └── text.rs # Text (텍스트 렌더링)
│
└── math/ # 수학 유틸리티 (Vec2 등)
pub(super): 부모 모듈에서만 접근 (내부 구현 숨김)pub: 외부 크레이트에 공개 (공개 API)wsl --install -d Ubuntu-24.04curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | shsudo apt update && sudo apt install \
build-essential \
clang \
cmake \
ninja-build \
pkg-config \
libx11-dev libxi-dev libgl1-mesa-dev libwayland-dev \
libssl-dev curl git
# 전체 프로젝트 빌드
cargo build
# 테스트 실행
cargo test
간단한 2D 게임을 통해 핵심 기능을 검증합니다.