P.S. to previous commit: instead of Sprite flow load_sprites function was changed: gathering the number of sprites with the same names before second _ and hold it at sprites dict. also now sprites must be named as objectname_action_number. Main commit - full sprites support, with caching, transparency and smooth scaling. drawing function moved to Object methods
This commit is contained in:
Binary file not shown.
|
Before Width: | Height: | Size: 65 KiB |
BIN
res/sprites/sword_default_1.png
Normal file
BIN
res/sprites/sword_default_1.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 7.8 KiB |
Reference in New Issue
Block a user