Skip to content

Commit

Permalink
feat: add easier first level
Browse files Browse the repository at this point in the history
  • Loading branch information
pierpo committed Mar 19, 2023
1 parent e1869e4 commit b67b044
Show file tree
Hide file tree
Showing 5 changed files with 29 additions and 12 deletions.
5 changes: 3 additions & 2 deletions Game.tscn
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[gd_scene load_steps=18 format=3 uid="uid://by2at5u64ytxh"]
[gd_scene load_steps=19 format=3 uid="uid://by2at5u64ytxh"]

[ext_resource type="Script" path="res://Game.gd" id="1_6gu75"]
[ext_resource type="PackedScene" uid="uid://3usgbo78t4tm" path="res://world/World1.tscn" id="2_7kfjg"]
[ext_resource type="PackedScene" uid="uid://bu7nycnekir1f" path="res://hud/HealthHUD.tscn" id="2_7pate"]
[ext_resource type="PackedScene" uid="uid://cgkkbhp6eam8m" path="res://world/World2.tscn" id="2_i7yh8"]
[ext_resource type="PackedScene" uid="uid://d2r8gk2at0gdw" path="res://world/World3.tscn" id="3_eor2y"]
Expand All @@ -20,7 +21,7 @@

[node name="Game" type="Node2D"]
script = ExtResource("1_6gu75")
worlds = Array[PackedScene]([ExtResource("2_i7yh8"), ExtResource("3_eor2y"), ExtResource("4_8ycno")])
worlds = Array[PackedScene]([ExtResource("2_7kfjg"), ExtResource("2_i7yh8"), ExtResource("3_eor2y"), ExtResource("4_8ycno")])

[node name="CanvasLayer" type="CanvasLayer" parent="."]

Expand Down
4 changes: 3 additions & 1 deletion hud/SectorInfo/SectorInfo.tscn
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,12 @@ horizontal_alignment = 1
vertical_alignment = 1

[node name="SectorMission" type="Label" parent="."]
custom_minimum_size = Vector2(200, 0)
layout_mode = 2
size_flags_horizontal = 4
size_flags_vertical = 0
theme_override_font_sizes/font_size = 6
text = "Don't die lol"
text = "An enemy is coming. Destroy him before he has time to damage your friends!"
horizontal_alignment = 1
vertical_alignment = 1
autowrap_mode = 2
18 changes: 18 additions & 0 deletions world/World1.tscn
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
[gd_scene load_steps=4 format=3 uid="uid://3usgbo78t4tm"]

[ext_resource type="PackedScene" uid="uid://ujm2pogbpnnp" path="res://world/AbstractWorld.tscn" id="1_i5l10"]
[ext_resource type="PackedScene" uid="uid://b6g43s4jgo74o" path="res://world/InitialFlock.tscn" id="2_ly6eh"]
[ext_resource type="PackedScene" uid="uid://muoegcv2qwhy" path="res://npc/enemies/BaseEnemy.tscn" id="3_pwdcx"]

[node name="World" instance=ExtResource("1_i5l10")]
mission = "- Upgrade some ships. Use right-click to upgrade a selected ship.
- An enemy is coming. Destroy him before he has time to damage your friends!"

[node name="Wormhole" parent="." index="1"]
position = Vector2(1613, -882)

[node name="InitialFlock" parent="Flock" index="0" instance=ExtResource("2_ly6eh")]
position = Vector2(376, 132)

[node name="BaseEnemy" parent="Enemies" index="0" instance=ExtResource("3_pwdcx")]
position = Vector2(1762, 287)
8 changes: 2 additions & 6 deletions world/World2.tscn
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
[gd_scene load_steps=5 format=3 uid="uid://cgkkbhp6eam8m"]
[gd_scene load_steps=4 format=3 uid="uid://cgkkbhp6eam8m"]

[ext_resource type="PackedScene" uid="uid://ujm2pogbpnnp" path="res://world/AbstractWorld.tscn" id="1_tdmob"]
[ext_resource type="PackedScene" uid="uid://b6g43s4jgo74o" path="res://world/InitialFlock.tscn" id="2_2p4en"]
[ext_resource type="PackedScene" uid="uid://cgjq1jul4iip3" path="res://npc/enemies/Enemy.tscn" id="6_m2i0p"]
[ext_resource type="PackedScene" uid="uid://muoegcv2qwhy" path="res://npc/enemies/BaseEnemy.tscn" id="6_q52vq"]

Expand All @@ -11,10 +10,7 @@ mission = "Survive the enemies."
[node name="Wormhole" parent="." index="1"]
position = Vector2(2402, -1547)

[node name="InitialFlock" parent="Flock" index="0" instance=ExtResource("2_2p4en")]
position = Vector2(332, 197)

[node name="MotherShip" parent="Flock" index="1"]
[node name="MotherShip" parent="Flock" index="0"]
position = Vector2(452, 94)
rotation = -0.698132

Expand Down
6 changes: 3 additions & 3 deletions world/World4.tscn
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
[gd_scene load_steps=5 format=3 uid="uid://d16posr0pgyus"]

[ext_resource type="PackedScene" uid="uid://ujm2pogbpnnp" path="res://world/AbstractWorld.tscn" id="1_fj8i6"]
[ext_resource type="PackedScene" path="res://npc/enemies/BaseEnemy.tscn" id="2_gvp05"]
[ext_resource type="PackedScene" path="res://npc/enemies/VultureEnemy.tscn" id="3_06oy0"]
[ext_resource type="PackedScene" path="res://npc/enemies/Enemy.tscn" id="4_xgq5p"]
[ext_resource type="PackedScene" uid="uid://muoegcv2qwhy" path="res://npc/enemies/BaseEnemy.tscn" id="2_gvp05"]
[ext_resource type="PackedScene" uid="uid://483wj65cn18a" path="res://npc/enemies/VultureEnemy.tscn" id="3_06oy0"]
[ext_resource type="PackedScene" uid="uid://cgjq1jul4iip3" path="res://npc/enemies/Enemy.tscn" id="4_xgq5p"]

[node name="World" instance=ExtResource("1_fj8i6")]
mission = "Watch your back!"
Expand Down

0 comments on commit b67b044

Please sign in to comment.