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
Commits on master
fix(assets): a cooked MP3 starts with its first frame, not the encoder's flush bytes
636a8b7 yhh committed 16 days ago
feat(render): uvRectFromPixels, the one pixel-rect to UV conversion, and docs for y-up UV space
c8da709 yhh committed 16 days ago
fix(ui): nine-slice borders reach the native core, and a short box keeps its corners round
1e74970 yhh committed 16 days ago
feat(camera): CameraView.pointerToWorld / pointerRay take the pointer as Input reports it
b339b4d yhh committed 16 days ago
fix(camera): CameraView and PresentedCameraView are published on the native core too
7254502 yhh committed 16 days ago
feat(assets): a texture a mesh draws starts small while texture streaming is on, and grows to what its views need
a0b6bad yhh committed 16 days ago
feat(render): texture streaming holds each mesh texture at the size its views need, measured per draw from the mesh's UV density, and moves it behind the same handle
f81f313 yhh committed 16 days ago
feat(render): an Impostor stands a picture of its mesh in once it is small, taken from many directions by the engine's own cameras and drawn as one batched card per view
19ddbcd yhh committed 16 days ago
chore(aot): the engine ABI digest and the compiler's generated fixture follow the Billboard component
348dd0a yhh committed 16 days ago
feat(render): Billboard turns a mesh to each view that draws it, flat in the view plane or upright about world up, without writing its Transform
19eaef1 yhh committed 16 days ago
feat(render): the device counts every draw a frame asks of the GPU, every pass included, and a quality level holds a draw call budget against it
f001348 yhh committed 16 days ago
feat(gameplay): FirstPersonController looks, walks, jumps and crouches in a CharacterController3D; FirstPersonViewModel draws a held thing with a second camera so it does not go through walls
c399f3c yhh committed 16 days ago
feat(physics3d): RagdollJoint gives a bone no body or limits of its own; the ragdoll plan is shared with the editor, which draws it
8a357b3 yhh committed 16 days ago
feat(spline): a terrain band's lip can be drawn with an image repeating along the surface; PathFollower is shown to answer a timeline track or graph node by property path
78b80bb yhh committed 16 days ago
docs(performance): the measured static batching example states its shapes, materials and pixel difference as measured
443d84b yhh committed 16 days ago
docs(performance): static batching has a measured example on dusk-fort
48c7a2f yhh committed 16 days ago
feat(physics3d): a ragdoll's knees and elbows are one-way hinges, folding back and forward from the pose they start in
66f2af9 yhh committed 16 days ago
feat(physics3d): a ragdoll's joints are limited by their part of the body (spine stiff, shoulder loose, shin almost a hinge), read from bone names
11f9365 yhh committed 16 days ago
feat(import): far LOD levels may collapse across borders and seams and shed specks, so they reach their budget
fe068ce yhh committed 16 days ago
fix(physics3d): a ragdoll keeps the animation running and puts the bodies' pose over it, finds a skin below its entity, and defaults to looser limits
f7885ac yhh committed 16 days ago
feat(physics3d): Ragdoll turns a skinned character's bones into jointed bodies and blends back to the animation
f95759e yhh committed 16 days ago
fix(spline): TerrainBand2D and PathFollower pull the spline module into a build; a band rebuilds a mesh the editor cleared
c4f2467 yhh committed 16 days ago
feat(spline): TerrainBand2D draws a 2D ground along a Spline, with a surface lip and an optional chain collider
463d6f9 yhh committed 16 days ago
feat(spline): PathFollower moves an entity along a Spline at a steady speed (once, loop, ping-pong)
57976ea yhh committed 16 days ago
feat(native): the target frame rate reaches the host, which paces its display-driven loop to it
3822636 yhh committed 16 days ago
fix(android): ask the system for 60 fps and clock frames by the vsync timestamp
8e8dae6 yhh committed 16 days ago