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

43.171 KB engine + 1.130 MB resources
Size breakdown
index.html 1.252 KB
index_simd.wasm 34.307 KB
index.wasm 34.131 KB
index_simd.js 7.612 KB
index.js 7.607 KB
Engine 43.171 KB
assets/atlas_demo.ntpack 1.130 MB
Resources 1.130 MB
Total 1.172 MB
Shape Renderer Bench

Shape Renderer Bench

40.932 KB engine
Size breakdown
index.html 1.256 KB
index_simd.wasm 32.385 KB
index.wasm 32.239 KB
index_simd.js 7.291 KB
index.js 7.286 KB
Engine 40.932 KB
Total 40.932 KB
Bunnymark

Bunnymark

362.004 KB engine + 830.214 KB resources
Size breakdown
index.html 1.255 KB
index_simd.wasm 352.788 KB
index.wasm 334.043 KB
index_simd.js 7.961 KB
index.js 7.956 KB
Engine 362.004 KB
assets/bunnymark_hd.ntpack 815.432 KB
assets/bunnymark_sd.ntpack 14.782 KB
Resources 830.214 KB
Total 1.164 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

143.886 KB engine + 9.399 KB resources
Size breakdown
index.html 1.256 KB
index_simd.wasm 134.931 KB
index.wasm 134.004 KB
index_simd.js 7.699 KB
index.js 7.694 KB
Engine 143.886 KB
assets/rtt_showcase.ntpack 9.399 KB
Resources 9.399 KB
Total 153.285 KB
9-Slice Scaling

9-Slice Scaling

135.802 KB engine + 17.689 KB resources
Size breakdown
index.html 1.253 KB
index_simd.wasm 126.568 KB
index.wasm 125.320 KB
index_simd.js 7.980 KB
index.js 7.976 KB
Engine 135.802 KB
assets/slice9_demo.ntpack 17.689 KB
Resources 17.689 KB
Total 153.491 KB
Spinning Shapes

Spinning Shapes

41.001 KB engine
Size breakdown
index.html 1.255 KB
index_simd.wasm 32.564 KB
index.wasm 32.790 KB
index_simd.js 7.182 KB
index.js 7.177 KB
Engine 41.001 KB
Total 41.001 KB
Text Rendering

Text Rendering

53.198 KB engine + 7.583 MB resources
Size breakdown
index.html 1.252 KB
index_simd.wasm 44.308 KB
index.wasm 42.444 KB
index_simd.js 7.639 KB
index.js 7.634 KB
Engine 53.198 KB
assets/text_base.ntpack 12.163 KB
assets/text_cjk.ntpack 7.571 MB
Resources 7.583 MB
Total 7.635 MB
Sponza

Sponza

337.195 KB engine + 68.462 MB resources
Size breakdown
index.html 1.250 KB
index_simd.wasm 328.131 KB
index.wasm 312.038 KB
index_simd.js 7.814 KB
index.js 7.810 KB
Engine 337.195 KB
assets/sponza_core.ntpack 3.180 KB
assets/sponza_full.ntpack 59.395 MB
assets/sponza_geo.ntpack 3.488 MB
assets/sponza_tex.ntpack 5.576 MB
Resources 68.462 MB
Total 68.792 MB
Textured Quad

Textured Quad

44.817 KB engine + 782.026 KB resources
Size breakdown
index.html 1.255 KB
index_simd.wasm 35.950 KB
index.wasm 36.516 KB
index_simd.js 7.612 KB
index.js 7.607 KB
Engine 44.817 KB
assets/base.ntpack 774 B
assets/lenna_hires.ntpack 777.788 KB
assets/lenna_pixel.ntpack 3.482 KB
Resources 782.026 KB
Total 826.844 KB
3D UI

3D UI

150.391 KB engine + 16.545 KB resources
Size breakdown
index.html 1.254 KB
index_simd.wasm 141.115 KB
index.wasm 140.519 KB
index_simd.js 8.021 KB
index.js 8.017 KB
Engine 150.391 KB
assets/ui_3d_demo.ntpack 16.545 KB
Resources 16.545 KB
Total 166.936 KB
UI Showcase

UI Showcase

208.079 KB engine + 122.137 KB resources
Size breakdown
index.html 1.255 KB
index_simd.wasm 198.585 KB
index.wasm 198.850 KB
index_simd.js 8.239 KB
index.js 8.234 KB
Engine 208.079 KB
assets/ui_showcase.ntpack 122.137 KB
Resources 122.137 KB
Total 330.216 KB