342 lines
11 KiB
Plaintext
342 lines
11 KiB
Plaintext
[gd_scene load_steps=37 format=2]
|
|
|
|
[ext_resource path="res://Table/OppositeDropArea.gd" type="Script" id=1]
|
|
[ext_resource path="res://Table/PlayerAction.gd" type="Script" id=2]
|
|
[ext_resource path="res://Table/RightDropArea.gd" type="Script" id=3]
|
|
[ext_resource path="res://Table/LeftHand.gd" type="Script" id=4]
|
|
[ext_resource path="res://Table/RightHand.gd" type="Script" id=5]
|
|
[ext_resource path="res://Table/Table.gd" type="Script" id=6]
|
|
[ext_resource path="res://Table/Timer.gd" type="Script" id=7]
|
|
[ext_resource path="res://Table/OppositeHand.gd" type="Script" id=8]
|
|
[ext_resource path="res://Asset/Timer/TimerBottom.png" type="Texture" id=9]
|
|
[ext_resource path="res://Asset/Timer/TimerRight.png" type="Texture" id=10]
|
|
[ext_resource path="res://Asset/Button/PlayerAction/ActionPass.png" type="Texture" id=11]
|
|
[ext_resource path="res://Asset/Timer/TimerLeft.png" type="Texture" id=12]
|
|
[ext_resource path="res://Asset/Timer/TimerBackground.png" type="Texture" id=13]
|
|
[ext_resource path="res://Asset/Timer/TimerOpposite.png" type="Texture" id=14]
|
|
[ext_resource path="res://Asset/Button/PlayerAction/ActionChow.png" type="Texture" id=15]
|
|
[ext_resource path="res://Asset/Button/PlayerAction/ActionKong.png" type="Texture" id=16]
|
|
[ext_resource path="res://Asset/Button/PlayerAction/ActionWin.png" type="Texture" id=17]
|
|
[ext_resource path="res://Asset/TableBackground.png" type="Texture" id=18]
|
|
[ext_resource path="res://Asset/Button/PlayerAction/ActionPong.png" type="Texture" id=19]
|
|
[ext_resource path="res://Table/BottomDropArea.gd" type="Script" id=20]
|
|
[ext_resource path="res://Table/BottomHand.gd" type="Script" id=21]
|
|
[ext_resource path="res://Table/LeftDropArea.gd" type="Script" id=22]
|
|
[ext_resource path="res://Table/BottomShown.gd" type="Script" id=23]
|
|
[ext_resource path="res://Table/OppoShown.gd" type="Script" id=24]
|
|
[ext_resource path="res://Table/LeftShown.gd" type="Script" id=25]
|
|
[ext_resource path="res://Table/RightShown.gd" type="Script" id=26]
|
|
[ext_resource path="res://Table/LeftChow.gd" type="Script" id=27]
|
|
[ext_resource path="res://Table/MidChow.gd" type="Script" id=28]
|
|
[ext_resource path="res://Table/RightChow.gd" type="Script" id=29]
|
|
[ext_resource path="res://Table/ChowPanel.gd" type="Script" id=30]
|
|
[ext_resource path="res://Asset/Audio/BGM/BGM1.ogg" type="AudioStream" id=31]
|
|
[ext_resource path="res://Asset/Button/RoomControl/Ready.png" type="Texture" id=32]
|
|
[ext_resource path="res://Asset/Button/RoomControl/Mute.png" type="Texture" id=33]
|
|
[ext_resource path="res://Asset/Button/RoomControl/Sound.png" type="Texture" id=34]
|
|
[ext_resource path="res://Asset/Button/RoomControl/Music.png" type="Texture" id=35]
|
|
[ext_resource path="res://Asset/Button/RoomControl/MusicMute.png" type="Texture" id=36]
|
|
|
|
[node name="Table" type="Node2D"]
|
|
script = ExtResource( 6 )
|
|
|
|
[node name="BGMPlayer" type="AudioStreamPlayer" parent="."]
|
|
stream = ExtResource( 31 )
|
|
autoplay = true
|
|
|
|
[node name="ActionPlayer" type="AudioStreamPlayer" parent="."]
|
|
bus = "Effect"
|
|
|
|
[node name="Background" type="TextureRect" parent="."]
|
|
margin_right = 1920.0
|
|
margin_bottom = 1080.0
|
|
texture = ExtResource( 18 )
|
|
expand = true
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="Timer" type="TextureRect" parent="."]
|
|
margin_right = 132.0
|
|
margin_bottom = 131.0
|
|
texture = ExtResource( 13 )
|
|
script = ExtResource( 7 )
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="TimerLeft" type="TextureRect" parent="Timer"]
|
|
visible = false
|
|
margin_left = -164.0
|
|
margin_top = -174.0
|
|
margin_right = 40.0
|
|
margin_bottom = 251.0
|
|
texture = ExtResource( 12 )
|
|
|
|
[node name="TimerRight" type="TextureRect" parent="Timer"]
|
|
visible = false
|
|
margin_left = 94.0
|
|
margin_top = -173.0
|
|
margin_right = 298.0
|
|
margin_bottom = 252.0
|
|
texture = ExtResource( 10 )
|
|
|
|
[node name="TimerOpposite" type="TextureRect" parent="Timer"]
|
|
visible = false
|
|
margin_left = -119.0
|
|
margin_top = -166.0
|
|
margin_right = 303.0
|
|
margin_bottom = 35.0
|
|
texture = ExtResource( 14 )
|
|
|
|
[node name="TimerBottom" type="TextureRect" parent="Timer"]
|
|
visible = false
|
|
margin_left = -122.0
|
|
margin_top = 92.0
|
|
margin_right = 304.0
|
|
margin_bottom = 295.0
|
|
texture = ExtResource( 9 )
|
|
|
|
[node name="OppositeHand" type="Node2D" parent="."]
|
|
position = Vector2( 896.551, 142.818 )
|
|
script = ExtResource( 8 )
|
|
|
|
[node name="OppoShown" type="Node2D" parent="."]
|
|
position = Vector2( 1573.25, 148.362 )
|
|
script = ExtResource( 24 )
|
|
|
|
[node name="OppositeDropArea" type="Node2D" parent="."]
|
|
position = Vector2( 1222.13, 256.318 )
|
|
script = ExtResource( 1 )
|
|
|
|
[node name="BottomDropArea" type="Node2D" parent="."]
|
|
position = Vector2( 621.315, 779.207 )
|
|
script = ExtResource( 20 )
|
|
|
|
[node name="BottomShown" type="Node2D" parent="."]
|
|
position = Vector2( 92.726, 914.896 )
|
|
script = ExtResource( 23 )
|
|
|
|
[node name="BottomHand" type="Node2D" parent="."]
|
|
script = ExtResource( 21 )
|
|
|
|
[node name="LeftHand" type="Node2D" parent="."]
|
|
position = Vector2( 163.816, 336.905 )
|
|
script = ExtResource( 4 )
|
|
|
|
[node name="LeftShown" type="Node2D" parent="."]
|
|
position = Vector2( 256.542, 126.726 )
|
|
script = ExtResource( 25 )
|
|
|
|
[node name="LeftDropArea" type="Node2D" parent="."]
|
|
position = Vector2( 383.452, 332.188 )
|
|
script = ExtResource( 22 )
|
|
|
|
[node name="RightHand" type="Node2D" parent="."]
|
|
position = Vector2( 1805.06, 383.268 )
|
|
script = ExtResource( 5 )
|
|
|
|
[node name="RightShown" type="Node2D" parent="."]
|
|
position = Vector2( 1718.52, 856.17 )
|
|
script = ExtResource( 26 )
|
|
|
|
[node name="RightDropArea" type="Node2D" parent="."]
|
|
position = Vector2( 1570.72, 658.225 )
|
|
script = ExtResource( 3 )
|
|
|
|
[node name="PlayerAction" type="HBoxContainer" parent="."]
|
|
visible = false
|
|
margin_left = 1054.08
|
|
margin_top = 690.079
|
|
margin_right = 1819.08
|
|
margin_bottom = 805.079
|
|
custom_constants/separation = 10
|
|
alignment = 2
|
|
script = ExtResource( 2 )
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="Chow" type="TextureButton" parent="PlayerAction"]
|
|
margin_right = 145.0
|
|
margin_bottom = 115.0
|
|
texture_normal = ExtResource( 15 )
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="Pong" type="TextureButton" parent="PlayerAction"]
|
|
margin_left = 155.0
|
|
margin_right = 300.0
|
|
margin_bottom = 115.0
|
|
texture_normal = ExtResource( 19 )
|
|
|
|
[node name="Kong" type="TextureButton" parent="PlayerAction"]
|
|
margin_left = 310.0
|
|
margin_right = 455.0
|
|
margin_bottom = 115.0
|
|
texture_normal = ExtResource( 16 )
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="Win" type="TextureButton" parent="PlayerAction"]
|
|
margin_left = 465.0
|
|
margin_right = 610.0
|
|
margin_bottom = 115.0
|
|
texture_normal = ExtResource( 17 )
|
|
|
|
[node name="Cancel" type="TextureButton" parent="PlayerAction"]
|
|
margin_left = 620.0
|
|
margin_right = 765.0
|
|
margin_bottom = 115.0
|
|
texture_normal = ExtResource( 11 )
|
|
|
|
[node name="ChowPanel" type="Node2D" parent="."]
|
|
visible = false
|
|
position = Vector2( 684.956, 530.841 )
|
|
script = ExtResource( 30 )
|
|
|
|
[node name="LeftChow" type="Node2D" parent="ChowPanel"]
|
|
script = ExtResource( 27 )
|
|
|
|
[node name="MidChow" type="Node2D" parent="ChowPanel"]
|
|
script = ExtResource( 28 )
|
|
|
|
[node name="RightChow" type="Node2D" parent="ChowPanel"]
|
|
script = ExtResource( 29 )
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="."]
|
|
margin_right = 40.0
|
|
margin_bottom = 40.0
|
|
rect_scale = Vector2( 2, 4 )
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="TestButtons" type="HBoxContainer" parent="VBoxContainer"]
|
|
margin_right = 76.0
|
|
margin_bottom = 37.0
|
|
custom_constants/separation = 10
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="StartButton" type="Button" parent="VBoxContainer/TestButtons"]
|
|
margin_right = 76.0
|
|
margin_bottom = 37.0
|
|
text = "Start"
|
|
|
|
[node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer"]
|
|
visible = false
|
|
margin_top = 45.0
|
|
margin_right = 1377.0
|
|
margin_bottom = 82.0
|
|
|
|
[node name="Button" type="Button" parent="VBoxContainer/HBoxContainer"]
|
|
margin_right = 111.0
|
|
margin_bottom = 37.0
|
|
text = "Add Tile"
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="Button3" type="Button" parent="VBoxContainer/HBoxContainer"]
|
|
margin_left = 119.0
|
|
margin_right = 261.0
|
|
margin_bottom = 37.0
|
|
text = "Add to Left"
|
|
|
|
[node name="Button2" type="Button" parent="VBoxContainer/HBoxContainer"]
|
|
margin_left = 269.0
|
|
margin_right = 465.0
|
|
margin_bottom = 37.0
|
|
text = "Add to Oppotite"
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="Button4" type="Button" parent="VBoxContainer/HBoxContainer"]
|
|
margin_left = 473.0
|
|
margin_right = 610.0
|
|
margin_bottom = 37.0
|
|
text = "RightHand"
|
|
|
|
[node name="Button5" type="Button" parent="VBoxContainer/HBoxContainer"]
|
|
margin_left = 618.0
|
|
margin_right = 777.0
|
|
margin_bottom = 37.0
|
|
text = "BottomDrop"
|
|
|
|
[node name="Button6" type="Button" parent="VBoxContainer/HBoxContainer"]
|
|
margin_left = 785.0
|
|
margin_right = 904.0
|
|
margin_bottom = 37.0
|
|
text = "LeftDrop"
|
|
|
|
[node name="Button7" type="Button" parent="VBoxContainer/HBoxContainer"]
|
|
margin_left = 912.0
|
|
margin_right = 1045.0
|
|
margin_bottom = 37.0
|
|
text = "RightDrop"
|
|
|
|
[node name="Button8" type="Button" parent="VBoxContainer/HBoxContainer"]
|
|
margin_left = 1053.0
|
|
margin_right = 1191.0
|
|
margin_bottom = 37.0
|
|
text = "OppoDrop"
|
|
|
|
[node name="Button9" type="Button" parent="VBoxContainer/HBoxContainer"]
|
|
margin_left = 1199.0
|
|
margin_right = 1377.0
|
|
margin_bottom = 37.0
|
|
text = "BottomShown"
|
|
|
|
[node name="ReadyButton" type="TextureButton" parent="."]
|
|
visible = false
|
|
margin_left = 896.551
|
|
margin_top = 603.429
|
|
margin_right = 1132.55
|
|
margin_bottom = 702.429
|
|
texture_normal = ExtResource( 32 )
|
|
__meta__ = {
|
|
"_edit_use_anchors_": true
|
|
}
|
|
|
|
[node name="ControlButtons" type="HBoxContainer" parent="."]
|
|
margin_left = 1509.08
|
|
margin_top = 35.0
|
|
margin_right = 1815.08
|
|
margin_bottom = 163.0
|
|
custom_constants/separation = 50
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="MusicButton" type="TextureButton" parent="ControlButtons"]
|
|
margin_right = 128.0
|
|
margin_bottom = 128.0
|
|
toggle_mode = true
|
|
texture_normal = ExtResource( 35 )
|
|
texture_pressed = ExtResource( 36 )
|
|
|
|
[node name="SoundButton" type="TextureButton" parent="ControlButtons"]
|
|
margin_left = 178.0
|
|
margin_right = 306.0
|
|
margin_bottom = 128.0
|
|
toggle_mode = true
|
|
texture_normal = ExtResource( 34 )
|
|
texture_pressed = ExtResource( 33 )
|
|
[connection signal="pressed" from="VBoxContainer/TestButtons/StartButton" to="." method="_on_Button9_pressed"]
|
|
[connection signal="pressed" from="VBoxContainer/HBoxContainer/Button" to="." method="_on_Button_pressed"]
|
|
[connection signal="pressed" from="VBoxContainer/HBoxContainer/Button3" to="." method="_on_Button3_pressed"]
|
|
[connection signal="pressed" from="VBoxContainer/HBoxContainer/Button2" to="." method="_on_Button2_pressed"]
|
|
[connection signal="pressed" from="VBoxContainer/HBoxContainer/Button4" to="." method="_on_righthand_pressed"]
|
|
[connection signal="pressed" from="VBoxContainer/HBoxContainer/Button5" to="." method="_on_bottomdrop_pressed"]
|
|
[connection signal="pressed" from="VBoxContainer/HBoxContainer/Button6" to="." method="_on_leftdrop_pressed"]
|
|
[connection signal="pressed" from="VBoxContainer/HBoxContainer/Button7" to="." method="_on_rightdrop_pressed"]
|
|
[connection signal="pressed" from="VBoxContainer/HBoxContainer/Button8" to="." method="_on_oppodrop_pressed"]
|
|
[connection signal="pressed" from="VBoxContainer/HBoxContainer/Button9" to="." method="_on_bottomshown_pressed"]
|
|
[connection signal="pressed" from="ControlButtons/MusicButton" to="." method="handle_music_button_clicked"]
|
|
[connection signal="pressed" from="ControlButtons/SoundButton" to="." method="handle_sound_button_clicked"]
|