Desktop: Slim down internal anims, +3.4kb free flash

This commit is contained in:
Willy-JL
2024-06-27 02:38:28 +02:00
parent 5f2923780b
commit ac3288b561
24 changed files with 27 additions and 26 deletions

View File

@@ -43,6 +43,7 @@ Version: 1
- `Width` - animation width in px (<= 128)
- `Height` - animation height in px (<= 64)
> Note: Animations are aligned to bottom left, you can save a few bytes by trimming white borders on top and right of your animations (internal and blocking ones do this to save some precious DFU space)
- `Passive frames` - number of bitmap frames for passive animation state
- `Active frames` - number of bitmap frames for active animation state (can be 0)
- `Frames order` - order of bitmap frames where first N frames are passive and following M are active. Each X number in order refers to bitmap frame, with name frame\_X.bm. This file must exist. Any X number can be repeated to refer same frame in animation.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 4.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

View File

@@ -1,13 +1,13 @@
Filetype: Flipper Animation
Version: 1
Width: 128
Height: 51
Passive frames: 4
Width: 123
Height: 47
Passive frames: 1
Active frames: 0
Frames order: 0 1 2 3
Frames order: 0
Active cycles: 0
Frame rate: 2
Frame rate: 1
Duration: 0
Active cooldown: 0

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 4.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

View File

@@ -1,13 +1,13 @@
Filetype: Flipper Animation
Version: 1
Width: 128
Height: 51
Passive frames: 2
Width: 123
Height: 47
Passive frames: 1
Active frames: 0
Frames order: 0 1
Frames order: 0
Active cycles: 0
Frame rate: 2
Frame rate: 1
Duration: 0
Active cooldown: 0

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 4.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

View File

@@ -1,13 +1,13 @@
Filetype: Flipper Animation
Version: 1
Width: 128
Height: 51
Passive frames: 4
Width: 123
Height: 47
Passive frames: 1
Active frames: 0
Frames order: 0 1 2 3
Frames order: 0
Active cycles: 0
Frame rate: 2
Frame rate: 1
Duration: 0
Active cooldown: 0

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 5.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.0 KiB

View File

@@ -1,13 +1,13 @@
Filetype: Flipper Animation
Version: 1
Width: 128
Height: 51
Passive frames: 4
Width: 123
Height: 47
Passive frames: 1
Active frames: 0
Frames order: 0 1 2 3
Frames order: 0
Active cycles: 0
Frame rate: 2
Frame rate: 1
Duration: 0
Active cooldown: 0

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

View File

@@ -3,11 +3,11 @@ Version: 1
Width: 128
Height: 47
Passive frames: 2
Passive frames: 1
Active frames: 0
Frames order: 0 1
Frames order: 0
Active cycles: 0
Frame rate: 2
Frame rate: 1
Duration: 3600
Active cooldown: 0
@@ -20,4 +20,4 @@ Text: I feel so sick!\nI'm dying...
AlignH: Right
AlignV: Center
StartFrame: 0
EndFrame: 1
EndFrame: 0

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.3 KiB

After

Width:  |  Height:  |  Size: 7.7 KiB

View File

@@ -1,8 +1,8 @@
Filetype: Flipper Animation
Version: 1
Width: 128
Height: 49
Width: 123
Height: 47
Passive frames: 1
Active frames: 0
Frames order: 0