44 lines
1.3 KiB
Plaintext
44 lines
1.3 KiB
Plaintext
[gd_scene load_steps=5 format=2]
|
|
|
|
[ext_resource path="res://ServeArea.gd" type="Script" id=1]
|
|
[ext_resource path="res://Cups/Cup.tscn" type="PackedScene" id=2]
|
|
[ext_resource path="res://Art/LevelBackground.png" type="Texture" id=3]
|
|
|
|
[sub_resource type="RectangleShape2D" id=1]
|
|
extents = Vector2( 267.75, 124 )
|
|
|
|
[node name="World" type="Node2D"]
|
|
|
|
[node name="TextureRect" type="TextureRect" parent="."]
|
|
margin_left = 2.0
|
|
margin_right = 536.0
|
|
margin_bottom = 957.0
|
|
texture = ExtResource( 3 )
|
|
expand = true
|
|
flip_v = true
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="ServeArea" type="Area2D" parent="."]
|
|
script = ExtResource( 1 )
|
|
|
|
[node name="TextureButton" type="TextureButton" parent="ServeArea"]
|
|
margin_right = 539.0
|
|
margin_bottom = 249.0
|
|
mouse_filter = 1
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="ServeArea"]
|
|
position = Vector2( 268.25, 124 )
|
|
shape = SubResource( 1 )
|
|
|
|
[node name="Cup" parent="." instance=ExtResource( 2 )]
|
|
position = Vector2( 266, 908 )
|
|
|
|
[connection signal="mouse_exited" from="ServeArea" to="ServeArea" method="_on_ServeArea_mouse_exited"]
|
|
[connection signal="button_down" from="ServeArea/TextureButton" to="ServeArea" method="_on_TextureButton_button_down"]
|
|
[connection signal="button_up" from="ServeArea/TextureButton" to="ServeArea" method="_on_TextureButton_button_up"]
|