Download Limn Engine

Limn Engine is a single JavaScript file โ€” no npm, no build tools, no configuration. Just download and include it in your HTML.

see more...

Version: v4.0  |  File: epic.js  |  Size: ~50KB


โฌ‡ Download epic.js

Setup in 3 steps

<!-- Step 1: Put epic.js in your project folder -->
<!-- Step 2: Include it in your HTML -->
<script src="epic.js"></script>

<!-- Step 3: Write your game -->
<script>
const display = new Display();
display.start(800, 600);

const player = new Component(50, 50, "blue", 400, 300, "rect");
display.add(player);

function update() {
    if (display.keys[39]) player.speedX =  4;
    if (display.keys[37]) player.speedX = -4;
    else player.speedX = 0;
}
</script>

โœ… That's it. Open your HTML file in a browser and your game runs.

File structure

my-game/
โ”œโ”€โ”€ index.html    โ† your game
โ”œโ”€โ”€ epic.js       โ† Limn Engine
โ”œโ”€โ”€ img/          โ† your images (optional)
โ””โ”€โ”€ audio/        โ† your sounds (optional)
VersionReleaseNotes
v4.0 (Limn Engine)2026Dual-canvas, particles, circle collision, AnimatedSprite, SoundManager
v3.x (TCJSGame)2024โ€“2025Previous generation
v2.x (TCGame)2023โ€“2024Experimental
v1.x (JGame)2023Original prototype

What's included

Everything in one file โ€” no dependencies.

see more...
SystemWhat it gives you
DisplayCanvas, game loop, input (keyboard + mouse + touch)
ComponentRect, image, and text objects with physics
CameraFollow, smooth follow, zoom, shake, rotation shake
move utilityTeleport, glide, project, pointTo, accelerate, decelerate, bound
TileMapGrid-based levels with runtime tile editing
TctxtRich text with background, padding, and alignment
ParticleSystememit, burst, emitters, and 6 built-in presets
Sound & SoundManagerSFX, music, volume, mute
Sprite & AnimatedSpriteSpritesheet animation with named clips
Dual-canvas pipelineperform() for high-performance static rendering