-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathlore_2.tscn
60 lines (45 loc) · 1.84 KB
/
lore_2.tscn
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
[gd_scene load_steps=4 format=3 uid="uid://iyektcjrpkln"]
[ext_resource type="Texture2D" uid="uid://ct2w7c5eaxkci" path="res://PNG/Space_Stars6.png" id="1_mk8e0"]
[ext_resource type="Texture2D" uid="uid://bf8wctpq0njsl" path="res://Assets/BoxRobot Sprite Sheets/14_wreck.png" id="2_8xsh4"]
[sub_resource type="GDScript" id="GDScript_hmawn"]
script/source = "extends Node2D
func _on_button_pressed():
get_tree().change_scene_to_file(\"res://lore_3.tscn\")
func _process(_float):
if Input.is_action_just_pressed(\"jump1\"):
get_tree().change_scene_to_file(\"res://lore_3.tscn\")
"
[node name="lore2" type="Node2D"]
script = SubResource("GDScript_hmawn")
[node name="SpaceStars6" type="Sprite2D" parent="."]
position = Vector2(423, 241.5)
scale = Vector2(13.4063, 7.76561)
texture = ExtResource("1_mk8e0")
[node name="14Wreck" type="Sprite2D" parent="."]
position = Vector2(-247, 364)
scale = Vector2(1.7, 1.7)
texture = ExtResource("2_8xsh4")
[node name="TextEdit2" type="TextEdit" parent="."]
offset_left = 215.0
offset_top = 370.0
offset_right = 585.0
offset_bottom = 428.0
theme_override_font_sizes/font_size = 27
text = ": WHY I HAVE TO DO THIS?"
wrap_mode = 1
[node name="TextEdit" type="TextEdit" parent="."]
offset_left = 99.0
offset_top = 12.0
offset_right = 781.0
offset_bottom = 272.0
theme_override_font_sizes/font_size = 31
text = "Once day, humans have managed to hack into Echo's system. He starts to question his orders and develops a sense of empathy for the humans. He decides to join the resistance and fight against Zephyr."
wrap_mode = 1
[node name="MarginContainer" type="MarginContainer" parent="."]
offset_right = 859.0
offset_bottom = 485.0
[node name="Button" type="Button" parent="MarginContainer"]
light_mask = 0
visibility_layer = 0
layout_mode = 2
[connection signal="pressed" from="MarginContainer/Button" to="." method="_on_button_pressed"]