did some useless garbage

This commit is contained in:
2022-11-28 17:59:40 +01:00
parent ca57159c22
commit 964722a41a
9 changed files with 153 additions and 6 deletions

View File

@@ -0,0 +1,40 @@
[gd_scene load_steps=3 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"]
[node name="dialog_bubble" type="CanvasLayer"]
script = ExtResource("1_snqhg")
[node name="Background" type="ColorRect" parent="."]
anchors_preset = -1
anchor_left = 0.211
anchor_top = 0.786
anchor_right = 0.846
anchor_bottom = 1.0
offset_left = 0.139984
offset_top = -19.92
offset_right = 0.0400391
offset_bottom = -20.0
grow_horizontal = 2
grow_vertical = 0
size_flags_horizontal = 4
size_flags_vertical = 4
metadata/_edit_use_anchors_ = true
[node name="TextLabel" type="Label" parent="."]
anchors_preset = -1
anchor_left = 0.218
anchor_top = 0.812
anchor_right = 0.837
anchor_bottom = 0.972
offset_left = 0.319977
offset_top = -19.64
offset_right = 0.380005
offset_bottom = -19.84
grow_horizontal = 2
grow_vertical = 0
theme_override_colors/font_color = Color(0, 0, 0, 1)
theme_override_fonts/font = ExtResource("1_vlvkg")
theme_override_font_sizes/font_size = 32
text = "This is test text"

View File

@@ -0,0 +1,28 @@
[gd_scene load_steps=5 format=3 uid="uid://cjqwrkx04evnr"]
[ext_resource type="Texture2D" uid="uid://p5ubildre2tg" path="res://assets/textures/debug/cupcake.png" id="1_qmvgm"]
[ext_resource type="PackedScene" uid="uid://d14pjtkh0xmrk" path="res://scenes/gui/trigger/dialog_object_area.tscn" id="2_m1t8o"]
[sub_resource type="CircleShape2D" id="CircleShape2D_2d5dy"]
radius = 30.8058
[sub_resource type="RectangleShape2D" id="RectangleShape2D_nu5em"]
size = Vector2(68, 65)
[node name="first_debug_tile" type="StaticBody2D"]
[node name="Sprite2D" type="Sprite2D" parent="."]
texture = ExtResource("1_qmvgm")
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
position = Vector2(-1, 4)
shape = SubResource("CircleShape2D_2d5dy")
[node name="dialog_area" parent="." instance=ExtResource("2_m1t8o")]
dialogKey = "cupcake"
[node name="CollisionShape2D" parent="dialog_area" index="0"]
position = Vector2(0, 0.5)
shape = SubResource("RectangleShape2D_nu5em")
[editable path="dialog_area"]

View File

@@ -15,4 +15,4 @@ tile_set = ExtResource("2_kvjhj")
cell_quadrant_size = 64
format = 2
layer_0/z_index = 1
layer_0/tile_data = PackedInt32Array(65535, 0, 0, 0, 0, 0, 1, 0, 0, 65534, 0, 0, 65533, 0, 0, -3, 0, 0, -2, 0, 0, -1, 0, 0, -65536, 0, 0, -65535, 0, 0)
layer_0/tile_data = PackedInt32Array(65535, 0, 0, 0, 0, 0, 1, 0, 0, 65534, 0, 0, 65533, 0, 0, -3, 0, 0, -2, 0, 0, -1, 0, 0, -65536, 0, 0, -65535, 0, 0, 65529, 1, 65536, 65530, 1, 65536, 65541, 1, 65536, -196605, 1, 65536)