kxcrl / foundryvtt-retro

MIT License
0 stars 0 forks source link

Restrict animation and controls to sprites greater than 1x1 #17

Closed kxcrl closed 10 months ago

kxcrl commented 10 months ago

Context

If a sprite has no x value beyond TILE_SIZE, then it shouldn't have tickAnimation added as it will never animate and only return false. If a sprite has no y value beyond TILE_SIZE, then it shouldn't have spriteControls added as it will never change directions and only return false.