Merge pull request #1207 from Johoseph/app/sonic-clock

Add classic Sonic clock
pull/1214/head
Gordon Williams 2022-01-05 08:33:11 +00:00 committed by GitHub
commit fb985c7695
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 317 additions and 0 deletions

View File

@ -5358,6 +5358,23 @@
{ "name": "diract.img", "url": "diract-icon.js", "evaluate": true }
]
},
{
"id": "sonicclk",
"name": "Sonic Clock",
"version": "1.01",
"description": "A classic sonic clock featuring run, stop and wait animations.",
"icon": "app.png",
"screenshots": [{"url":"screenshot.png"}],
"type": "clock",
"tags": "clock",
"supports": ["BANGLEJS2"],
"allow_emulator": true,
"readme": "README.md",
"storage": [
{"name":"sonicclk.app.js","url":"app.js"},
{"name":"sonicclk.img","url":"app-icon.js","evaluate":true}
]
},
{
"id": "touchmenu",
"name": "TouchMenu",

2
apps/sonicclk/Changelog Normal file
View File

@ -0,0 +1,2 @@
1.00 Added sonic clock app
1.01 Fixed text alignment issue; Increased acceleration required to activate twist;

13
apps/sonicclk/README.md Normal file
View File

@ -0,0 +1,13 @@
# Sonic Clock
A classic sonic clock featuring run, stop and wait animations.
![Sonic Clock screenshot](screenshot.png)
## Usage
- Sonic will run when the screen is unlocked
- Sonic will stop when the screen is locked
- Sonic will wait when looking at your watch face (when `Bangle.on("twist", fn)` is fired).
### Made with love by [Joseph](https://github.com/Johoseph) 🤗

View File

@ -0,0 +1 @@
require("heatshrink").decompress(atob("mEwwkBiIA/AE0ZzIACBIgFFC7oTCylEzOIDYeZogX6LwWd7oYCAAOJC82UpoXFAAKnMC6x2CpIVFC/gSCxOYAYP///4C4X/DBIXWIIwWBDAWPAYIXedQJwG/8AgEP//wgAX2CwIADRoQXmSIoXtJAeEoi+C+lEoAcBogX7zOUondolEpvdAAQXgYIgXCAAwXlAAIYC6ENLx4XtAYMZDAvd6gWJC7IKJABgX/C74A/ADY"))

284
apps/sonicclk/app.js Normal file

File diff suppressed because one or more lines are too long

BIN
apps/sonicclk/app.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 372 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.4 KiB