Двери, начальная реализация диалогов, обновление ресурсов
This commit is contained in:
parent
cf7f3bee5b
commit
aa948eb252
25 changed files with 755 additions and 74 deletions
|
@ -1,21 +1,53 @@
|
|||
[gd_scene load_steps=4 format=3 uid="uid://dfdsnwub212o6"]
|
||||
[gd_scene load_steps=8 format=3 uid="uid://dfdsnwub212o6"]
|
||||
|
||||
[ext_resource type="Script" path="res://scripts/Player.cs" id="1_68nsf"]
|
||||
[ext_resource type="SpriteFrames" uid="uid://e8ybb7seykdx" path="res://resources/sprites/player/player.tres" id="1_be2ex"]
|
||||
[ext_resource type="FontFile" uid="uid://dwn20pw40jpxm" path="res://fonts/ZxSpectrum7-nROZ0.ttf" id="3_w5ojp"]
|
||||
[ext_resource type="PackedScene" uid="uid://cmn7af4dsj8v2" path="res://prefabs/Dialog.tscn" id="4_owmws"]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_sed4o"]
|
||||
size = Vector2(20, 29)
|
||||
size = Vector2(22, 51)
|
||||
|
||||
[sub_resource type="Theme" id="Theme_8jldp"]
|
||||
default_font = ExtResource("3_w5ojp")
|
||||
default_font_size = 10
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_l7l8c"]
|
||||
|
||||
[node name="Player" type="CharacterBody2D"]
|
||||
z_index = 10
|
||||
script = ExtResource("1_68nsf")
|
||||
|
||||
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
|
||||
texture_filter = 1
|
||||
sprite_frames = ExtResource("1_be2ex")
|
||||
frame_progress = 0.641559
|
||||
animation = &"walk"
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||||
position = Vector2(0, 0.5)
|
||||
position = Vector2(0, -0.5)
|
||||
shape = SubResource("RectangleShape2D_sed4o")
|
||||
|
||||
[node name="Camera2D" type="Camera2D" parent="."]
|
||||
offset = Vector2(0, -20)
|
||||
zoom = Vector2(2, 2)
|
||||
|
||||
[node name="ChatLog" type="PanelContainer" parent="Camera2D"]
|
||||
offset_left = 160.0
|
||||
offset_top = -140.0
|
||||
offset_right = 276.0
|
||||
offset_bottom = 100.0
|
||||
theme = SubResource("Theme_8jldp")
|
||||
theme_override_styles/panel = SubResource("StyleBoxFlat_l7l8c")
|
||||
|
||||
[node name="HFlowContainer" type="VBoxContainer" parent="Camera2D/ChatLog"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="Label" type="Label" parent="Camera2D/ChatLog/HFlowContainer"]
|
||||
layout_mode = 2
|
||||
text = "Chat"
|
||||
|
||||
[node name="Dialog" parent="Camera2D/ChatLog/HFlowContainer" instance=ExtResource("4_owmws")]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="Dialog2" parent="Camera2D/ChatLog/HFlowContainer" instance=ExtResource("4_owmws")]
|
||||
layout_mode = 2
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue