[READ-ONLY] Mirror of https://github.com/excaliburjs/excalibur-playground. Excalibur Playground Source Code excaliburjs.com/excalibur-playground

Files
readme.md

⚠️ Migrated to the core repo! https://github.com/excaliburjs/Excalibur/tree/main/playground! ⚠️ #


Excalibur Studio and Playground #

This is the current implementation of the excalibur playground for sharing small game examples via links!

Project Goals #

  • Eventually we want this to become the Excalibur Studio (a full fledged editor like Godot!) as well as the playground
  • Drag and drop Actors/Entities
  • More Terse Built-in Examples
  • Replace the current documentation site embedded examples

Developing Locally #

  • Initialize the Excalibur git submodule

    git submodule init
    git submodule update
    
  • First generate the types from Excalibur git submodule

    # Windows
    npx tsup --loader ".glsl=text" .\Excalibur\src\engine\index.ts --dts
    
    # Mac / Linux
    npx tsup --loader ".glsl=text" ./Excalibur/src/engine/index.ts --dts
    
  • Run npm install

  • Run npm start

Contribution Wishlist #

  • Link to source code in github (or anywhere)
  • Support multiple versions of Excalibur (maybe even in progress branches?)
  • Auto save to the URL on keyup
  • Multiple file tree
  • Implement Asset Allow List (think similar to ShaderToy)
  • Save to local storage (and maybe to disk in the future)
  • Migrate html/js to Lit HTML components, Shoelace is https://shoelace.style/
  • Add more debug tools to interface
    • Bonus points: Refactor the dev tools browser extension to be embeddable into HTML