Skip to content

1681-engine / index / animationSystem

Function: animationSystem() ​

ts
function animationSystem(name?): System;

Defined in: src/anim/animationSystem.ts:15

Advances every Animator each frame and shows its frame on the entity's sprite (only when it changed, so an idle crowd costs no texture swaps).

Parameters ​

ParameterTypeDefault value
namestring'animation'

Returns ​

System

Released under the MIT License.