pixi-reels
All questions
AnsweredSymbols

How do I add a brand-new symbol type to the game?

Subclass ReelSymbol and implement all five abstract members -- onActivate, onDeactivate, resize, playWin, stopAnimation -- then register it with r.register(id, MySymbol, opts). resize() runs on every symbol swap, so anything positional belongs there rather than in the constructor.

See it work

More in Symbols