OpenWorld.js

A lightweight JavaScript engine for building 2D open worlds and RPGs in the browser.

Get Started GitHub Live Demo

Build Worlds, Not Engines.#

OpenWorld.js (OW) removes the complexity of creating interactive 2D maps. Whether you are building a retro RPG, a virtual gathering space, or a complex tile-based visualization, OW handles the rendering, collision, and event systems for you.

It’s zero-dependency on heavy game engines. Just import and render.


🗺️ Tile-Based Rendering#

Complete support for tile maps. Load your world data, define textures, and let the engine handle the drawing loop. It supports layers, making it easy to create depth (objects in front of or behind the character).

🚶 Character & Movement#

Built-in pathfinding and movement logic. Click-to-move, keyboard controls, or programmatic navigation. The engine automatically handles sprite animations and coordinate syncing.

⚡ Event System#

Trigger actions when players step on specific tiles or interact with objects. Perfect for dialogue boxes, map transitions, or unlocking areas.