Log inGet started
World

Pixel Ledges: 2D Platformer Kit with Sprites, Tilemaps, Wall Jumps and Dash

README.md

pixelSprites.SpriteSheet

An animated pixel-art sprite from any sprite sheet, on any entity. Name the animations as rows of the sheet (animations = "idle=0:6:8, run=1:8:14, jump=2:3:12:once") and switch with anim; facing = -1 mirrors it. The entity's position is the picture's bottom-centre (the feet). anim and facing sync, so every player sees the same animation; each peer draws the picture on a temporary child. Needs no sibling components; the sheet is a material on the pixelSprites.sprite shader.

Methods: play(name, restart?), isFinished() (for :once animations). Fields and an example are in the package README.