A fast 2D and 3D game engine — TypeScript SDK, C++/WebAssembly core, visual editor. Ship one project to web, desktop, WeChat MiniGames, playable ads, and native Android / iOS.
TypeScript 2d-game-engine3d3d-game-engineandroidcppecsgame-editorgame-enginegamedeviostypescriptwebassemblywebglwebgpuwechat-minigame
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 660 250" width="660" height="250" role="img"><text x="150" y="22" fill="#c7cdd8" font-size="13" font-weight="600" text-anchor="middle" font-family="ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,sans-serif">Sorting layers</text><text x="510" y="22" fill="#c7cdd8" font-size="13" font-weight="600" text-anchor="middle" font-family="ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,sans-serif">Y-sort (top-down)</text><line x1="330" y1="40" x2="330" y2="228" stroke="#2b2f3a" stroke-width="1"/><rect x="30" y="44" width="150" height="66" rx="7" fill="#4b5563" stroke="#0d0e11" stroke-width="1.5"/><text x="92" y="62" fill="#ffffff" font-size="12" font-weight="600" text-anchor="middle" font-family="ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,sans-serif">Background · 0</text><rect x="76" y="84" width="150" height="66" rx="7" fill="#3b82f6" stroke="#0d0e11" stroke-width="1.5"/><text x="138" y="102" fill="#ffffff" font-size="12" font-weight="600" text-anchor="middle" font-family="ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,sans-serif">Default · 1</text><rect x="122" y="124" width="150" height="66" rx="7" fill="#22c55e" stroke="#0d0e11" stroke-width="1.5"/><text x="197" y="161" fill="#ffffff" font-size="12" font-weight="600" text-anchor="middle" font-family="ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,sans-serif">Foreground · 2</text><defs><marker id="ah" markerWidth="8" markerHeight="8" refX="6" refY="4" orient="auto"><path d="M0 0 L8 4 L0 8 z" fill="#8b91a0"/></marker></defs><line x1="250" y1="70" x2="296" y2="150" stroke="#8b91a0" stroke-width="1.4" stroke-dasharray="4 3" marker-end="url(#ah)"/><text x="150" y="232" fill="#8b91a0" font-size="11" font-weight="600" text-anchor="middle" font-family="ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,sans-serif">higher layer = in front</text><line x1="380" y1="210" x2="640" y2="210" stroke="#2b2f3a" stroke-width="1"/><circle cx="466" cy="120" r="15" fill="#e0b341" stroke="#0d0e11" stroke-width="1.5"/><rect x="494" y="118" width="12" height="92" rx="2" fill="#7c5a3a"/><polygon points="500,62 542,140 458,140" fill="#2f9e57" stroke="#0d0e11" stroke-width="1.5"/><circle cx="500" cy="182" r="17" fill="#4aa3ff" stroke="#0d0e11" stroke-width="1.5"/><text x="408" y="116" fill="#8b91a0" font-size="10" font-weight="600" text-anchor="start" font-family="ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,sans-serif">behind</text><line x1="440" y1="118" x2="456" y2="120" stroke="#8b91a0" stroke-width="1"/><text x="530" y="186" fill="#8b91a0" font-size="10" font-weight="600" text-anchor="start" font-family="ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,sans-serif">in front</text><line x1="528" y1="182" x2="515" y2="182" stroke="#8b91a0" stroke-width="1"/><text x="510" y="232" fill="#8b91a0" font-size="11" font-weight="600" text-anchor="middle" font-family="ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,sans-serif">lower on screen = in front</text></svg>