Themes as data: the settings and the rest of TikTok take a look (Stickers, Windows 95, or a theme a plugin brings with the right ui.theme); the DEBUG recovery mode (Clear cache in Android resets the look and puts the plugins in safe mode); new plugin functions (name.style, confetti and buzz on a tap); a few memory trims in the chat bubbles; the person list for bubbles no longer shows screen labels. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
11 lines
621 B
Python
11 lines
621 B
Python
# Пример 8: приколы. Твоё имя волной (только у тебя на экране) и картинка, которая сыплет конфетти и жужжит по нажатию.
|
||
from lihont_ltp import *
|
||
|
||
plugin = Plugin("Приколы", author="Вася", description="Имя волной и конфетти из картинки", license="MIT")
|
||
|
||
plugin.name(me, style("wave"), title="Моё имя волной")
|
||
plugin.screen(picture("star.png", size=100, right=16, bottom=120, on_tap=[wiggle, confetti, buzz]),
|
||
title="Звезда с конфетти")
|
||
|
||
plugin.save()
|