New Icon; Touch Controls; Menu with Help; Added Music
This commit is contained in:
parent
9e3349eec3
commit
e87f8c3756
71 changed files with 1084 additions and 278 deletions
|
|
@ -18,11 +18,6 @@ func _physics_process(delta: float) -> void:
|
|||
interactIcon.hide()
|
||||
elif not isCarryied():
|
||||
interactIcon.show()
|
||||
|
||||
#if isCarryied():
|
||||
#interactIcon.hide()
|
||||
#elif not isCarryied():
|
||||
#interactIcon.show()
|
||||
|
||||
if player != null:
|
||||
global_position.y = move_toward(global_position.y, player.global_position.y, 3)
|
||||
|
|
@ -46,13 +41,6 @@ func getValue():
|
|||
func isCarryied():
|
||||
return player != null
|
||||
|
||||
|
||||
#func _on_area_entered(area: Area2D) -> void:
|
||||
#if area.is_in_group("Player"):
|
||||
#interactIcon.show()
|
||||
#
|
||||
#
|
||||
#
|
||||
func _on_area_exited(area: Area2D) -> void:
|
||||
if area.is_in_group("Player"):
|
||||
interactIcon.hide()
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@
|
|||
radius = 8.0
|
||||
|
||||
[node name="Computer" instance=ExtResource("1_ahjmy")]
|
||||
value = 100
|
||||
value = 1000
|
||||
weight = 40
|
||||
|
||||
[node name="CollisionShape2D" parent="." index="1"]
|
||||
|
|
|
|||
|
|
@ -4,7 +4,8 @@
|
|||
[ext_resource type="Texture2D" uid="uid://4qj6kf6qfwhv" path="res://Assets/Objects/Controller.png" id="2_agabt"]
|
||||
|
||||
[node name="Controller" instance=ExtResource("1_2gi3p")]
|
||||
value = 50
|
||||
weight = 5
|
||||
|
||||
[node name="Sprite2D" parent="." index="1"]
|
||||
position = Vector2(0, -4)
|
||||
[node name="Sprite2D" parent="." index="2"]
|
||||
texture = ExtResource("2_agabt")
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
[ext_resource type="Texture2D" uid="uid://br853cx0laqjr" path="res://Assets/Objects/FoodTinCan.png" id="2_ywu5t"]
|
||||
|
||||
[node name="FoodTinCan" instance=ExtResource("1_5c6qq")]
|
||||
weight = 10
|
||||
|
||||
[node name="Sprite2D" parent="." index="1"]
|
||||
position = Vector2(0, -4)
|
||||
[node name="Sprite2D" parent="." index="2"]
|
||||
texture = ExtResource("2_ywu5t")
|
||||
|
|
|
|||
|
|
@ -4,9 +4,8 @@
|
|||
[ext_resource type="Texture2D" uid="uid://4dcme0lv0gs3" path="res://Assets/Objects/GameConsole.png" id="2_8xb0y"]
|
||||
|
||||
[node name="GameConsole" instance=ExtResource("1_uy3sa")]
|
||||
value = 60
|
||||
weight = 30
|
||||
value = 600
|
||||
weight = 35
|
||||
|
||||
[node name="Sprite2D" parent="." index="1"]
|
||||
position = Vector2(0, -4)
|
||||
[node name="Sprite2D" parent="." index="2"]
|
||||
texture = ExtResource("2_8xb0y")
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@
|
|||
radius = 8.0
|
||||
|
||||
[node name="GoldBar" instance=ExtResource("1_iouty")]
|
||||
value = 800
|
||||
value = 1000
|
||||
weight = 50
|
||||
|
||||
[node name="CollisionShape2D" parent="." index="1"]
|
||||
|
|
|
|||
|
|
@ -4,7 +4,8 @@
|
|||
[ext_resource type="Texture2D" uid="uid://brbshxkillo2g" path="res://Assets/Objects/Hammer.png" id="2_1akxm"]
|
||||
|
||||
[node name="Hammer" instance=ExtResource("1_x0fak")]
|
||||
value = 30
|
||||
weight = 10
|
||||
|
||||
[node name="Sprite2D" parent="." index="1"]
|
||||
position = Vector2(0, -4)
|
||||
[node name="Sprite2D" parent="." index="2"]
|
||||
texture = ExtResource("2_1akxm")
|
||||
|
|
|
|||
|
|
@ -4,9 +4,8 @@
|
|||
[ext_resource type="Texture2D" uid="uid://dycry3xe2kkuv" path="res://Assets/Objects/helmet.png" id="2_afdlx"]
|
||||
|
||||
[node name="Helmet" instance=ExtResource("1_ft6b2")]
|
||||
value = 55
|
||||
value = 100
|
||||
weight = 10
|
||||
|
||||
[node name="Sprite2D" parent="." index="1"]
|
||||
position = Vector2(0, -4)
|
||||
[node name="Sprite2D" parent="." index="2"]
|
||||
texture = ExtResource("2_afdlx")
|
||||
|
|
|
|||
|
|
@ -7,12 +7,11 @@
|
|||
radius = 8.0
|
||||
|
||||
[node name="Monitor" instance=ExtResource("1_8hfxh")]
|
||||
value = 50
|
||||
weight = 10
|
||||
value = 200
|
||||
weight = 25
|
||||
|
||||
[node name="CollisionShape2D" parent="." index="0"]
|
||||
[node name="CollisionShape2D" parent="." index="1"]
|
||||
shape = SubResource("CircleShape2D_rhwnp")
|
||||
|
||||
[node name="Sprite2D" parent="." index="1"]
|
||||
position = Vector2(0, -4)
|
||||
[node name="Sprite2D" parent="." index="2"]
|
||||
texture = ExtResource("2_7s1fc")
|
||||
|
|
|
|||
|
|
@ -4,7 +4,8 @@
|
|||
[ext_resource type="Texture2D" uid="uid://ddaedsbebomx5" path="res://Assets/Objects/MysteryBriefcase.png" id="2_2j5i0"]
|
||||
|
||||
[node name="MysteryBriefcase" instance=ExtResource("1_h8wmp")]
|
||||
value = 900
|
||||
weight = 20
|
||||
|
||||
[node name="Sprite2D" parent="." index="1"]
|
||||
position = Vector2(0, -4)
|
||||
[node name="Sprite2D" parent="." index="2"]
|
||||
texture = ExtResource("2_2j5i0")
|
||||
|
|
|
|||
|
|
@ -4,7 +4,8 @@
|
|||
[ext_resource type="Texture2D" uid="uid://cyjlwsdf51v8b" path="res://Assets/Objects/MyteryLiquid.png" id="2_nkcej"]
|
||||
|
||||
[node name="MysteryLiquid" instance=ExtResource("1_nnm1b")]
|
||||
value = 500
|
||||
weight = 10
|
||||
|
||||
[node name="Sprite2D" parent="." index="1"]
|
||||
position = Vector2(0, -4)
|
||||
[node name="Sprite2D" parent="." index="2"]
|
||||
texture = ExtResource("2_nkcej")
|
||||
|
|
|
|||
|
|
@ -4,7 +4,8 @@
|
|||
[ext_resource type="Texture2D" uid="uid://dq8lm6a4tyoss" path="res://Assets/Objects/Screwdriver.png" id="2_14dxu"]
|
||||
|
||||
[node name="Screwdriver" instance=ExtResource("1_uny6r")]
|
||||
value = 30
|
||||
weight = 10
|
||||
|
||||
[node name="Sprite2D" parent="." index="1"]
|
||||
position = Vector2(0, -4)
|
||||
[node name="Sprite2D" parent="." index="2"]
|
||||
texture = ExtResource("2_14dxu")
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
[ext_resource type="Texture2D" uid="uid://cxpy70verc74h" path="res://Assets/Objects/SodaCan.png" id="2_1yknj"]
|
||||
|
||||
[node name="SodaCan" instance=ExtResource("1_prdq3")]
|
||||
weight = 5
|
||||
|
||||
[node name="Sprite2D" parent="." index="1"]
|
||||
position = Vector2(0, -4)
|
||||
[node name="Sprite2D" parent="." index="2"]
|
||||
texture = ExtResource("2_1yknj")
|
||||
|
|
|
|||
|
|
@ -4,7 +4,8 @@
|
|||
[ext_resource type="Texture2D" uid="uid://bmlb8b00cro1f" path="res://Assets/Objects/Speaker.png" id="2_t3xrn"]
|
||||
|
||||
[node name="Speaker" instance=ExtResource("1_jlw2l")]
|
||||
value = 700
|
||||
weight = 35
|
||||
|
||||
[node name="Sprite2D" parent="." index="1"]
|
||||
position = Vector2(0, -4)
|
||||
[node name="Sprite2D" parent="." index="2"]
|
||||
texture = ExtResource("2_t3xrn")
|
||||
|
|
|
|||
|
|
@ -4,7 +4,8 @@
|
|||
[ext_resource type="Texture2D" uid="uid://bwl8v34qo8pif" path="res://Assets/Objects/TeddyBear.png" id="2_xa3pj"]
|
||||
|
||||
[node name="TeddyBear" instance=ExtResource("1_g3qoc")]
|
||||
value = 40
|
||||
weight = 10
|
||||
|
||||
[node name="Sprite2D" parent="." index="1"]
|
||||
position = Vector2(0, -4)
|
||||
[node name="Sprite2D" parent="." index="2"]
|
||||
texture = ExtResource("2_xa3pj")
|
||||
|
|
|
|||
|
|
@ -4,7 +4,8 @@
|
|||
[ext_resource type="Texture2D" uid="uid://cug6xc65ak64a" path="res://Assets/Objects/Telephone.png" id="2_1w0uo"]
|
||||
|
||||
[node name="Telephone" instance=ExtResource("1_wpn0g")]
|
||||
value = 60
|
||||
weight = 25
|
||||
|
||||
[node name="Sprite2D" parent="." index="1"]
|
||||
position = Vector2(0, -4)
|
||||
[node name="Sprite2D" parent="." index="2"]
|
||||
texture = ExtResource("2_1w0uo")
|
||||
|
|
|
|||
|
|
@ -4,7 +4,8 @@
|
|||
[ext_resource type="Texture2D" uid="uid://bo803pp8gtg5y" path="res://Assets/Objects/Toolbox.png" id="2_co5u1"]
|
||||
|
||||
[node name="Toolbox" instance=ExtResource("1_fk7ja")]
|
||||
value = 150
|
||||
weight = 30
|
||||
|
||||
[node name="Sprite2D" parent="." index="1"]
|
||||
position = Vector2(0, -4)
|
||||
[node name="Sprite2D" parent="." index="2"]
|
||||
texture = ExtResource("2_co5u1")
|
||||
|
|
|
|||
|
|
@ -8,6 +8,8 @@ radius = 8.0
|
|||
|
||||
[node name="Vase" instance=ExtResource("1_fkdlr")]
|
||||
y_sort_enabled = true
|
||||
value = 100
|
||||
weight = 35
|
||||
|
||||
[node name="CollisionShape2D" parent="." index="1"]
|
||||
shape = SubResource("CircleShape2D_pmiic")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue