{"repo":"kaplayjs/kaplay","free":true,"listed":false,"github":"https://github.com/kaplayjs/kaplay","clone":"git clone https://github.com/kaplayjs/kaplay.git","description":"🦖 A JavaScript/TypeScript Game Library that feels like a game.","language":"TypeScript","stars":1773,"topics":["javascript","game-dev","game-library","kaboom-js","kaboomjs","game-development","game-engine","typescript"],"license":"MIT","category":"game-templates","readme_excerpt":"🎮 KAPLAY.js — A JavaScript & TypeScript Game Library KAPLAY is the fun-first , 2D game library for JavaScript and TypeScript . It’s made to feel like a game while you're making games. Simple. Fast. Powerful. ✨ Whether you’re a beginner or an experienced dev, KAPLAY comes with its own web-based editor — the KAPLAYGROUND — so you can try code instantly, and learn with more than 90 examples ! 🎲 Quick Overview Game objects are composed from simple, powerful components: Blocky imperative syntax for describing behaviors 🖥️ Installation 🚀 Using create-kaplay The fastest way to get started: Then open http://localhost:5173 and edit src/game.js . 📦 Install with package manager You will need a bundler like Vite or ESBuild to use KAPLAY in your project. Learn how to setup ESbuild here. 🌐 Use in Browser Include via CDN: 📜 TypeScript Global Types If you're using TypeScript , you used create-kaplay or installed with a package manager and you want global types , you can load them using the following directive: But it's recommended to use tsconfig.json to include the types: [!WARNING]\\ If you are publishing a game (and not testing/learning) maybe you don't want to use globals, see why. You can also use all KAPLAY source types importing them: 📚 Resources 📖 Docs - KAPLAY Official Docs - KAPLAYGROUND 📺 Tutorials - 🎥 KAPLAY Library Crash Course by JSLegend ⚔️ - 📖 Learn JavaScript basics and KAPLAY to make games quickly 💬 Community - Discord Server - GitHub Discussions - Twitter/X - B","default_branch":null,"files":null,"tree":[],"storefront":"/r/kaplayjs","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/kaplayjs/kaplay/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}