Adds new animations and background
This commit is contained in:
72
game.tscn
72
game.tscn
@@ -1,10 +1,12 @@
|
||||
[gd_scene load_steps=10 format=3 uid="uid://decsef3jj3lt5"]
|
||||
[gd_scene load_steps=12 format=3 uid="uid://decsef3jj3lt5"]
|
||||
|
||||
[ext_resource type="Script" path="res://game.gd" id="1_bhcvq"]
|
||||
[ext_resource type="PackedScene" uid="uid://bhvihrt8dipll" path="res://Scenes/Button/button.tscn" id="1_j4pve"]
|
||||
[ext_resource type="Shader" path="res://game.gdshader" id="2_k6uao"]
|
||||
[ext_resource type="PackedScene" uid="uid://du2jgrreaylhr" path="res://Scenes/dialog.tscn" id="3_s0nfr"]
|
||||
[ext_resource type="Texture2D" uid="uid://b4d0kcmvv4qcx" path="res://Scenes/background.png" id="3_hovne"]
|
||||
[ext_resource type="Script" path="res://camera_2d.gd" id="4_u8t00"]
|
||||
[ext_resource type="Script" path="res://Scenes/dialog.gd" id="7_64bvv"]
|
||||
[ext_resource type="FontFile" uid="uid://dr1wo1inm6yfw" path="res://Assets/Seven Segment.ttf" id="7_ydsit"]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_sesmb"]
|
||||
size = Vector2(995, 433.534)
|
||||
@@ -26,8 +28,6 @@ shader_parameter/Noise = SubResource("NoiseTexture2D_0s1i7")
|
||||
process_mode = 3
|
||||
script = ExtResource("1_bhcvq")
|
||||
|
||||
[node name="Dialog" parent="." instance=ExtResource("3_s0nfr")]
|
||||
|
||||
[node name="CanvasLayer" type="CanvasLayer" parent="."]
|
||||
layer = -1
|
||||
follow_viewport_enabled = true
|
||||
@@ -45,60 +45,62 @@ scale = Vector2(1.00712, 1.00483)
|
||||
color = Color(0.623529, 0.14902, 0.184314, 0.592157)
|
||||
|
||||
[node name="Label" type="Label" parent="CanvasLayer"]
|
||||
z_index = 10
|
||||
anchors_preset = 5
|
||||
anchor_left = 0.5
|
||||
anchor_right = 0.5
|
||||
offset_left = -86.0
|
||||
offset_right = 86.0
|
||||
offset_bottom = 99.0
|
||||
offset_left = -133.0
|
||||
offset_top = 510.0
|
||||
offset_right = 39.0
|
||||
offset_bottom = 609.0
|
||||
grow_horizontal = 2
|
||||
scale = Vector2(1.44085, 0.87726)
|
||||
size_flags_horizontal = 8
|
||||
theme_override_colors/font_color = Color(0, 0, 0, 1)
|
||||
theme_override_font_sizes/font_size = 40
|
||||
theme_override_colors/font_color = Color(0, 1, 0, 1)
|
||||
theme_override_fonts/font = ExtResource("7_ydsit")
|
||||
theme_override_font_sizes/font_size = 65
|
||||
text = "0"
|
||||
horizontal_alignment = 1
|
||||
|
||||
[node name="Dialog2" parent="CanvasLayer" instance=ExtResource("3_s0nfr")]
|
||||
[node name="TextureRect" type="TextureRect" parent="CanvasLayer"]
|
||||
offset_left = -13.0
|
||||
offset_top = -288.0
|
||||
offset_right = 2987.0
|
||||
offset_bottom = 2712.0
|
||||
scale = Vector2(0.397971, 0.397971)
|
||||
texture = ExtResource("3_hovne")
|
||||
|
||||
[node name="A" parent="." groups=["button_group"] instance=ExtResource("1_j4pve")]
|
||||
position = Vector2(872, 515)
|
||||
position = Vector2(861, 566)
|
||||
input_name = "A"
|
||||
color_mix = Color(1.01075e-06, 0.583986, 0.337423, 1)
|
||||
|
||||
[node name="DOWN" parent="." groups=["button_group"] instance=ExtResource("1_j4pve")]
|
||||
position = Vector2(236, 515)
|
||||
position = Vector2(222, 577)
|
||||
input_name = "DOWN"
|
||||
color_mix = Color(1.01075e-06, 0.583986, 0.337423, 1)
|
||||
|
||||
[node name="UP" parent="." groups=["button_group"] instance=ExtResource("1_j4pve")]
|
||||
position = Vector2(236, 330)
|
||||
position = Vector2(223, 381)
|
||||
input_name = "UP"
|
||||
color_mix = Color(1.01075e-06, 0.583986, 0.337423, 1)
|
||||
|
||||
[node name="RIGHT" parent="." groups=["button_group"] instance=ExtResource("1_j4pve")]
|
||||
position = Vector2(334, 422)
|
||||
position = Vector2(350, 476)
|
||||
input_name = "RIGHT"
|
||||
color_mix = Color(1.01075e-06, 0.583986, 0.337423, 1)
|
||||
|
||||
[node name="LEFT" parent="." groups=["button_group"] instance=ExtResource("1_j4pve")]
|
||||
position = Vector2(143, 422)
|
||||
position = Vector2(104, 471)
|
||||
input_name = "LEFT"
|
||||
color_mix = Color(1.01075e-06, 0.583986, 0.337423, 1)
|
||||
|
||||
[node name="Y" parent="." groups=["button_group"] instance=ExtResource("1_j4pve")]
|
||||
position = Vector2(872, 330)
|
||||
position = Vector2(861, 381)
|
||||
input_name = "Y"
|
||||
color_mix = Color(0.917, 1, 0.17, 1)
|
||||
|
||||
[node name="X" parent="." groups=["button_group"] instance=ExtResource("1_j4pve")]
|
||||
position = Vector2(777, 422)
|
||||
position = Vector2(766, 473)
|
||||
input_name = "X"
|
||||
color_mix = Color(0, 0.424825, 0.812361, 1)
|
||||
|
||||
[node name="B" parent="." groups=["button_group"] instance=ExtResource("1_j4pve")]
|
||||
position = Vector2(984, 425)
|
||||
position = Vector2(973, 476)
|
||||
input_name = "B"
|
||||
color_mix = Color(0.74, 0, 0.0123331, 1)
|
||||
|
||||
[node name="SpawnArea" type="Area2D" parent="."]
|
||||
visible = false
|
||||
@@ -125,5 +127,21 @@ material = SubResource("ShaderMaterial_ob5l5")
|
||||
offset_right = 1177.0
|
||||
offset_bottom = 668.0
|
||||
|
||||
[connection signal="dialogue_over" from="Dialog" to="." method="_on_dialog_dialogue_over"]
|
||||
[node name="Dialog" type="CanvasLayer" parent="."]
|
||||
script = ExtResource("7_64bvv")
|
||||
d_file = "res://Assets/dialogs.json"
|
||||
|
||||
[node name="Text" type="RichTextLabel" parent="Dialog"]
|
||||
offset_left = 362.0
|
||||
offset_top = 103.0
|
||||
offset_right = 1089.0
|
||||
offset_bottom = 269.0
|
||||
scale = Vector2(0.624223, 0.607973)
|
||||
theme_override_colors/default_color = Color(0.299668, 0.801919, 0.469303, 1)
|
||||
theme_override_fonts/normal_font = ExtResource("7_ydsit")
|
||||
theme_override_font_sizes/normal_font_size = 81
|
||||
text = "Text"
|
||||
custom_effects = [null]
|
||||
|
||||
[connection signal="timeout" from="SpawnTimer" to="." method="_on_spawn_timer_timeout"]
|
||||
[connection signal="dialogue_over" from="Dialog" to="." method="_on_dialog_dialogue_over"]
|
||||
|
Reference in New Issue
Block a user