Отсканируй на iPhone, чтобы установить
Play hide and seek with your pet. Choose a sound and time and quickly hide your device. The sounds trigger your pet into some playful search. Let the hunting begin! Hide your device under a pillow or blanket. Shortcut features: - Select a sound - Choose the playing time - Restores your volume and brightness after the game has ended.
Что нового
Версия 1.0
First release
Что делает
Действий: 55-
CommentCat toy v1 by WildlakeLN Play hide and seek with your pet. Choose a sound and time and quickly hide your device. The sounds trigger your pet into some playful search. Let the hunting begin! Hide your device under a pillow or blanket. Shortcut featur…
-
CommentPlease don't frustrate your pet, so do not make it too difficult to find your device. If this game doesn't seem to give any reaction or triggers any interest in the playfulness of your pet, do not force your pet in any unwanted actions. Remember tha…
-
CommentFor your safety: No personal information is shared externally. This shortcut uses only native and local shortcuts actions. This shortcut is for entertainment purposes only.
-
Get Device Details
-
Set VariableVolume
-
Get Device Details
-
Set VariableBrightness
-
Show AlertLet's play hide and seek
-
Choose from MenuFor how long does the game needs to play?
-
Choose from Menu1 Minute
-
Number
-
Choose from Menu2 Minutes
-
Number
-
Choose from Menu5 Minutes
-
Number
-
Choose from Menu10 Minutes
-
Number
-
Text
-
Set VariableInstruction
-
Choose from MenuChoose a sound:
-
Choose from MenuBird sounds
-
Show AlertStart game with bird sounds 🐦
-
Wait
-
Set Low Power Mode
-
Set Volume
-
Set Brightness
-
Repeat
-
Text
-
Base64 Encode
-
Play Sound
-
Choose from MenuCat sounds
-
Show AlertStart game with cat sounds 🐱
-
Wait
-
Set Low Power Mode
-
Set Volume
-
Set Brightness
-
Repeat
-
Text
-
Base64 Encode
-
Play Sound
-
Choose from MenuMice sounds
-
Show AlertStart game with mice sounds 🐭
-
Wait
-
Set Low Power Mode
-
Set Volume
-
Set Brightness
-
Repeat
-
Text
-
Base64 Encode
-
Play Sound
-
Set Volume
-
Set Brightness
-
Set Low Power Mode
-
Show Alert
-
Run ShortcutCat toy
Посмотреть как код
Все действия этой команды, записанные на Cherri — языке программирования для приложения «Быстрые команды». Отлично подходит, чтобы разобраться, как она работает.
#include 'actions/media'
#define mac false
#include 'actions/device'
#define color pink
#define glyph pawPrint
/*
Cat toy v1 by WildlakeLN
Play hide and seek with your pet. Choose a sound and time and quickly hide your device. The sounds trigger your pet into some playful search. Let the hunting begin! Hide your device under a pillow or blanket.
Shortcut features:
- Select a sound
- Choose the playing time
- Restores your volume and brightness after the game has ended.
*/
// Please don't frustrate your pet, so do not make it too difficult to find your device. If this game doesn't seem to give any reaction or triggers any interest in the playfulness of your pet, do not force your pet in any unwanted actions. Remember that this game doesn't always effect every pet.
// For your safety: No personal information is shared externally. This shortcut uses only native and local shortcuts actions. This shortcut is for entertainment purposes only.
getDeviceDetail("Current Volume")
@Volume = nil
getDeviceDetail("Current Brightness")
@Brightness = nil
alert("Choose a sound and time and hide your device. The sounds will trigger your pet into some playful search.\n\nTip: Hide your device under a blanket or pillow.", "Let's play hide and seek")
const ResultaatMenu = menu "For how long does the game needs to play?" {
item "1 Minute":
item "2 Minutes":
item "5 Minutes":
item "10 Minutes":
}
@Instruction = "Press 'OK' and hide your device, so your pet can go on a hunting trip.\n\nDo not lock your device. You have 10 seconds before the game starts."
menu "Choose a sound:" {
item "Bird sounds":
alert(@Instruction, "Start game with bird sounds 🐦")
wait(10)
setLowPowerMode(false)
setVolume(1)
setBrightness(0)
repeat _ for ResultaatMenu {
base64Encode(nil)
playSound(nil)
}
item "Cat sounds":
alert(@Instruction, "Start game with cat sounds 🐱")
wait(10)
setLowPowerMode(false)
setVolume(1)
setBrightness(0)
repeat _ for ResultaatMenu {
base64Encode(nil)
playSound(nil)
}
item "Mice sounds":
alert(@Instruction, "Start game with mice sounds 🐭")
wait(10)
setLowPowerMode(false)
setVolume(1)
setBrightness(0)
repeat _ for ResultaatMenu {
base64Encode(nil)
playSound(nil)
}
}
setVolume(@Volume)
setBrightness(@Brightness)
setLowPowerMode(false)
alert("Do you want to play again?", "")
runSelf()
Открыть в Cherri Playground
Декомпилировано с помощью cherri 2.3.0 (GPL-2.0). Перед компиляцией могут понадобиться небольшие исправления.
Оценки и отзывы
Написать отзыв–
из 5
★★★★★
★★★★
★★★
★★
★
0 ratings
Пока нет отзывов. Поделись мнением первым!
Реклама
Вам также может понравиться
Реклама