Loading page...Загружаем страницу...正在加载页面...
AtlasRepo

I built a lightweight 2D Web Game Engine in Pure Vanilla JS (BeeEngine v2.8.4)

说明与用途

BeeEngine 是一个使用纯 JavaScript 构建的轻量级 2D 游戏引擎,包含可视化调试器、状态图动画器、音频混音器和物理系统,完全不依赖外部库。

问题

Develop a clean, modular 2D game engine without heavy frameworks or complex build setups.

结果

BeeEngine delivers a lightweight, modular 2D game engine with zero external dependencies, featuring a visual inspector, state‑graph animation, robust audio mixer, and physics system, all built in pure Vanilla JavaScript.

工作流

  • Define project structure with core modules and sub‑packages
  • Implement core loop and system coordinator in BeeEngine.js
  • Add audio mixer with bus hierarchy and spatial panning
  • Create visual debugger BeeLadybug for hitbox overlay
  • Develop state‑graph animator BeeAnimator with priority, lock, and transition predicates
  • Integrate input system supporting keyboard, mouse, touch, and virtual joysticks
  • Build UI engine BeeUI with flex‑like layouts and nine‑slice rendering
  • Test engine with visual demo in main.js

证据

Built with 100% pure Vanilla JS.

来源

Custom built-in visual inspector (BeeLadybug).

来源

State-Graph Animator, not just clips.

来源

  • 记录日期: 2026-10-01T22:10:54.202Z