This commit is contained in:
Asaki Yuki 2026-01-05 10:58:28 +07:00
parent d9cf50eec1
commit bb9b300d6f
9 changed files with 83 additions and 31 deletions

View file

@ -1,21 +1,13 @@
import { Anchor, Button, Custom, Extends, GlobalVariables, Panel, Renderer, Type, UI } from ".."
import { Binding, Color, Label, Panel } from ".."
const paperDoll = Custom(Renderer.ANIMATED_GIF_RENDERER, {
camera_tilt_degrees: 360,
starting_rotation: 0,
})
const panel = Panel({
anchor: Anchor.BOTTOM_LEFT,
offset: [50, 50],
}).setProperties({
camera_tilt_degrees: 360,
})
paperDoll.setProperties({
camera_tilt_degrees: 360,
})
panel.setProperties({
hover_control: "cac",
})
Panel({
"#test": 123,
[Binding.IS_CREATIVE_LAYOUT]: true,
[Binding.INVENTORY_SELECTED_ITEM_COLOR]: Color(0x00ff00),
}).addChild(
Label({
text: "Hello, World!",
shadow: true,
color: Color("#3b0202"),
})
)