fixed things because of revert

This commit is contained in:
2022-11-28 18:23:09 +01:00
parent 8fa39a2898
commit e9cb52fa3c
2 changed files with 10 additions and 26 deletions

View File

@@ -1,26 +1,21 @@
[gd_scene load_steps=3 format=3 uid="uid://d6ngurhq1r5y"] [gd_scene load_steps=2 format=3 uid="uid://d6ngurhq1r5y"]
[ext_resource type="Script" path="res://src/scene-scripts/gui/dialog_bubble.cs" id="1_snqhg"]
[ext_resource type="FontFile" uid="uid://cx6bvqk0ghmjv" path="res://assets/font/urbane-rounded-medium.otf" id="1_vlvkg"] [ext_resource type="FontFile" uid="uid://cx6bvqk0ghmjv" path="res://assets/font/urbane-rounded-medium.otf" id="1_vlvkg"]
[node name="dialog_bubble" type="CanvasLayer"] [node name="dialog_bubble" type="CanvasLayer"]
script = ExtResource("1_snqhg") metadata/_edit_use_anchors_ = true
[node name="Background" type="ColorRect" parent="."] [node name="ColorRect" type="ColorRect" parent="."]
anchors_preset = -1 anchors_preset = 12
anchor_left = 0.211 anchor_top = 1.0
anchor_top = 0.786 anchor_right = 1.0
anchor_right = 0.846
anchor_bottom = 1.0 anchor_bottom = 1.0
offset_left = 0.139984 offset_left = 250.0
offset_top = -19.92 offset_top = -190.0
offset_right = 0.0400391 offset_right = -210.0
offset_bottom = -20.0 offset_bottom = -20.0
grow_horizontal = 2 grow_horizontal = 2
grow_vertical = 0 grow_vertical = 0
size_flags_horizontal = 4
size_flags_vertical = 4
metadata/_edit_use_anchors_ = true
[node name="TextLabel" type="Label" parent="."] [node name="TextLabel" type="Label" parent="."]
anchors_preset = -1 anchors_preset = -1

View File

@@ -1,4 +1,4 @@
[gd_scene load_steps=6 format=3 uid="uid://ujfhvssvbgpg"] [gd_scene load_steps=5 format=3 uid="uid://ujfhvssvbgpg"]
[ext_resource type="Script" path="res://src/scene-scripts/player.cs" id="1_qehox"] [ext_resource type="Script" path="res://src/scene-scripts/player.cs" id="1_qehox"]
[ext_resource type="Texture2D" uid="uid://ciidukjv5k6oa" path="res://assets/textures/debug/banana.png" id="2_1l1co"] [ext_resource type="Texture2D" uid="uid://ciidukjv5k6oa" path="res://assets/textures/debug/banana.png" id="2_1l1co"]
@@ -15,9 +15,6 @@ animations = [{
radius = 21.0 radius = 21.0
height = 66.0 height = 66.0
[sub_resource type="RectangleShape2D" id="RectangleShape2D_f1ppa"]
size = Vector2(108, 119)
[node name="player" type="CharacterBody2D"] [node name="player" type="CharacterBody2D"]
script = ExtResource("1_qehox") script = ExtResource("1_qehox")
@@ -29,11 +26,3 @@ shape = SubResource("CapsuleShape2D_38v5o")
[node name="Camera2D" type="Camera2D" parent="."] [node name="Camera2D" type="Camera2D" parent="."]
current = true current = true
[node name="DialogInteractArea" type="Area2D" parent="."]
collision_layer = 2
collision_mask = 0
[node name="CollisionShape2D" type="CollisionShape2D" parent="DialogInteractArea"]
position = Vector2(0, -0.5)
shape = SubResource("RectangleShape2D_f1ppa")