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.337 KB engine + 1.130 MB resources
Size breakdown
index.html 1.205 KB
index_simd.wasm 43.829 KB
index.wasm 43.703 KB
index_simd.js 8.303 KB
index.js 8.298 KB
Engine 53.337 KB
assets/atlas_demo.ntpack 1.130 MB
Resources 1.130 MB
Total 1.182 MB
Shape Renderer Bench

Shape Renderer Bench

46.566 KB engine
Size breakdown
index.html 1.209 KB
index_simd.wasm 37.928 KB
index.wasm 38.043 KB
index_simd.js 7.430 KB
index.js 7.425 KB
Engine 46.566 KB
Total 46.566 KB
Bunnymark

Bunnymark

215.937 KB engine + 830.220 KB resources
Size breakdown
index.html 1.208 KB
index_simd.wasm 206.007 KB
index.wasm 200.420 KB
index_simd.js 8.722 KB
index.js 8.717 KB
Engine 215.937 KB
assets/bunnymark_hd.ntpack 815.471 KB
assets/bunnymark_sd.ntpack 14.749 KB
Resources 830.220 KB
Total 1.022 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

112.883 KB engine + 9.345 KB resources
Size breakdown
index.html 1.209 KB
index_simd.wasm 103.242 KB
index.wasm 104.304 KB
index_simd.js 8.432 KB
index.js 8.427 KB
Engine 112.883 KB
assets/rtt_showcase.ntpack 9.345 KB
Resources 9.345 KB
Total 122.228 KB
9-Slice Scaling

9-Slice Scaling

94.437 KB engine + 17.606 KB resources
Size breakdown
index.html 1.207 KB
index_simd.wasm 84.649 KB
index.wasm 85.263 KB
index_simd.js 8.580 KB
index.js 8.575 KB
Engine 94.437 KB
assets/slice9_demo.ntpack 17.606 KB
Resources 17.606 KB
Total 112.043 KB
Spinning Shapes

Spinning Shapes

45.601 KB engine
Size breakdown
index.html 1.207 KB
index_simd.wasm 37.310 KB
index.wasm 37.480 KB
index_simd.js 7.084 KB
index.js 7.079 KB
Engine 45.601 KB
Total 45.601 KB
Sponza

Sponza

209.894 KB engine + 65.890 MB resources
Size breakdown
index.html 1.202 KB
index_simd.wasm 200.022 KB
index.wasm 195.411 KB
index_simd.js 8.669 KB
index.js 8.664 KB
Engine 209.894 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.095 MB
Text Rendering

Text Rendering

51.656 KB engine + 7.583 MB resources
Size breakdown
index.html 1.205 KB
index_simd.wasm 42.095 KB
index.wasm 42.269 KB
index_simd.js 8.356 KB
index.js 8.352 KB
Engine 51.656 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.357 KB engine + 781.960 KB resources
Size breakdown
index.html 1.208 KB
index_simd.wasm 43.847 KB
index.wasm 44.120 KB
index_simd.js 8.303 KB
index.js 8.298 KB
Engine 53.357 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.317 KB
3D UI

3D UI

112.718 KB engine + 16.586 KB resources
Size breakdown
index.html 1.207 KB
index_simd.wasm 102.931 KB
index.wasm 104.340 KB
index_simd.js 8.580 KB
index.js 8.575 KB
Engine 112.718 KB
assets/ui_3d_demo.ntpack 16.586 KB
Resources 16.586 KB
Total 129.304 KB
UI Showcase

UI Showcase

177.413 KB engine + 122.157 KB resources
Size breakdown
index.html 1.208 KB
index_simd.wasm 167.425 KB
index.wasm 169.763 KB
index_simd.js 8.780 KB
index.js 8.775 KB
Engine 177.413 KB
assets/ui_showcase.ntpack 122.157 KB
Resources 122.157 KB
Total 299.570 KB