[FL-2183] [FL-2209] Dolphin Deeds, Level up, assets generation, refactoring (#965)
* Desktop: cleanup headers * Get loader pubsub via record * [FL-2183] Dolphin refactoring 2022.01 * Restruct animations assets structure * Rename assets * Cleanup headers * Update Recording animation * Add BadBattery animation * Provide loader's pubsub via record * Fix load/unload animations * Scripts: add flipper format support, initial dolphin packager rework. Assets: internal and external dolphin. * Sync internal meta.txt and manifest.txt * Reorder, rename dolphin assets * Split essential generated assets * Add ReadMe for dolphin assets * Separate essential blocking animations * Scripts: full dolphin validation before packaging * Assets, Scripts: dolphin external resources packer * Github: update codeowners * Scripts: proper slots handling in dolphin animation meta * Scripts: correct frames enumeration and fix compiled assets. * [FL-2209] Add Dolphin Deeds points and many more * Remove excess frame_rate * Change dolphin assets directory * Scripts: add internal resource support to dolphin compiler * Scripts: add internal assets generation, renaming * Scripts: correct assert, renaming * Code cleanup, documentation, fixes * Update Levelup animations * Rename essential -> blocking * Fix Unlocked hint * Scripts: rewrite Templite compiller, replace regexps with token parser, split block types into code and variable blocks. Update dolphin templates. * Documentation: add key combos description and use information * Scripts: cleanup templit, more debug info and add dev comment Co-authored-by: あく <alleteam@gmail.com>
BIN
assets/dolphin/internal/L1_BadBattery_128x47/frame_0.png
Normal file
After Width: | Height: | Size: 1.4 KiB |
BIN
assets/dolphin/internal/L1_BadBattery_128x47/frame_1.png
Normal file
After Width: | Height: | Size: 1.4 KiB |
23
assets/dolphin/internal/L1_BadBattery_128x47/meta.txt
Normal file
@@ -0,0 +1,23 @@
|
||||
Filetype: Flipper Animation
|
||||
Version: 1
|
||||
|
||||
Width: 128
|
||||
Height: 47
|
||||
Passive frames: 2
|
||||
Active frames: 0
|
||||
Frames order: 0 1
|
||||
Active cycles: 0
|
||||
Frame rate: 2
|
||||
Duration: 3600
|
||||
Active cooldown: 0
|
||||
|
||||
Bubble slots: 1
|
||||
|
||||
Slot: 0
|
||||
X: 4
|
||||
Y: 21
|
||||
Text: I feel so sick!\nI'm dying...
|
||||
AlignH: Right
|
||||
AlignV: Center
|
||||
StartFrame: 0
|
||||
EndFrame: 1
|
BIN
assets/dolphin/internal/L1_NoSd_128x49/frame_0.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
assets/dolphin/internal/L1_NoSd_128x49/frame_1.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
assets/dolphin/internal/L1_NoSd_128x49/frame_2.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
assets/dolphin/internal/L1_NoSd_128x49/frame_3.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
assets/dolphin/internal/L1_NoSd_128x49/frame_4.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
assets/dolphin/internal/L1_NoSd_128x49/frame_5.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
23
assets/dolphin/internal/L1_NoSd_128x49/meta.txt
Normal file
@@ -0,0 +1,23 @@
|
||||
Filetype: Flipper Animation
|
||||
Version: 1
|
||||
|
||||
Width: 128
|
||||
Height: 49
|
||||
Passive frames: 10
|
||||
Active frames: 0
|
||||
Frames order: 0 1 0 1 0 2 3 4 3 5
|
||||
Active cycles: 0
|
||||
Frame rate: 2
|
||||
Duration: 3600
|
||||
Active cooldown: 0
|
||||
|
||||
Bubble slots: 1
|
||||
|
||||
Slot: 0
|
||||
X: 40
|
||||
Y: 18
|
||||
Text: Need an\nSD card
|
||||
AlignH: Right
|
||||
AlignV: Bottom
|
||||
StartFrame: 0
|
||||
EndFrame: 9
|
BIN
assets/dolphin/internal/L1_Tv_128x47/frame_0.png
Normal file
After Width: | Height: | Size: 602 B |
BIN
assets/dolphin/internal/L1_Tv_128x47/frame_1.png
Normal file
After Width: | Height: | Size: 605 B |
BIN
assets/dolphin/internal/L1_Tv_128x47/frame_2.png
Normal file
After Width: | Height: | Size: 590 B |
BIN
assets/dolphin/internal/L1_Tv_128x47/frame_3.png
Normal file
After Width: | Height: | Size: 598 B |
BIN
assets/dolphin/internal/L1_Tv_128x47/frame_4.png
Normal file
After Width: | Height: | Size: 601 B |
BIN
assets/dolphin/internal/L1_Tv_128x47/frame_5.png
Normal file
After Width: | Height: | Size: 598 B |
BIN
assets/dolphin/internal/L1_Tv_128x47/frame_6.png
Normal file
After Width: | Height: | Size: 585 B |
BIN
assets/dolphin/internal/L1_Tv_128x47/frame_7.png
Normal file
After Width: | Height: | Size: 596 B |
32
assets/dolphin/internal/L1_Tv_128x47/meta.txt
Normal file
@@ -0,0 +1,32 @@
|
||||
Filetype: Flipper Animation
|
||||
Version: 1
|
||||
|
||||
Width: 128
|
||||
Height: 47
|
||||
Passive frames: 6
|
||||
Active frames: 2
|
||||
Frames order: 0 1 2 3 4 5 6 7
|
||||
Active cycles: 2
|
||||
Frame rate: 2
|
||||
Duration: 3600
|
||||
Active cooldown: 5
|
||||
|
||||
Bubble slots: 2
|
||||
|
||||
Slot: 0
|
||||
X: 1
|
||||
Y: 23
|
||||
Text: Take the red pill
|
||||
AlignH: Right
|
||||
AlignV: Bottom
|
||||
StartFrame: 7
|
||||
EndFrame: 9
|
||||
|
||||
Slot: 1
|
||||
X: 1
|
||||
Y: 23
|
||||
Text: I can joke better
|
||||
AlignH: Right
|
||||
AlignV: Bottom
|
||||
StartFrame: 7
|
||||
EndFrame: 9
|
27
assets/dolphin/internal/manifest.txt
Normal file
@@ -0,0 +1,27 @@
|
||||
Filetype: Flipper Animation Manifest
|
||||
Version: 1
|
||||
|
||||
# Animation 1
|
||||
Name: L1_Tv_128x47
|
||||
Min butthurt: 0
|
||||
Max butthurt: 14
|
||||
Min level: 1
|
||||
Max level: 3
|
||||
Weight: 3
|
||||
|
||||
# Animation 2
|
||||
Name: L1_BadBattery_128x47
|
||||
Min butthurt: 0
|
||||
Max butthurt: 14
|
||||
Min level: 1
|
||||
Max level: 3
|
||||
Weight: 3
|
||||
|
||||
# Animation 3
|
||||
Name: L1_NoSd_128x49
|
||||
Min butthurt: 0
|
||||
Max butthurt: 14
|
||||
Min level: 1
|
||||
Max level: 3
|
||||
Weight: 6
|
||||
|