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

53.512 KB engine + 1.130 MB resources
Size breakdown
index.html 1.205 KB
index_simd.wasm 43.740 KB
index.wasm 44.167 KB
index_simd.js 8.566 KB
index.js 8.562 KB
Engine 53.512 KB
assets/atlas_demo.ntpack 1.130 MB
Resources 1.130 MB
Total 1.182 MB
Shape Renderer Bench

Shape Renderer Bench

46.763 KB engine
Size breakdown
index.html 1.209 KB
index_simd.wasm 38.079 KB
index.wasm 38.260 KB
index_simd.js 7.475 KB
index.js 7.470 KB
Engine 46.763 KB
Total 46.763 KB
Bunnymark

Bunnymark

214.811 KB engine + 830.232 KB resources
Size breakdown
index.html 1.208 KB
index_simd.wasm 204.854 KB
index.wasm 199.660 KB
index_simd.js 8.748 KB
index.js 8.743 KB
Engine 214.811 KB
assets/bunnymark_hd.ntpack 815.471 KB
assets/bunnymark_sd.ntpack 14.762 KB
Resources 830.232 KB
Total 1.021 MB
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

110.512 KB engine + 9.354 KB resources
Size breakdown
index.html 1.209 KB
index_simd.wasm 100.847 KB
index.wasm 102.643 KB
index_simd.js 8.456 KB
index.js 8.451 KB
Engine 110.512 KB
assets/rtt_showcase.ntpack 9.354 KB
Resources 9.354 KB
Total 119.865 KB
9-Slice Scaling

9-Slice Scaling

93.174 KB engine + 17.616 KB resources
Size breakdown
index.html 1.207 KB
index_simd.wasm 83.348 KB
index.wasm 84.087 KB
index_simd.js 8.619 KB
index.js 8.614 KB
Engine 93.174 KB
assets/slice9_demo.ntpack 17.616 KB
Resources 17.616 KB
Total 110.790 KB
Spinning Shapes

Spinning Shapes

45.994 KB engine
Size breakdown
index.html 1.207 KB
index_simd.wasm 37.658 KB
index.wasm 38.117 KB
index_simd.js 7.129 KB
index.js 7.124 KB
Engine 45.994 KB
Total 45.994 KB
Sponza

Sponza

210.304 KB engine + 65.890 MB resources
Size breakdown
index.html 1.202 KB
index_simd.wasm 200.408 KB
index.wasm 195.428 KB
index_simd.js 8.693 KB
index.js 8.688 KB
Engine 210.304 KB
assets/sponza_core.ntpack 3.237 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.095 MB
Text Rendering

Text Rendering

52.848 KB engine + 7.583 MB resources
Size breakdown
index.html 1.205 KB
index_simd.wasm 43.022 KB
index.wasm 43.060 KB
index_simd.js 8.620 KB
index.js 8.615 KB
Engine 52.848 KB
assets/text_base.ntpack 12.118 KB
assets/text_cjk.ntpack 7.571 MB
Resources 7.583 MB
Total 7.634 MB
Textured Quad

Textured Quad

53.925 KB engine + 781.964 KB resources
Size breakdown
index.html 1.208 KB
index_simd.wasm 44.150 KB
index.wasm 44.288 KB
index_simd.js 8.566 KB
index.js 8.562 KB
Engine 53.925 KB
assets/base.ntpack 712 B
assets/lenna_hires.ntpack 777.788 KB
assets/lenna_pixel.ntpack 3.480 KB
Resources 781.964 KB
Total 835.889 KB
3D UI

3D UI

110.442 KB engine + 16.600 KB resources
Size breakdown
index.html 1.207 KB
index_simd.wasm 100.615 KB
index.wasm 102.782 KB
index_simd.js 8.620 KB
index.js 8.615 KB
Engine 110.442 KB
assets/ui_3d_demo.ntpack 16.600 KB
Resources 16.600 KB
Total 127.042 KB
UI Showcase

UI Showcase

174.665 KB engine + 122.168 KB resources
Size breakdown
index.html 1.208 KB
index_simd.wasm 164.632 KB
index.wasm 167.173 KB
index_simd.js 8.825 KB
index.js 8.820 KB
Engine 174.665 KB
assets/ui_showcase.ntpack 122.168 KB
Resources 122.168 KB
Total 296.833 KB