Neotolis Engine
Minimalist game engine for Web/WASM
Tiny output · Zero magic · Code-first · C17
Philosophy
-
Code-first
Game controls the main loop. The engine gives building blocks, not a pipeline.
-
Explicit over implicit
You see everything. No hidden behavior, no magic behind the scenes.
-
Keep it simple
Less code is better. Simplify further when possible.
-
Tiny size
Every byte counts. Binary size tracked on every PR.
-
Set of modules
Use only what you need.
-
Prebuilt assets
Source formats packed into binaries at build time. Runtime loads packs on demand, no parsers.
Features
- Code-first — Game controls the main loop. The engine gives building blocks, not a pipeline.
- Explicit over implicit — You see everything. No hidden behavior, no magic behind the scenes.
- Keep it simple — Less code is better. Simplify further when possible.
- Tiny size — Every byte counts. Binary size tracked on every PR.
- Set of modules — Use only what you need.
- Prebuilt assets — Source formats packed into binaries at build time. Runtime loads packs on demand, no parsers.
Examples
Atlas Packing
Atlas Packing
52.590 KB engine + 1.130 MB resources
Size breakdown
index.html 1.205 KB
index_simd.wasm 42.819 KB
index.wasm 43.319 KB
index_simd.js 8.565 KB
index.js 8.561 KB
Engine 52.590 KB
assets/atlas_demo.ntpack 1.130 MB
Resources 1.130 MB
Total 1.181 MB
Bunnymark
Bunnymark
213.680 KB engine + 830.217 KB resources
Size breakdown
index.html 1.208 KB
index_simd.wasm 203.724 KB
index.wasm 198.559 KB
index_simd.js 8.748 KB
index.js 8.743 KB
Engine 213.680 KB
assets/bunnymark_hd.ntpack 815.471 KB
assets/bunnymark_sd.ntpack 14.746 KB
Resources 830.217 KB
Total 1.019 MB
Shape Renderer Bench
Shape Renderer Bench
45.942 KB engine
Size breakdown
index.html 1.209 KB
index_simd.wasm 37.261 KB
index.wasm 37.373 KB
index_simd.js 7.473 KB
index.js 7.468 KB
Engine 45.942 KB
Total 45.942 KB
Hello
Hello
12.878 KB engine
Size breakdown
index.html 1.201 KB
index_simd.wasm 8.433 KB
index.wasm 8.138 KB
index_simd.js 3.244 KB
index.js 3.239 KB
Engine 12.878 KB
Total 12.878 KB
RTT Showcase
RTT Showcase
109.521 KB engine + 9.342 KB resources
Size breakdown
index.html 1.209 KB
index_simd.wasm 99.856 KB
index.wasm 101.418 KB
index_simd.js 8.455 KB
index.js 8.450 KB
Engine 109.521 KB
assets/rtt_showcase.ntpack 9.342 KB
Resources 9.342 KB
Total 118.862 KB
9-Slice Scaling
9-Slice Scaling
92.303 KB engine + 17.604 KB resources
Size breakdown
index.html 1.207 KB
index_simd.wasm 82.472 KB
index.wasm 83.213 KB
index_simd.js 8.624 KB
index.js 8.619 KB
Engine 92.303 KB
assets/slice9_demo.ntpack 17.604 KB
Resources 17.604 KB
Total 109.907 KB
Spinning Shapes
Spinning Shapes
45.103 KB engine
Size breakdown
index.html 1.207 KB
index_simd.wasm 36.766 KB
index.wasm 37.236 KB
index_simd.js 7.130 KB
index.js 7.125 KB
Engine 45.103 KB
Total 45.103 KB
Sponza
Sponza
209.422 KB engine + 65.890 MB resources
Size breakdown
index.html 1.202 KB
index_simd.wasm 199.527 KB
index.wasm 194.596 KB
index_simd.js 8.692 KB
index.js 8.688 KB
Engine 209.422 KB
assets/sponza_core.ntpack 3.222 KB
assets/sponza_full.ntpack 57.965 MB
assets/sponza_geo.ntpack 2.344 MB
assets/sponza_tex.ntpack 5.578 MB
Resources 65.890 MB
Total 66.094 MB
Text Rendering
Text Rendering
51.898 KB engine + 7.583 MB resources
Size breakdown
index.html 1.205 KB
index_simd.wasm 42.068 KB
index.wasm 42.764 KB
index_simd.js 8.625 KB
index.js 8.620 KB
Engine 51.898 KB
assets/text_base.ntpack 12.110 KB
assets/text_cjk.ntpack 7.571 MB
Resources 7.583 MB
Total 7.633 MB
Textured Quad
Textured Quad
53.040 KB engine + 781.960 KB resources
Size breakdown
index.html 1.208 KB
index_simd.wasm 43.267 KB
index.wasm 43.316 KB
index_simd.js 8.565 KB
index.js 8.561 KB
Engine 53.040 KB
assets/base.ntpack 708 B
assets/lenna_hires.ntpack 777.788 KB
assets/lenna_pixel.ntpack 3.480 KB
Resources 781.960 KB
Total 835.000 KB
3D UI
3D UI
109.397 KB engine + 16.582 KB resources
Size breakdown
index.html 1.207 KB
index_simd.wasm 99.565 KB
index.wasm 101.748 KB
index_simd.js 8.625 KB
index.js 8.620 KB
Engine 109.397 KB
assets/ui_3d_demo.ntpack 16.582 KB
Resources 16.582 KB
Total 125.979 KB
UI Showcase
UI Showcase
173.785 KB engine + 122.155 KB resources
Size breakdown
index.html 1.208 KB
index_simd.wasm 163.750 KB
index.wasm 166.340 KB
index_simd.js 8.827 KB
index.js 8.822 KB
Engine 173.785 KB
assets/ui_showcase.ntpack 122.155 KB
Resources 122.155 KB
Total 295.940 KB