diff options
Diffstat (limited to 'MainScene.tscn')
-rw-r--r-- | MainScene.tscn | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/MainScene.tscn b/MainScene.tscn index 90b52b8..f9d0a77 100644 --- a/MainScene.tscn +++ b/MainScene.tscn @@ -1,10 +1,15 @@ -[gd_scene load_steps=6 format=2] +[gd_scene load_steps=9 format=2] [ext_resource path="res://assets/background.png" type="Texture" id=1] [ext_resource path="res://coffee_machine/coffee_machine.tscn" type="PackedScene" id=2] [ext_resource path="res://main_scene/Label.gd" type="Script" id=3] [ext_resource path="res://buildings/buildings.tscn" type="PackedScene" id=4] [ext_resource path="res://assets/hire.png" type="Texture" id=5] +[ext_resource path="res://main_scene/hire_button.gd" type="Script" id=6] +[ext_resource path="res://main_scene/programmers.gd" type="Script" id=7] + +[sub_resource type="RectangleShape2D" id=1] +extents = Vector2( 32, 32 ) [node name="Node2D" type="Node2D"] @@ -26,7 +31,14 @@ __meta__ = { [node name="buildings" parent="." instance=ExtResource( 4 )] [node name="hiring" type="Node2D" parent="."] +script = ExtResource( 7 ) [node name="hire" type="Sprite" parent="hiring"] position = Vector2( 519.268, 89.2965 ) texture = ExtResource( 5 ) + +[node name="Area2D" type="Area2D" parent="hiring/hire"] +script = ExtResource( 6 ) + +[node name="CollisionShape2D" type="CollisionShape2D" parent="hiring/hire/Area2D"] +shape = SubResource( 1 ) |