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

51.856 KB engine + 1.130 MB resources
Size breakdown
index.html 1.205 KB
index_simd.wasm 42.399 KB
index.wasm 42.278 KB
index_simd.js 8.252 KB
index.js 8.247 KB
Engine 51.856 KB
assets/atlas_demo.ntpack 1.130 MB
Resources 1.130 MB
Total 1.180 MB
Shape Renderer Bench

Shape Renderer Bench

45.044 KB engine
Size breakdown
index.html 1.209 KB
index_simd.wasm 36.687 KB
index.wasm 36.895 KB
index_simd.js 7.148 KB
index.js 7.144 KB
Engine 45.044 KB
Total 45.044 KB
Bunnymark

Bunnymark

213.958 KB engine + 830.260 KB resources
Size breakdown
index.html 1.208 KB
index_simd.wasm 204.356 KB
index.wasm 198.855 KB
index_simd.js 8.394 KB
index.js 8.389 KB
Engine 213.958 KB
assets/bunnymark_hd.ntpack 815.471 KB
assets/bunnymark_sd.ntpack 14.789 KB
Resources 830.260 KB
Total 1.020 MB
RTT Showcase

RTT Showcase

111.328 KB engine + 9.385 KB resources
Size breakdown
index.html 1.209 KB
index_simd.wasm 101.715 KB
index.wasm 103.060 KB
index_simd.js 8.404 KB
index.js 8.399 KB
Engine 111.328 KB
assets/rtt_showcase.ntpack 9.385 KB
Resources 9.385 KB
Total 120.713 KB
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
9-Slice Scaling

9-Slice Scaling

93.854 KB engine + 17.650 KB resources
Size breakdown
index.html 1.207 KB
index_simd.wasm 84.139 KB
index.wasm 84.772 KB
index_simd.js 8.508 KB
index.js 8.503 KB
Engine 93.854 KB
assets/slice9_demo.ntpack 17.650 KB
Resources 17.650 KB
Total 111.504 KB
Spinning Shapes

Spinning Shapes

44.001 KB engine
Size breakdown
index.html 1.207 KB
index_simd.wasm 35.774 KB
index.wasm 35.990 KB
index_simd.js 7.020 KB
index.js 7.015 KB
Engine 44.001 KB
Total 44.001 KB
Sponza

Sponza

208.750 KB engine + 65.890 MB resources
Size breakdown
index.html 1.202 KB
index_simd.wasm 199.176 KB
index.wasm 194.274 KB
index_simd.js 8.372 KB
index.js 8.367 KB
Engine 208.750 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.094 MB
Text Rendering

Text Rendering

50.964 KB engine + 7.583 MB resources
Size breakdown
index.html 1.205 KB
index_simd.wasm 41.488 KB
index.wasm 41.368 KB
index_simd.js 8.271 KB
index.js 8.266 KB
Engine 50.964 KB
assets/text_base.ntpack 12.161 KB
assets/text_cjk.ntpack 7.571 MB
Resources 7.583 MB
Total 7.633 MB
Textured Quad

Textured Quad

52.121 KB engine + 781.960 KB resources
Size breakdown
index.html 1.208 KB
index_simd.wasm 42.661 KB
index.wasm 42.697 KB
index_simd.js 8.252 KB
index.js 8.247 KB
Engine 52.121 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 834.081 KB
UI Showcase

UI Showcase

176.708 KB engine + 122.192 KB resources
Size breakdown
index.html 1.208 KB
index_simd.wasm 166.749 KB
index.wasm 169.615 KB
index_simd.js 8.751 KB
index.js 8.746 KB
Engine 176.708 KB
assets/ui_showcase.ntpack 122.192 KB
Resources 122.192 KB
Total 298.900 KB
3D UI

3D UI

112.013 KB engine + 16.514 KB resources
Size breakdown
index.html 1.207 KB
index_simd.wasm 102.277 KB
index.wasm 103.477 KB
index_simd.js 8.528 KB
index.js 8.523 KB
Engine 112.013 KB
assets/ui_3d_demo.ntpack 16.514 KB
Resources 16.514 KB
Total 128.526 KB