31 lines
1.1 KiB
Plaintext
31 lines
1.1 KiB
Plaintext
[gd_scene load_steps=4 format=2]
|
|
|
|
[ext_resource path="res://palette_mat.tres" type="Material" id=1]
|
|
[ext_resource path="res://Node2D.gd" type="Script" id=2]
|
|
[ext_resource path="res://test/audio_system.tscn" type="PackedScene" id=3]
|
|
|
|
[node name="Control" type="Control"]
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
|
|
[node name="Node2D" type="Node2D" parent="."]
|
|
material = ExtResource( 1 )
|
|
position = Vector2( 16, 16 )
|
|
scale = Vector2( 2, 2 )
|
|
script = ExtResource( 2 )
|
|
|
|
[node name="OptionButton" type="OptionButton" parent="Node2D"]
|
|
anchor_bottom = 0.67
|
|
margin_top = 180.0
|
|
margin_right = 100.0
|
|
margin_bottom = 170.0
|
|
rect_scale = Vector2( 0.5, 0.5 )
|
|
text = "Stand"
|
|
items = [ "Stand", null, false, 0, null, "Guard", null, false, 1, null, "Walk", null, false, 2, null, "Down", null, false, 3, null, "R_Swing", null, false, 4, null, "L_Swing", null, false, 5, null, "Cheer", null, false, 6, null, "Recoil", null, false, 7, null, "Chant", null, false, 8, null ]
|
|
selected = 0
|
|
|
|
[node name="audio_system" parent="." instance=ExtResource( 3 )]
|
|
position = Vector2( 0, 400 )
|
|
|
|
[connection signal="item_selected" from="Node2D/OptionButton" to="Node2D" method="_on_OptionButton_item_selected"]
|