Skip to content
This repository was archived by the owner on Apr 1, 2025. It is now read-only.

Commit b0fa34a

Browse files
committed
center the tutorial
1 parent e2affae commit b0fa34a

1 file changed

Lines changed: 21 additions & 10 deletions

File tree

scenes/levels/ExampleScene.tscn

Lines changed: 21 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
[gd_scene load_steps=124 format=4 uid="uid://dfkwq6qwtxw25"]
1+
[gd_scene load_steps=126 format=4 uid="uid://dfkwq6qwtxw25"]
22

33
[ext_resource type="Script" path="res://scripts/EnemyManager.cs" id="1_bmkfv"]
44
[ext_resource type="Script" path="res://scripts/Map.cs" id="1_pa1ge"]
@@ -45,7 +45,7 @@
4545
[ext_resource type="Texture2D" uid="uid://d1yvwy2drdwqd" path="res://assets/tilemaps/Reg tree wall.png" id="38_dsao3"]
4646
[ext_resource type="Texture2D" uid="uid://cn0pcaddy8lcv" path="res://assets/tilemaps/TX Struct.png" id="39_jhhw6"]
4747
[ext_resource type="Texture2D" uid="uid://bxo85wuubsbn2" path="res://assets/tilemaps/TX Tileset Wall.png" id="40_6y0o1"]
48-
[ext_resource type="Texture2D" uid="uid://dupi1mwbxnhef" path="res://assets/tilemaps/CaveTileset.png" id="44_3be5u"]
48+
[ext_resource type="Texture2D" uid="uid://doa646stnhnlu" path="res://assets/tilemaps/CaveTileset.png" id="44_3be5u"]
4949
[ext_resource type="TileSet" uid="uid://drgqbpyytiqxq" path="res://scenes/levels/CaveTileset.tres" id="44_njbx8"]
5050
[ext_resource type="TileSet" uid="uid://d2huqyd455jkj" path="res://assets/tilemaps/CratersTileset.tres" id="44_pqt0n"]
5151
[ext_resource type="Texture2D" uid="uid://cf35q1itw0rjk" path="res://assets/tilemaps/OtherTileset.png" id="44_ue1vq"]
@@ -14953,19 +14953,14 @@ script = ExtResource("1_pa1ge")
1495314953
_darknessCircleDamage = 1
1495414954
_allyHealthChangeIntervall = 5.0
1495514955

14956-
[node name="Tutorial" parent="." instance=ExtResource("48_3yv6f")]
14957-
offset_left = 536.0
14958-
offset_top = 898.0
14959-
offset_right = 536.0
14960-
offset_bottom = 898.0
14961-
14962-
[node name="Ally" parent="." node_paths=PackedStringArray("_responseField", "_nameLabel", "Chat") instance=ExtResource("6_l8h37")]
14956+
[node name="Ally" parent="." node_paths=PackedStringArray("_responseField", "_nameLabel", "Chat", "_animPlayer") instance=ExtResource("6_l8h37")]
1496314957
position = Vector2(923, 2052)
1496414958
_responseField = NodePath("ResponseField")
1496514959
_nameLabel = NodePath("Label")
1496614960
_visionRadius = 200
1496714961
_interactionRadius = 250
1496814962
Chat = NodePath("Ally1Cam/Ally1Chat")
14963+
_animPlayer = NodePath("AnimationPlayer2")
1496914964

1497014965
[node name="Ally1Cam" type="Camera2D" parent="Ally"]
1497114966
light_mask = 2
@@ -15059,12 +15054,13 @@ shadow_filter = 2
1505915054
shadow_filter_smooth = 2.3
1506015055
texture_scale = 14.0
1506115056

15062-
[node name="Ally2" parent="." node_paths=PackedStringArray("_responseField", "_nameLabel", "Chat") groups=["navigation"] instance=ExtResource("6_l8h37")]
15057+
[node name="Ally2" parent="." node_paths=PackedStringArray("_responseField", "_nameLabel", "Chat", "_animPlayer") groups=["navigation"] instance=ExtResource("6_l8h37")]
1506315058
position = Vector2(289, 2015)
1506415059
_responseField = NodePath("ResponseField")
1506515060
_nameLabel = NodePath("Label")
1506615061
_visionRadius = 200
1506715062
Chat = NodePath("Ally2Cam/Ally2Chat")
15063+
_animPlayer = NodePath("AnimationPlayer2")
1506815064

1506915065
[node name="Ally2Cam" type="Camera2D" parent="Ally2"]
1507015066
light_mask = 2
@@ -15498,12 +15494,14 @@ button_group = ExtResource("31_rop2t")
1549815494
text = "Ally 1"
1549915495

1550015496
[node name="IntroScene" parent="." node_paths=PackedStringArray("_ally") instance=ExtResource("32_bdur0")]
15497+
visible = false
1550115498
z_index = 1000
1550215499
offset_left = -633.0
1550315500
offset_top = 1955.0
1550415501
offset_right = 1457.0
1550515502
offset_bottom = 2618.0
1550615503
_ally = NodePath("../Ally")
15504+
_enableIntroScene = false
1550715505

1550815506
[node name="Landscape" type="Control" parent="."]
1550915507
visible = false
@@ -15748,3 +15746,16 @@ position = Vector2(516, 1737)
1574815746
ObjectName = "BEGINNING OF THE GAME"
1574915747
ObjectDescription = "Greet the commander in a friendly tone, ask for his name and tell him to move upwards."
1575015748
ObjectHint = "Keep explaining to the commander what our missions is for the first few messages but stop if he indicates he understood everything."
15749+
15750+
[node name="Tutorial" parent="." instance=ExtResource("48_3yv6f")]
15751+
anchors_preset = 8
15752+
anchor_left = 0.5
15753+
anchor_top = 0.5
15754+
anchor_right = 0.5
15755+
anchor_bottom = 0.5
15756+
offset_left = 919.0
15757+
offset_top = 2054.0
15758+
offset_right = 919.0
15759+
offset_bottom = 2054.0
15760+
grow_horizontal = 2
15761+
grow_vertical = 2

0 commit comments

Comments
 (0)