BBS:      TELESC.NET.BR
Assunto:  xtrn/synchess/images/piece_sprites.jxlxtrn/synchess/synchess.js
De:       Deuc¨
Data:     Sat, 21 Mar 2026 13:24:40 -0700
-----------------------------------------------------------
https://gitlab.synchro.net/main/sbbs/-/commit/229a255d5d9dd75cf3e6d441
Added Files:
	xtrn/synchess/images/piece_sprites.jxl
Modified Files:
	xtrn/synchess/synchess.js
Log Message:
SynChess: pre-load all piece images into a sprite sheet buffer

Combine all 48 piece images (12 pieces  4 variants: dark, light,
cap, promo) into a single JXL sprite sheet loaded into pixel
buffer 1 at startup.  All JXL drawing now uses Paste from the
buffer with SY offsets instead of DrawJXL from cache, avoiding
repeated disk reads.

Also remove the unnecessary final-position cleanup from the slide
animation  the piece remains drawn at its destination since
drawBoard() follows.

Co-Authored-By: Claude Opus 4.6 (1M context) 
n
---
  mSynchronetn  hgVertrauen n hHome of Synchronet n gh[vert/cvs/bbs].synchro.net

-----------------------------------------------------------
[Voltar]