This commit is contained in:
Asaki Yuki 2026-03-02 15:44:19 +07:00
parent a3c734862a
commit 718d801a33
10 changed files with 1274 additions and 58 deletions

View file

@ -1,11 +1,11 @@
import { Label, Modify, Panel } from ".."
import { Anchor, Label, Modify } from ".."
const panel = Panel()
const label = Label({
text: "Hello World!",
anchor: Anchor.TOP_MIDDLE,
offset: [0, 5],
layer: 50,
shadow: true,
})
panel.addChild(
Label({
text: "Hello World",
}),
)
Modify("start", "start_screen_content").insertChild(panel).addBindings({})
Modify("start", "start_screen_content").insertChild(label)