Log inGet started
Package

Gate.component

Newest version

This package holds more than this page lists. See all of its files in its world.

README.md

sideScrollerKit.Gate

One ability gate; every kind takes the same fields, so swapping kind or look never breaks a level. Kinds: crystal (dash through), smash (slam through), door (key), bars (opened by the switch named in link), switch, bossDoor (seals while the player fights the arena named in link), grip (wall-jump wall), sign (shows ability). Looks: pixel, fantasy, scifi, cartoon, minimal, or theme. The entity's position is the bottom-left corner; w, h in tiles; gateId is what the player's progress remembers; display makes it a gallery piece. Per player: each peer keeps the collision of gates its own player has not opened, on temporary entities. Needs sideScrollerKit.art (sprites) and twoDKit's Player2D on the player. Rooms build these from their text; MV.gate places one by hand.