Welcome to TCJSgame Documentation
TCJSgame is a lightweight JavaScript game engine designed for creating 2D browser games with ease. Whether you are a beginner learning the basics of game development or an advanced developer looking for a fast prototype tool, TCJSgame gives you everything you need: display management, components, physics, input handling, tilemaps, sprites, sound, and more.
This documentation is built in a W3Schools-style format: simple, clear, and example-driven. Every section explains a different feature of the engine and provides sample code you can run directly in your browser.
Getting Started
To begin, check out the Getting Started page. It will guide you through setting up a TCJSgame project, creating your first display, and adding components.
tcjsgame-v3.js
locally and include it in your
project folder with:
<script src="tcjsgame-v3.js"></script>