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
48.034 KB engine + 1.130 MB resources
Size breakdown
index.html 1.252 KB
index_simd.wasm 39.263 KB
index.wasm 39.151 KB
index_simd.js 7.520 KB
index.js 7.515 KB
Engine 48.034 KB
assets/atlas_demo.ntpack 1.130 MB
Resources 1.130 MB
Total 1.177 MB
Shape Renderer Bench
Shape Renderer Bench
42.602 KB engine
Size breakdown
index.html 1.256 KB
index_simd.wasm 34.570 KB
index.wasm 34.430 KB
index_simd.js 6.775 KB
index.js 6.771 KB
Engine 42.602 KB
Total 42.602 KB
Bunnymark
Bunnymark
353.357 KB engine + 830.214 KB resources
Size breakdown
index.html 1.255 KB
index_simd.wasm 344.349 KB
index.wasm 326.783 KB
index_simd.js 7.754 KB
index.js 7.749 KB
Engine 353.357 KB
assets/bunnymark_hd.ntpack 815.432 KB
assets/bunnymark_sd.ntpack 14.782 KB
Resources 830.214 KB
Total 1.156 MB
Hello
Hello
12.909 KB engine
Size breakdown
index.html 1.249 KB
index_simd.wasm 8.416 KB
index.wasm 8.103 KB
index_simd.js 3.244 KB
index.js 3.239 KB
Engine 12.909 KB
Total 12.909 KB
RTT Showcase
RTT Showcase
107.495 KB engine + 9.399 KB resources
Size breakdown
index.html 1.256 KB
index_simd.wasm 98.648 KB
index.wasm 98.293 KB
index_simd.js 7.591 KB
index.js 7.586 KB
Engine 107.495 KB
assets/rtt_showcase.ntpack 9.399 KB
Resources 9.399 KB
Total 116.895 KB
9-Slice Scaling
9-Slice Scaling
92.555 KB engine + 17.689 KB resources
Size breakdown
index.html 1.253 KB
index_simd.wasm 83.547 KB
index.wasm 83.115 KB
index_simd.js 7.755 KB
index.js 7.750 KB
Engine 92.555 KB
assets/slice9_demo.ntpack 17.689 KB
Resources 17.689 KB
Total 110.244 KB
Spinning Shapes
Spinning Shapes
42.016 KB engine
Size breakdown
index.html 1.255 KB
index_simd.wasm 34.091 KB
index.wasm 34.200 KB
index_simd.js 6.670 KB
index.js 6.665 KB
Engine 42.016 KB
Total 42.016 KB
Sponza
Sponza
341.133 KB engine + 65.887 MB resources
Size breakdown
index.html 1.250 KB
index_simd.wasm 332.155 KB
index.wasm 316.204 KB
index_simd.js 7.728 KB
index.js 7.723 KB
Engine 341.133 KB
assets/sponza_core.ntpack 3.208 KB
assets/sponza_full.ntpack 57.964 MB
assets/sponza_geo.ntpack 2.344 MB
assets/sponza_tex.ntpack 5.576 MB
Resources 65.887 MB
Total 66.220 MB
Text Rendering
Text Rendering
50.349 KB engine + 7.583 MB resources
Size breakdown
index.html 1.252 KB
index_simd.wasm 41.561 KB
index.wasm 40.876 KB
index_simd.js 7.536 KB
index.js 7.531 KB
Engine 50.349 KB
assets/text_base.ntpack 12.163 KB
assets/text_cjk.ntpack 7.571 MB
Resources 7.583 MB
Total 7.632 MB
Textured Quad
Textured Quad
49.695 KB engine + 781.959 KB resources
Size breakdown
index.html 1.255 KB
index_simd.wasm 40.921 KB
index.wasm 41.183 KB
index_simd.js 7.520 KB
index.js 7.515 KB
Engine 49.695 KB
assets/base.ntpack 705 B
assets/lenna_hires.ntpack 777.788 KB
assets/lenna_pixel.ntpack 3.482 KB
Resources 781.959 KB
Total 831.654 KB
3D UI
3D UI
108.106 KB engine + 16.545 KB resources
Size breakdown
index.html 1.254 KB
index_simd.wasm 99.044 KB
index.wasm 98.935 KB
index_simd.js 7.809 KB
index.js 7.804 KB
Engine 108.106 KB
assets/ui_3d_demo.ntpack 16.545 KB
Resources 16.545 KB
Total 124.651 KB
UI Showcase
UI Showcase
170.902 KB engine + 122.137 KB resources
Size breakdown
index.html 1.255 KB
index_simd.wasm 161.630 KB
index.wasm 162.439 KB
index_simd.js 8.018 KB
index.js 8.013 KB
Engine 170.902 KB
assets/ui_showcase.ntpack 122.137 KB
Resources 122.137 KB
Total 293.039 KB