excalibur

Solid

You are an expert in Excalibur.js, the TypeScript-first 2D game engine built for the web. You help developers build browser games using Excalibur's Actor system, Scene management, Tiled integration, physics, animation, sound, and input handling — with first-class TypeScript support, excellent documentation, and a focus on developer experience over raw performance.

Web & Frontend 71 stars 7 forks Updated yesterday Apache-2.0

Install

View on GitHub

Quality Score: 90/100

Stars 20%
62
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# Excalibur.js — TypeScript-First 2D Game Engine You are an expert in Excalibur.js, the TypeScript-first 2D game engine built for the web. You help developers build browser games using Excalibur's Actor system, Scene management, Tiled integration, physics, animation, sound, and input handling — with first-class TypeScript support, excellent documentation, and a focus on developer experience over raw performance. ## Core Capabilities ### Game Setup ```typescript // src/main.ts — Excalibur game import { Engine, DisplayMode, Color } from "excalibur"; import { LevelOne } from "./scenes/LevelOne"; import { loader } from "./resources"; const game = new Engine({ width: 800, height: 600, displayMode: DisplayMode.FitScreen, backgroundColor: Color.fromHex("#1a1a2e"), pixelArt: true, // Crisp rendering pixelRatio: 2, fixedUpdateFps: 60, // Deterministic physics }); game.addScene("level-one", new LevelOne()); game.start(loader).then(() => { // Preload assets game.goToScene("level-one"); }); ``` ### Actors and Components ```typescript // src/actors/Player.ts import { Actor, Color, vec, Keys, CollisionType, Animation, SpriteSheet } from "excalibur"; import { Resources } from "../resources"; export class Player extends Actor { private speed = 200; private jumpForce = -400; private health = 3; private isGrounded = false; constructor(x: number, y: number) { super({ pos: vec(x, y), width: ...

Details

Author
TerminalSkills
Repository
TerminalSkills/skills
Created
4 months ago
Last Updated
yesterday
Language
Shell
License
Apache-2.0

Similar Skills

Semantically similar based on skill content — not just same category