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

49.188 KB engine + 1.130 MB resources
Size breakdown
index.html 1.252 KB
index_simd.wasm 39.929 KB
index.wasm 39.825 KB
index_simd.js 8.008 KB
index.js 8.003 KB
Engine 49.188 KB
assets/atlas_demo.ntpack 1.130 MB
Resources 1.130 MB
Total 1.178 MB
Shape Renderer Bench

Shape Renderer Bench

42.960 KB engine
Size breakdown
index.html 1.256 KB
index_simd.wasm 34.418 KB
index.wasm 34.268 KB
index_simd.js 7.286 KB
index.js 7.281 KB
Engine 42.960 KB
Total 42.960 KB
Bunnymark

Bunnymark

363.990 KB engine + 830.214 KB resources
Size breakdown
index.html 1.255 KB
index_simd.wasm 354.361 KB
index.wasm 338.085 KB
index_simd.js 8.374 KB
index.js 8.369 KB
Engine 363.990 KB
assets/bunnymark_hd.ntpack 815.432 KB
assets/bunnymark_sd.ntpack 14.782 KB
Resources 830.214 KB
Total 1.166 MB
Hello

Hello

13.004 KB engine
Size breakdown
index.html 1.249 KB
index_simd.wasm 8.505 KB
index.wasm 8.206 KB
index_simd.js 3.250 KB
index.js 3.245 KB
Engine 13.004 KB
Total 13.004 KB
RTT Showcase

RTT Showcase

148.067 KB engine + 9.399 KB resources
Size breakdown
index.html 1.256 KB
index_simd.wasm 138.720 KB
index.wasm 138.406 KB
index_simd.js 8.092 KB
index.js 8.087 KB
Engine 148.067 KB
assets/rtt_showcase.ntpack 9.399 KB
Resources 9.399 KB
Total 157.467 KB
9-Slice Scaling

9-Slice Scaling

139.847 KB engine + 17.689 KB resources
Size breakdown
index.html 1.253 KB
index_simd.wasm 130.206 KB
index.wasm 129.150 KB
index_simd.js 8.388 KB
index.js 8.383 KB
Engine 139.847 KB
assets/slice9_demo.ntpack 17.689 KB
Resources 17.689 KB
Total 157.536 KB
Spinning Shapes

Spinning Shapes

43.033 KB engine
Size breakdown
index.html 1.255 KB
index_simd.wasm 34.603 KB
index.wasm 34.844 KB
index_simd.js 7.176 KB
index.js 7.171 KB
Engine 43.033 KB
Total 43.033 KB
Sponza

Sponza

343.700 KB engine + 65.887 MB resources
Size breakdown
index.html 1.250 KB
index_simd.wasm 334.233 KB
index.wasm 318.301 KB
index_simd.js 8.217 KB
index.js 8.212 KB
Engine 343.700 KB
assets/sponza_core.ntpack 3.180 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.223 MB
Textured Quad

Textured Quad

50.940 KB engine + 781.959 KB resources
Size breakdown
index.html 1.255 KB
index_simd.wasm 41.678 KB
index.wasm 42.244 KB
index_simd.js 8.008 KB
index.js 8.003 KB
Engine 50.940 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 832.899 KB
3D UI

3D UI

154.258 KB engine + 16.545 KB resources
Size breakdown
index.html 1.254 KB
index_simd.wasm 144.586 KB
index.wasm 144.249 KB
index_simd.js 8.418 KB
index.js 8.413 KB
Engine 154.258 KB
assets/ui_3d_demo.ntpack 16.545 KB
Resources 16.545 KB
Total 170.803 KB
UI Showcase

UI Showcase

212.061 KB engine + 122.137 KB resources
Size breakdown
index.html 1.255 KB
index_simd.wasm 202.171 KB
index.wasm 203.496 KB
index_simd.js 8.635 KB
index.js 8.630 KB
Engine 212.061 KB
assets/ui_showcase.ntpack 122.137 KB
Resources 122.137 KB
Total 334.197 KB
Text Rendering

Text Rendering

57.073 KB engine + 7.583 MB resources
Size breakdown
index.html 1.252 KB
index_simd.wasm 47.787 KB
index.wasm 45.787 KB
index_simd.js 8.034 KB
index.js 8.029 KB
Engine 57.073 KB
assets/text_base.ntpack 12.163 KB
assets/text_cjk.ntpack 7.571 MB
Resources 7.583 MB
Total 7.639 MB