upload
BIN
rund-um-die-welten/.DS_Store
vendored
Normal file
4
rund-um-die-welten/.editorconfig
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
root = true
|
||||
|
||||
[*]
|
||||
charset = utf-8
|
||||
2
rund-um-die-welten/.gitattributes
vendored
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
# Normalize EOL for all files that Git considers text files.
|
||||
* text=auto eol=lf
|
||||
1
rund-um-die-welten/Bug_Report.txt
Normal file
|
|
@ -0,0 +1 @@
|
|||
- Collectibles werden bei Level 3 (Erde) nicht richtig angezeigt, nur eine Collectible links, auch wenn alle eingesammelt wurden
|
||||
BIN
rund-um-die-welten/Fonts/BRIGHTSTER-Bold-1.ttf
Normal file
72
rund-um-die-welten/LevelSelectUtility/Main_Menu.tscn
Normal file
|
|
@ -0,0 +1,72 @@
|
|||
[gd_scene load_steps=7 format=3 uid="uid://disuxhv301e4x"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://fey1vlc3fki" path="res://LevelSelectUtility/main_menu.gd" id="1_h3vtm"]
|
||||
[ext_resource type="Texture2D" uid="uid://b645w4bad52ab" path="res://assets/Background.png" id="1_sg3w2"]
|
||||
[ext_resource type="PackedScene" uid="uid://b81fnypg0r01i" path="res://LevelSelectUtility/world_select_star_system.tscn" id="2_d8tt0"]
|
||||
[ext_resource type="FontFile" uid="uid://d2ucaasj8wmwj" path="res://Fonts/BRIGHTSTER-Bold-1.ttf" id="3_d8tt0"]
|
||||
[ext_resource type="Script" uid="uid://jsfpumv6bsd5" path="res://LevelSelectUtility/back_to_galaxy_button.gd" id="5_8ibvq"]
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_ibity"]
|
||||
bg_color = Color(0.688281, 0.599222, 0.142667, 1)
|
||||
border_width_left = 2
|
||||
border_width_top = 2
|
||||
border_width_right = 2
|
||||
border_width_bottom = 2
|
||||
border_color = Color(0, 0, 0, 1)
|
||||
corner_radius_top_left = 30
|
||||
corner_radius_top_right = 30
|
||||
corner_radius_bottom_right = 30
|
||||
corner_radius_bottom_left = 30
|
||||
|
||||
[node name="MainMenu" type="Node2D"]
|
||||
texture_filter = 1
|
||||
script = ExtResource("1_h3vtm")
|
||||
|
||||
[node name="Background" type="Sprite2D" parent="."]
|
||||
position = Vector2(960, 540)
|
||||
scale = Vector2(4, 4)
|
||||
texture = ExtResource("1_sg3w2")
|
||||
|
||||
[node name="World 1" parent="." instance=ExtResource("2_d8tt0")]
|
||||
position = Vector2(500, 666)
|
||||
world_file_name = "world 1"
|
||||
|
||||
[node name="World 2" parent="." instance=ExtResource("2_d8tt0")]
|
||||
position = Vector2(1067, 485)
|
||||
inverted = true
|
||||
world_file_name = "world 2"
|
||||
|
||||
[node name="RichTextLabel" type="RichTextLabel" parent="."]
|
||||
offset_left = 480.0
|
||||
offset_top = 100.0
|
||||
offset_right = 1440.0
|
||||
offset_bottom = 400.0
|
||||
theme_override_fonts/normal_font = ExtResource("3_d8tt0")
|
||||
theme_override_font_sizes/normal_font_size = 100
|
||||
text = "Rund um die Welten
|
||||
"
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
|
||||
[node name="Quit_Button" type="Button" parent="."]
|
||||
offset_left = 1537.0
|
||||
offset_top = 898.0
|
||||
offset_right = 1837.0
|
||||
offset_bottom = 998.0
|
||||
theme_override_fonts/font = ExtResource("3_d8tt0")
|
||||
theme_override_font_sizes/font_size = 35
|
||||
theme_override_styles/normal = SubResource("StyleBoxFlat_ibity")
|
||||
text = "Quit"
|
||||
script = ExtResource("5_8ibvq")
|
||||
|
||||
[node name="RichTextLabel2" type="RichTextLabel" parent="."]
|
||||
offset_left = 460.0
|
||||
offset_top = 980.0
|
||||
offset_right = 1460.0
|
||||
offset_bottom = 1080.0
|
||||
theme_override_fonts/normal_font = ExtResource("3_d8tt0")
|
||||
theme_override_font_sizes/normal_font_size = 30
|
||||
text = "made by Kurma, Phantomvines, Mr. FeatherWeather, Fydar
|
||||
"
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
|
|
@ -0,0 +1,15 @@
|
|||
extends Button
|
||||
|
||||
var rootfolder = "res://"
|
||||
var subfolder = "LevelSelectUtility/"
|
||||
func _ready():
|
||||
# Signal verbinden
|
||||
self.pressed.connect(_on_pressed)
|
||||
|
||||
func _on_pressed():
|
||||
var level_select_path = rootfolder + subfolder +"Main_Menu" + ".tscn"
|
||||
if FileAccess.file_exists(level_select_path):
|
||||
Audioplayer.play_sound((load("res://sfx/button_clicks.wav") as AudioStream))
|
||||
GlobalVariables.change_level(level_select_path, true)
|
||||
else :
|
||||
print("File not found under " + level_select_path)
|
||||
|
|
@ -0,0 +1 @@
|
|||
uid://jsfpumv6bsd5
|
||||
4
rund-um-die-welten/LevelSelectUtility/label.gd
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
extends Label
|
||||
|
||||
func _physics_process(_delta: float) -> void:
|
||||
text = "Death Count: " + str(GlobalVariables.death_counter)
|
||||
1
rund-um-die-welten/LevelSelectUtility/label.gd.uid
Normal file
|
|
@ -0,0 +1 @@
|
|||
uid://cv3b0iuf5w5c2
|
||||
74
rund-um-die-welten/LevelSelectUtility/level_planet_util.gd
Normal file
|
|
@ -0,0 +1,74 @@
|
|||
extends Control
|
||||
|
||||
|
||||
@export var planet_type: GlobalVariables.planets:
|
||||
get:
|
||||
return $planet_body.planet_type
|
||||
set(value):
|
||||
$planet_body.planet_type = value
|
||||
@export var level_id: String:
|
||||
get:
|
||||
return $planet_body.level_id
|
||||
set(value):
|
||||
$planet_body.level_id = value
|
||||
$level_name_text.text = value
|
||||
@export var planet_speed = 100
|
||||
@export var clockwise = true
|
||||
|
||||
# for collectible rotating
|
||||
var rotation_speed_in_deg = 30
|
||||
@export var collectibl_radius_margin = 40
|
||||
var collectible_radius = 100
|
||||
var collectable: PackedScene = preload("res://collectibles/collectible-icon.tscn")
|
||||
var current_base_position_deg = 0
|
||||
var collectable_list = []
|
||||
|
||||
func scale_locations(planet_radius):
|
||||
$level_name_text.position[1] = planet_radius + 20
|
||||
collectible_radius = planet_radius + collectibl_radius_margin
|
||||
update_collectable_positions(0)
|
||||
|
||||
func _ready():
|
||||
var number_collectibles = sum_array(GlobalVariables.collectibles[level_id])
|
||||
for i in range (number_collectibles):
|
||||
var base_degree = 360 * float(i)/number_collectibles
|
||||
spawn_collectable(base_degree)
|
||||
|
||||
func sum_array(arr: Array) -> float:
|
||||
var total = 0
|
||||
for value in arr:
|
||||
total += value
|
||||
return floor(total)
|
||||
|
||||
func spawn_collectable(start_position_in_deg):
|
||||
print("Spawning collectible at position " + str(start_position_in_deg) + " plus " + str(current_base_position_deg))
|
||||
|
||||
# Create instance
|
||||
var collectable_instance = collectable.instantiate()
|
||||
|
||||
# Create a vector pointing to the right with length equal to collectible_radius
|
||||
var offset = Vector2(collectible_radius, 0)
|
||||
|
||||
# Rotate it to the desired starting angle
|
||||
var start_angle_rad = deg_to_rad(current_base_position_deg + start_position_in_deg)
|
||||
offset = offset.rotated(start_angle_rad)
|
||||
|
||||
# Set position relative to the center
|
||||
collectable_instance.position = offset
|
||||
|
||||
# Add to scene tree and list
|
||||
add_child(collectable_instance)
|
||||
collectable_list.append(collectable_instance)
|
||||
|
||||
|
||||
|
||||
func _physics_process(delta: float) -> void:
|
||||
update_collectable_positions(delta)
|
||||
|
||||
func update_collectable_positions(delta: float):
|
||||
# Convert rotation speed to radians per frame
|
||||
var angular_speed_rad = deg_to_rad(rotation_speed_in_deg) * delta
|
||||
current_base_position_deg += rotation_speed_in_deg * delta
|
||||
|
||||
for i in collectable_list:
|
||||
i.position = i.position.rotated(angular_speed_rad)
|
||||
|
|
@ -0,0 +1 @@
|
|||
uid://x3vheg2j1vqn
|
||||
142
rund-um-die-welten/LevelSelectUtility/level_select_planet.gd
Normal file
|
|
@ -0,0 +1,142 @@
|
|||
extends Area2D
|
||||
|
||||
|
||||
# for differentiating different planets
|
||||
@export var planet_type: GlobalVariables.planets:
|
||||
set(value):
|
||||
planet_type = value
|
||||
fit_planet_type(value)
|
||||
|
||||
@export var level_id: String
|
||||
var size_scale
|
||||
var planet_base_radius = 10
|
||||
@export var grayscale = true
|
||||
|
||||
func _ready() -> void:
|
||||
input_pickable = true
|
||||
var shape = $CollisionShape2D.shape
|
||||
|
||||
# change size of collision area and animation based on which planet is chosen
|
||||
fit_planet_type(planet_type)
|
||||
|
||||
GlobalVariables.level_done.connect(planet_won)
|
||||
|
||||
|
||||
|
||||
func fit_planet_type(new_planet_type):
|
||||
# change size of collision area and animation based on which planet is chosen
|
||||
match new_planet_type:
|
||||
GlobalVariables.planets.DeathStar:
|
||||
size_scale = 1.5
|
||||
$death_star.play("default")
|
||||
$death_star.visible = true
|
||||
$goal/mars_goal.visible = true
|
||||
$rotation_indicator.radius = 30
|
||||
GlobalVariables.planets.Mars:
|
||||
size_scale = 1.5
|
||||
$mars.play("default")
|
||||
$mars.visible = true
|
||||
$goal/mars_goal.visible = true
|
||||
$rotation_indicator.radius = 30
|
||||
GlobalVariables.planets.Earth:
|
||||
size_scale = 4.2
|
||||
$earth.play("default")
|
||||
$earth.visible = true
|
||||
$goal/earth_goal.visible = true
|
||||
$rotation_indicator.radius = 55
|
||||
GlobalVariables.planets.Sun:
|
||||
size_scale = 4.8
|
||||
$sun.play("default")
|
||||
$sun.visible = true
|
||||
$goal/sun_goal.visible = true
|
||||
$rotation_indicator.radius = 65
|
||||
GlobalVariables.planets.Plant:
|
||||
size_scale = 2.0
|
||||
$plant.play("default")
|
||||
$plant.visible = true
|
||||
$goal/plant_goal.visible = true
|
||||
$rotation_indicator.radius = 30
|
||||
GlobalVariables.planets.Soap:
|
||||
size_scale = 1.9
|
||||
$soap.play("default")
|
||||
$soap.visible = true
|
||||
$goal/plant_goal.visible = true
|
||||
$rotation_indicator.radius = 30
|
||||
GlobalVariables.planets.Magma:
|
||||
size_scale = 1.4
|
||||
$magma.play("default")
|
||||
$magma.visible = true
|
||||
$goal/mars_goal.visible = true
|
||||
$rotation_indicator.radius = 30
|
||||
GlobalVariables.planets.Bowling:
|
||||
size_scale = 1.5
|
||||
$bowling.play("default")
|
||||
$bowling.visible = true
|
||||
$goal/mars_goal.visible = true
|
||||
$rotation_indicator.radius = 30
|
||||
|
||||
var shape = $CollisionShape2D.shape
|
||||
shape.radius = planet_base_radius* size_scale
|
||||
if get_parent():
|
||||
get_parent().scale_locations(planet_base_radius* size_scale * scale[0])
|
||||
|
||||
|
||||
|
||||
func planet_won(_win_message):
|
||||
if GlobalVariables.selected_level == level_id:
|
||||
grayscale = false
|
||||
|
||||
func _input_event(_viewport, event, _shape_idx):
|
||||
if event is InputEventMouseButton and event.pressed:
|
||||
print("Level " + GlobalVariables.planet_names[planet_type] + " with ID " + level_id)
|
||||
GlobalVariables.target_planet_position = get_parent().position
|
||||
GlobalVariables.player_speed = get_parent().planet_speed
|
||||
GlobalVariables.player_clockwise = get_parent().clockwise
|
||||
GlobalVariables.selected_level = level_id
|
||||
|
||||
func _physics_process(_delta: float) -> void:
|
||||
# set target symbol to visible if current planet is targeted
|
||||
if GlobalVariables.target_planet_position == global_position:
|
||||
$target.visible = true
|
||||
else:
|
||||
$target.visible = false
|
||||
|
||||
if GlobalVariables.levels[level_id] == 1:
|
||||
grayscale = false
|
||||
|
||||
if grayscale:
|
||||
match planet_type:
|
||||
GlobalVariables.planets.DeathStar:
|
||||
$death_star.modulate = Color(0.3, 0.3, 0.3)
|
||||
GlobalVariables.planets.Mars:
|
||||
$mars.modulate = Color(0.3, 0.3, 0.3)
|
||||
GlobalVariables.planets.Earth:
|
||||
$earth.modulate = Color(0.3, 0.3, 0.3)
|
||||
GlobalVariables.planets.Sun:
|
||||
$sun.modulate = Color(0.3, 0.3, 0.3)
|
||||
GlobalVariables.planets.Plant:
|
||||
$plant.modulate = Color(0.3, 0.3, 0.3)
|
||||
GlobalVariables.planets.Soap:
|
||||
$soap.modulate = Color(0.3, 0.3, 0.3)
|
||||
GlobalVariables.planets.Magma:
|
||||
$magma.modulate = Color(0.3, 0.3, 0.3)
|
||||
GlobalVariables.planets.Bowling:
|
||||
$bowling.modulate = Color(0.3, 0.3, 0.3)
|
||||
else:
|
||||
match planet_type:
|
||||
GlobalVariables.planets.DeathStar:
|
||||
$death_star.modulate = Color(1.0, 1.0, 1.0)
|
||||
GlobalVariables.planets.Mars:
|
||||
$mars.modulate = Color(1.0, 1.0, 1.0)
|
||||
GlobalVariables.planets.Earth:
|
||||
$earth.modulate = Color(1.0, 1.0, 1.0)
|
||||
GlobalVariables.planets.Sun:
|
||||
$sun.modulate = Color(1.0, 1.0, 1.0)
|
||||
GlobalVariables.planets.Plant:
|
||||
$plant.modulate = Color(1.0, 1.0, 1.0)
|
||||
GlobalVariables.planets.Soap:
|
||||
$soap.modulate = Color(1.0, 1.0, 1.0)
|
||||
GlobalVariables.planets.Magma:
|
||||
$magma.modulate = Color(1.0, 1.0, 1.0)
|
||||
GlobalVariables.planets.Bowling:
|
||||
$bowling.modulate = Color(1.0, 1.0, 1.0)
|
||||
|
|
@ -0,0 +1 @@
|
|||
uid://q7o5o8lnbdgx
|
||||
|
|
@ -0,0 +1,28 @@
|
|||
[gd_scene load_steps=5 format=3 uid="uid://c11b4i55gx3o5"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://x3vheg2j1vqn" path="res://LevelSelectUtility/level_planet_util.gd" id="1_d5qlm"]
|
||||
[ext_resource type="Script" uid="uid://q7o5o8lnbdgx" path="res://LevelSelectUtility/level_select_planet.gd" id="1_m68cd"]
|
||||
[ext_resource type="FontFile" uid="uid://d2ucaasj8wmwj" path="res://Fonts/BRIGHTSTER-Bold-1.ttf" id="4_d5qlm"]
|
||||
[ext_resource type="PackedScene" uid="uid://bmlfyt1ykh3aq" path="res://planet/planet_v_2.tscn" id="5_o652v"]
|
||||
|
||||
[node name="Level-Select-Planet" type="Control"]
|
||||
layout_mode = 3
|
||||
anchors_preset = 0
|
||||
script = ExtResource("1_d5qlm")
|
||||
|
||||
[node name="planet_body" parent="." instance=ExtResource("5_o652v")]
|
||||
script = ExtResource("1_m68cd")
|
||||
level_id = ""
|
||||
grayscale = true
|
||||
|
||||
[node name="level_name_text" type="RichTextLabel" parent="."]
|
||||
layout_mode = 0
|
||||
offset_left = -75.0
|
||||
offset_top = 50.0
|
||||
offset_right = 75.0
|
||||
offset_bottom = 70.0
|
||||
theme_override_fonts/normal_font = ExtResource("4_d5qlm")
|
||||
theme_override_font_sizes/normal_font_size = 15
|
||||
text = "Level x"
|
||||
scroll_active = false
|
||||
horizontal_alignment = 1
|
||||
|
|
@ -0,0 +1,25 @@
|
|||
[gd_scene load_steps=4 format=3 uid="uid://c11b4i55gx3o5"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://q7o5o8lnbdgx" path="res://LevelSelectUtility/level_select_planet.gd" id="1_m68cd"]
|
||||
[ext_resource type="FontFile" uid="uid://d2ucaasj8wmwj" path="res://Fonts/BRIGHTSTER-Bold-1.ttf" id="4_d5qlm"]
|
||||
[ext_resource type="PackedScene" uid="uid://bmlfyt1ykh3aq" path="res://planet/planet_v_2.tscn" id="5_o652v"]
|
||||
|
||||
[node name="Level-Select-Planet" type="Control"]
|
||||
layout_mode = 3
|
||||
anchors_preset = 0
|
||||
scale = Vector2(4, 4)
|
||||
|
||||
[node name="RichTextLabel" type="RichTextLabel" parent="."]
|
||||
offset_left = -75.0
|
||||
offset_top = 40.0
|
||||
offset_right = 75.0
|
||||
offset_bottom = 60.0
|
||||
theme_override_fonts/normal_font = ExtResource("4_d5qlm")
|
||||
theme_override_font_sizes/normal_font_size = 15
|
||||
text = "Level x"
|
||||
scroll_active = false
|
||||
horizontal_alignment = 1
|
||||
|
||||
[node name="planet_v2" parent="." instance=ExtResource("5_o652v")]
|
||||
script = ExtResource("1_m68cd")
|
||||
level_id = ""
|
||||
|
|
@ -0,0 +1,44 @@
|
|||
[gd_scene load_steps=6 format=3 uid="uid://c11b4i55gx3o5"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://x3vheg2j1vqn" path="res://LevelSelectUtility/level_planet_util.gd" id="1_d5qlm"]
|
||||
[ext_resource type="Script" uid="uid://q7o5o8lnbdgx" path="res://LevelSelectUtility/level_select_planet.gd" id="1_m68cd"]
|
||||
[ext_resource type="FontFile" uid="uid://d2ucaasj8wmwj" path="res://Fonts/BRIGHTSTER-Bold-1.ttf" id="4_d5qlm"]
|
||||
[ext_resource type="PackedScene" uid="uid://dmfmk86fb3akt" path="res://collectibles/collectible-icon.tscn" id="5_nkaah"]
|
||||
[ext_resource type="PackedScene" uid="uid://bmlfyt1ykh3aq" path="res://planet/planet_v_2.tscn" id="5_o652v"]
|
||||
|
||||
[node name="Level-Select-Planet" type="Control"]
|
||||
layout_mode = 3
|
||||
anchors_preset = 0
|
||||
script = ExtResource("1_d5qlm")
|
||||
|
||||
[node name="planet_body" parent="." instance=ExtResource("5_o652v")]
|
||||
script = ExtResource("1_m68cd")
|
||||
level_id = ""
|
||||
grayscale = true
|
||||
|
||||
[node name="level_name_text" type="RichTextLabel" parent="."]
|
||||
layout_mode = 0
|
||||
offset_left = -75.0
|
||||
offset_top = 50.0
|
||||
offset_right = 75.0
|
||||
offset_bottom = 70.0
|
||||
theme_override_fonts/normal_font = ExtResource("4_d5qlm")
|
||||
theme_override_font_sizes/normal_font_size = 15
|
||||
text = "Level x"
|
||||
scroll_active = false
|
||||
horizontal_alignment = 1
|
||||
|
||||
[node name="collectible0" parent="." instance=ExtResource("5_nkaah")]
|
||||
visible = false
|
||||
position = Vector2(-70, 0)
|
||||
scale = Vector2(2, 2)
|
||||
|
||||
[node name="collectible1" parent="." instance=ExtResource("5_nkaah")]
|
||||
visible = false
|
||||
position = Vector2(0, -70)
|
||||
scale = Vector2(2, 2)
|
||||
|
||||
[node name="collectible2" parent="." instance=ExtResource("5_nkaah")]
|
||||
visible = false
|
||||
position = Vector2(70, 0)
|
||||
scale = Vector2(2, 2)
|
||||
195
rund-um-die-welten/LevelSelectUtility/level_select_screen.tscn
Normal file
|
|
@ -0,0 +1,195 @@
|
|||
[gd_scene load_steps=11 format=3 uid="uid://dqkhet02da1rw"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://c11b4i55gx3o5" path="res://LevelSelectUtility/level_select_planet.tscn" id="1_offx3"]
|
||||
[ext_resource type="PackedScene" uid="uid://d0h7r8gitcntt" path="res://player/player.tscn" id="2_iojkr"]
|
||||
[ext_resource type="Script" uid="uid://dnqvks40xcnq8" path="res://LevelSelectUtility/selection_cofirm_button.gd" id="3_iojkr"]
|
||||
[ext_resource type="FontFile" uid="uid://d2ucaasj8wmwj" path="res://Fonts/BRIGHTSTER-Bold-1.ttf" id="3_m787v"]
|
||||
[ext_resource type="Texture2D" uid="uid://dj3nxkkx8gvre" path="res://assets/enterprise1.png" id="5_7xgfl"]
|
||||
[ext_resource type="Script" uid="uid://djyqftdc3hb27" path="res://LevelSelectUtility/unlock-button.gd" id="5_v3ic8"]
|
||||
[ext_resource type="PackedScene" path="res://UI Elements/menu_background.tscn" id="7_avbc4"]
|
||||
[ext_resource type="Script" uid="uid://cv3b0iuf5w5c2" path="res://LevelSelectUtility/label.gd" id="8_ygamd"]
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_v3ic8"]
|
||||
bg_color = Color(0.688281, 0.599222, 0.142667, 1)
|
||||
border_width_left = 2
|
||||
border_width_top = 2
|
||||
border_width_right = 2
|
||||
border_width_bottom = 2
|
||||
border_color = Color(0, 0, 0, 1)
|
||||
corner_radius_top_left = 30
|
||||
corner_radius_top_right = 30
|
||||
corner_radius_bottom_right = 30
|
||||
corner_radius_bottom_left = 30
|
||||
|
||||
[sub_resource type="LabelSettings" id="LabelSettings_avbc4"]
|
||||
font = ExtResource("3_m787v")
|
||||
font_size = 32
|
||||
|
||||
[node name="Level-Select-Screen" type="Node2D"]
|
||||
|
||||
[node name="menu_background" parent="." instance=ExtResource("7_avbc4")]
|
||||
|
||||
[node name="Level-Select-Planet6" parent="." instance=ExtResource("1_offx3")]
|
||||
offset_left = 282.0
|
||||
offset_top = 276.0
|
||||
offset_right = 282.0
|
||||
offset_bottom = 276.0
|
||||
level_id = "Level 1"
|
||||
|
||||
[node name="Level-Select-Planet3" parent="." instance=ExtResource("1_offx3")]
|
||||
offset_left = 545.0
|
||||
offset_top = 299.0
|
||||
offset_right = 545.0
|
||||
offset_bottom = 299.0
|
||||
level_id = "Level 2"
|
||||
clockwise = false
|
||||
|
||||
[node name="Level-Select-Planet" parent="." instance=ExtResource("1_offx3")]
|
||||
offset_left = 1029.0
|
||||
offset_top = 324.0
|
||||
offset_right = 1029.0
|
||||
offset_bottom = 324.0
|
||||
planet_type = 2
|
||||
level_id = "Level 3"
|
||||
clockwise = false
|
||||
|
||||
[node name="Level-Select-Planet7" parent="." instance=ExtResource("1_offx3")]
|
||||
offset_left = 1466.0
|
||||
offset_top = 238.0
|
||||
offset_right = 1466.0
|
||||
offset_bottom = 238.0
|
||||
level_id = "Level 4"
|
||||
|
||||
[node name="Level-Select-Planet4" parent="." instance=ExtResource("1_offx3")]
|
||||
offset_left = 1471.0
|
||||
offset_top = 484.0
|
||||
offset_right = 1471.0
|
||||
offset_bottom = 484.0
|
||||
level_id = "Level 5"
|
||||
|
||||
[node name="Level-Select-Planet5" parent="." instance=ExtResource("1_offx3")]
|
||||
offset_left = 1402.0
|
||||
offset_top = 670.0
|
||||
offset_right = 1402.0
|
||||
offset_bottom = 670.0
|
||||
level_id = "Level 6"
|
||||
|
||||
[node name="Level-Select-Planet2" parent="." instance=ExtResource("1_offx3")]
|
||||
offset_left = 1107.0
|
||||
offset_top = 726.0
|
||||
offset_right = 1107.0
|
||||
offset_bottom = 726.0
|
||||
level_id = "Level 7"
|
||||
clockwise = false
|
||||
|
||||
[node name="Level-Select-Planet8" parent="." instance=ExtResource("1_offx3")]
|
||||
offset_left = 825.0
|
||||
offset_top = 705.0
|
||||
offset_right = 825.0
|
||||
offset_bottom = 705.0
|
||||
level_id = "Level 8"
|
||||
|
||||
[node name="Level-Select-Planet9" parent="." instance=ExtResource("1_offx3")]
|
||||
offset_left = 601.0
|
||||
offset_top = 609.0
|
||||
offset_right = 601.0
|
||||
offset_bottom = 609.0
|
||||
level_id = "Level 9"
|
||||
|
||||
[node name="Level-Select-Planet10" parent="." instance=ExtResource("1_offx3")]
|
||||
offset_left = 345.0
|
||||
offset_top = 705.0
|
||||
offset_right = 345.0
|
||||
offset_bottom = 705.0
|
||||
level_id = "Level 10"
|
||||
|
||||
[node name="player" parent="." instance=ExtResource("2_iojkr")]
|
||||
position = Vector2(396, 473)
|
||||
dies_on_screen_leave = true
|
||||
respawn_point = Vector2(250, 500)
|
||||
auto_respawn = true
|
||||
|
||||
[node name="SelectionCofirmButton" type="Button" parent="."]
|
||||
offset_left = 251.0
|
||||
offset_top = 898.0
|
||||
offset_right = 1688.0
|
||||
offset_bottom = 1043.0
|
||||
theme_override_fonts/font = ExtResource("3_m787v")
|
||||
theme_override_font_sizes/font_size = 70
|
||||
theme_override_styles/normal = SubResource("StyleBoxFlat_v3ic8")
|
||||
text = "Confirm Level Selection"
|
||||
script = ExtResource("3_iojkr")
|
||||
|
||||
[node name="Enterpise-Button" type="Button" parent="."]
|
||||
offset_left = 1709.0
|
||||
offset_top = 32.0
|
||||
offset_right = 1763.0
|
||||
offset_bottom = 72.0
|
||||
text = "3"
|
||||
icon = ExtResource("5_7xgfl")
|
||||
script = ExtResource("5_v3ic8")
|
||||
|
||||
[node name="Enterpise-Button2" type="Button" parent="."]
|
||||
offset_left = 1709.0
|
||||
offset_top = 192.0
|
||||
offset_right = 1763.0
|
||||
offset_bottom = 232.0
|
||||
text = "3"
|
||||
icon = ExtResource("5_7xgfl")
|
||||
script = ExtResource("5_v3ic8")
|
||||
threshold = 6
|
||||
skin = "x-wing"
|
||||
|
||||
[node name="Enterpise-Button3" type="Button" parent="."]
|
||||
offset_left = 1709.0
|
||||
offset_top = 356.0
|
||||
offset_right = 1763.0
|
||||
offset_bottom = 396.0
|
||||
text = "3"
|
||||
icon = ExtResource("5_7xgfl")
|
||||
script = ExtResource("5_v3ic8")
|
||||
threshold = 12
|
||||
skin = "enterprise"
|
||||
|
||||
[node name="Enterpise-Button4" type="Button" parent="."]
|
||||
offset_left = 1709.0
|
||||
offset_top = 512.0
|
||||
offset_right = 1763.0
|
||||
offset_bottom = 552.0
|
||||
text = "3"
|
||||
icon = ExtResource("5_7xgfl")
|
||||
script = ExtResource("5_v3ic8")
|
||||
threshold = 18
|
||||
skin = "falcon"
|
||||
|
||||
[node name="Enterpise-Button5" type="Button" parent="."]
|
||||
offset_left = 1709.0
|
||||
offset_top = 672.0
|
||||
offset_right = 1763.0
|
||||
offset_bottom = 712.0
|
||||
text = "3"
|
||||
icon = ExtResource("5_7xgfl")
|
||||
script = ExtResource("5_v3ic8")
|
||||
threshold = 24
|
||||
skin = "battlecruiser"
|
||||
|
||||
[node name="Enterpise-Button6" type="Button" parent="."]
|
||||
offset_left = 1709.0
|
||||
offset_top = 832.0
|
||||
offset_right = 1763.0
|
||||
offset_bottom = 872.0
|
||||
text = "3"
|
||||
icon = ExtResource("5_7xgfl")
|
||||
script = ExtResource("5_v3ic8")
|
||||
threshold = 30
|
||||
skin = "enterprise"
|
||||
|
||||
[node name="Label" type="Label" parent="."]
|
||||
texture_filter = 1
|
||||
offset_left = 26.0
|
||||
offset_top = 20.0
|
||||
offset_right = 351.0
|
||||
offset_bottom = 51.0
|
||||
text = "Death Count: 0"
|
||||
label_settings = SubResource("LabelSettings_avbc4")
|
||||
script = ExtResource("8_ygamd")
|
||||
|
|
@ -0,0 +1,82 @@
|
|||
[gd_scene load_steps=6 format=3 uid="uid://c242dsi7lnqqb"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://c11b4i55gx3o5" path="res://LevelSelectUtility/level_select_planet.tscn" id="1_offx3"]
|
||||
[ext_resource type="PackedScene" uid="uid://d0h7r8gitcntt" path="res://player/player.tscn" id="2_iojkr"]
|
||||
[ext_resource type="Script" uid="uid://dnqvks40xcnq8" path="res://LevelSelectUtility/selection_cofirm_button.gd" id="3_iojkr"]
|
||||
[ext_resource type="FontFile" uid="uid://d2ucaasj8wmwj" path="res://Fonts/BRIGHTSTER-Bold-1.ttf" id="3_m787v"]
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_v3ic8"]
|
||||
bg_color = Color(0.688281, 0.599222, 0.142667, 1)
|
||||
border_width_left = 2
|
||||
border_width_top = 2
|
||||
border_width_right = 2
|
||||
border_width_bottom = 2
|
||||
border_color = Color(0, 0, 0, 1)
|
||||
corner_radius_top_left = 30
|
||||
corner_radius_top_right = 30
|
||||
corner_radius_bottom_right = 30
|
||||
corner_radius_bottom_left = 30
|
||||
|
||||
[node name="Level-Select-Screen" type="Node2D"]
|
||||
|
||||
[node name="Level-Select-Planet" parent="." instance=ExtResource("1_offx3")]
|
||||
offset_left = 1029.0
|
||||
offset_top = 324.0
|
||||
offset_right = 1029.0
|
||||
offset_bottom = 324.0
|
||||
level_id = "Level 3"
|
||||
|
||||
[node name="Level-Select-Planet2" parent="." instance=ExtResource("1_offx3")]
|
||||
offset_left = 1395.0
|
||||
offset_top = 406.0
|
||||
offset_right = 1395.0
|
||||
offset_bottom = 406.0
|
||||
planet_type = 1
|
||||
level_id = "Level 5"
|
||||
|
||||
[node name="Level-Select-Planet3" parent="." instance=ExtResource("1_offx3")]
|
||||
offset_left = 545.0
|
||||
offset_top = 299.0
|
||||
offset_right = 545.0
|
||||
offset_bottom = 299.0
|
||||
level_id = "Level 2"
|
||||
|
||||
[node name="Level-Select-Planet4" parent="." instance=ExtResource("1_offx3")]
|
||||
offset_left = 927.0
|
||||
offset_top = 612.0
|
||||
offset_right = 927.0
|
||||
offset_bottom = 612.0
|
||||
planet_type = 1
|
||||
level_id = "Level 4"
|
||||
|
||||
[node name="Level-Select-Planet5" parent="." instance=ExtResource("1_offx3")]
|
||||
offset_left = 1466.0
|
||||
offset_top = 672.0
|
||||
offset_right = 1466.0
|
||||
offset_bottom = 672.0
|
||||
planet_type = 1
|
||||
level_id = "Level 6"
|
||||
|
||||
[node name="player" parent="." instance=ExtResource("2_iojkr")]
|
||||
position = Vector2(396, 473)
|
||||
dies_on_screen_leave = true
|
||||
respawn_point = Vector2(250, 500)
|
||||
auto_respawn = true
|
||||
|
||||
[node name="Level-Select-Planet6" parent="." instance=ExtResource("1_offx3")]
|
||||
offset_left = 250.0
|
||||
offset_top = 500.0
|
||||
offset_right = 250.0
|
||||
offset_bottom = 500.0
|
||||
level_id = "Level 1"
|
||||
|
||||
[node name="SelectionCofirmButton" type="Button" parent="."]
|
||||
offset_left = 251.0
|
||||
offset_top = 898.0
|
||||
offset_right = 1688.0
|
||||
offset_bottom = 1043.0
|
||||
theme_override_fonts/font = ExtResource("3_m787v")
|
||||
theme_override_font_sizes/font_size = 70
|
||||
theme_override_styles/normal = SubResource("StyleBoxFlat_v3ic8")
|
||||
text = "Confirm Level Selection"
|
||||
script = ExtResource("3_iojkr")
|
||||
|
|
@ -0,0 +1,203 @@
|
|||
[gd_scene load_steps=11 format=3 uid="uid://ov4u4ocicilx"]
|
||||
|
||||
[ext_resource type="PackedScene" path="res://UI Elements/menu_background.tscn" id="1_25d63"]
|
||||
[ext_resource type="PackedScene" uid="uid://c11b4i55gx3o5" path="res://LevelSelectUtility/level_select_planet.tscn" id="2_jeu1d"]
|
||||
[ext_resource type="PackedScene" uid="uid://d0h7r8gitcntt" path="res://player/player.tscn" id="3_8hmgf"]
|
||||
[ext_resource type="FontFile" uid="uid://d2ucaasj8wmwj" path="res://Fonts/BRIGHTSTER-Bold-1.ttf" id="4_bydni"]
|
||||
[ext_resource type="Script" uid="uid://dnqvks40xcnq8" path="res://LevelSelectUtility/selection_cofirm_button.gd" id="5_galr1"]
|
||||
[ext_resource type="Texture2D" uid="uid://dj3nxkkx8gvre" path="res://assets/enterprise1.png" id="6_4jafe"]
|
||||
[ext_resource type="Script" uid="uid://djyqftdc3hb27" path="res://LevelSelectUtility/unlock-button.gd" id="7_iltjk"]
|
||||
[ext_resource type="Script" uid="uid://cv3b0iuf5w5c2" path="res://LevelSelectUtility/label.gd" id="8_g1qv7"]
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_v3ic8"]
|
||||
bg_color = Color(0.688281, 0.599222, 0.142667, 1)
|
||||
border_width_left = 2
|
||||
border_width_top = 2
|
||||
border_width_right = 2
|
||||
border_width_bottom = 2
|
||||
border_color = Color(0, 0, 0, 1)
|
||||
corner_radius_top_left = 30
|
||||
corner_radius_top_right = 30
|
||||
corner_radius_bottom_right = 30
|
||||
corner_radius_bottom_left = 30
|
||||
|
||||
[sub_resource type="LabelSettings" id="LabelSettings_avbc4"]
|
||||
font = ExtResource("4_bydni")
|
||||
font_size = 32
|
||||
|
||||
[node name="Level-Select-Screen" type="Node2D"]
|
||||
|
||||
[node name="menu_background" parent="." instance=ExtResource("1_25d63")]
|
||||
|
||||
[node name="Level-Select-Planet6" parent="." instance=ExtResource("2_jeu1d")]
|
||||
offset_left = 414.0
|
||||
offset_top = 188.0
|
||||
offset_right = 414.0
|
||||
offset_bottom = 188.0
|
||||
planet_type = 4
|
||||
level_id = "Level 11"
|
||||
|
||||
[node name="Level-Select-Planet3" parent="." instance=ExtResource("2_jeu1d")]
|
||||
offset_left = 446.0
|
||||
offset_top = 426.0
|
||||
offset_right = 446.0
|
||||
offset_bottom = 426.0
|
||||
planet_type = 5
|
||||
level_id = "Level 12"
|
||||
clockwise = false
|
||||
|
||||
[node name="Level-Select-Planet" parent="." instance=ExtResource("2_jeu1d")]
|
||||
offset_left = 840.0
|
||||
offset_top = 205.0
|
||||
offset_right = 840.0
|
||||
offset_bottom = 205.0
|
||||
planet_type = 1
|
||||
level_id = "Level 13"
|
||||
clockwise = false
|
||||
|
||||
[node name="Level-Select-Planet7" parent="." instance=ExtResource("2_jeu1d")]
|
||||
offset_left = 1552.0
|
||||
offset_top = 355.0
|
||||
offset_right = 1552.0
|
||||
offset_bottom = 355.0
|
||||
planet_type = 1
|
||||
level_id = "Level 14"
|
||||
|
||||
[node name="Level-Select-Planet4" parent="." instance=ExtResource("2_jeu1d")]
|
||||
offset_left = 1367.0
|
||||
offset_top = 588.0
|
||||
offset_right = 1367.0
|
||||
offset_bottom = 588.0
|
||||
planet_type = 5
|
||||
level_id = "Level 15"
|
||||
|
||||
[node name="Level-Select-Planet5" parent="." instance=ExtResource("2_jeu1d")]
|
||||
offset_left = 1386.0
|
||||
offset_top = 787.0
|
||||
offset_right = 1386.0
|
||||
offset_bottom = 787.0
|
||||
level_id = "Level 16"
|
||||
|
||||
[node name="Level-Select-Planet2" parent="." instance=ExtResource("2_jeu1d")]
|
||||
offset_left = 954.0
|
||||
offset_top = 806.0
|
||||
offset_right = 954.0
|
||||
offset_bottom = 806.0
|
||||
planet_type = 7
|
||||
level_id = "Level 17"
|
||||
clockwise = false
|
||||
|
||||
[node name="Level-Select-Planet8" parent="." instance=ExtResource("2_jeu1d")]
|
||||
offset_left = 856.0
|
||||
offset_top = 525.0
|
||||
offset_right = 856.0
|
||||
offset_bottom = 525.0
|
||||
planet_type = 3
|
||||
level_id = "Level 18"
|
||||
|
||||
[node name="Level-Select-Planet9" parent="." instance=ExtResource("2_jeu1d")]
|
||||
offset_left = 1151.0
|
||||
offset_top = 313.0
|
||||
offset_right = 1151.0
|
||||
offset_bottom = 313.0
|
||||
planet_type = 7
|
||||
level_id = "Level 19"
|
||||
|
||||
[node name="Level-Select-Planet10" parent="." instance=ExtResource("2_jeu1d")]
|
||||
offset_left = 560.0
|
||||
offset_top = 788.0
|
||||
offset_right = 560.0
|
||||
offset_bottom = 788.0
|
||||
planet_type = 6
|
||||
level_id = "Level 20"
|
||||
|
||||
[node name="player" parent="." instance=ExtResource("3_8hmgf")]
|
||||
position = Vector2(238, 481)
|
||||
dies_on_screen_leave = true
|
||||
respawn_point = Vector2(250, 500)
|
||||
auto_respawn = true
|
||||
|
||||
[node name="SelectionCofirmButton" type="Button" parent="."]
|
||||
offset_left = 251.0
|
||||
offset_top = 898.0
|
||||
offset_right = 1688.0
|
||||
offset_bottom = 1043.0
|
||||
theme_override_fonts/font = ExtResource("4_bydni")
|
||||
theme_override_font_sizes/font_size = 70
|
||||
theme_override_styles/normal = SubResource("StyleBoxFlat_v3ic8")
|
||||
text = "Confirm Level Selection"
|
||||
script = ExtResource("5_galr1")
|
||||
|
||||
[node name="Enterpise-Button" type="Button" parent="."]
|
||||
offset_left = 1709.0
|
||||
offset_top = 32.0
|
||||
offset_right = 1763.0
|
||||
offset_bottom = 72.0
|
||||
text = "3"
|
||||
icon = ExtResource("6_4jafe")
|
||||
script = ExtResource("7_iltjk")
|
||||
|
||||
[node name="Enterpise-Button2" type="Button" parent="."]
|
||||
offset_left = 1709.0
|
||||
offset_top = 192.0
|
||||
offset_right = 1763.0
|
||||
offset_bottom = 232.0
|
||||
text = "3"
|
||||
icon = ExtResource("6_4jafe")
|
||||
script = ExtResource("7_iltjk")
|
||||
threshold = 6
|
||||
skin = "x-wing"
|
||||
|
||||
[node name="Enterpise-Button3" type="Button" parent="."]
|
||||
offset_left = 1709.0
|
||||
offset_top = 356.0
|
||||
offset_right = 1763.0
|
||||
offset_bottom = 396.0
|
||||
text = "3"
|
||||
icon = ExtResource("6_4jafe")
|
||||
script = ExtResource("7_iltjk")
|
||||
threshold = 12
|
||||
skin = "enterprise"
|
||||
|
||||
[node name="Enterpise-Button4" type="Button" parent="."]
|
||||
offset_left = 1709.0
|
||||
offset_top = 512.0
|
||||
offset_right = 1763.0
|
||||
offset_bottom = 552.0
|
||||
text = "3"
|
||||
icon = ExtResource("6_4jafe")
|
||||
script = ExtResource("7_iltjk")
|
||||
threshold = 18
|
||||
skin = "falcon"
|
||||
|
||||
[node name="Enterpise-Button5" type="Button" parent="."]
|
||||
offset_left = 1709.0
|
||||
offset_top = 672.0
|
||||
offset_right = 1763.0
|
||||
offset_bottom = 712.0
|
||||
text = "3"
|
||||
icon = ExtResource("6_4jafe")
|
||||
script = ExtResource("7_iltjk")
|
||||
threshold = 24
|
||||
skin = "battlecruiser"
|
||||
|
||||
[node name="Enterpise-Button6" type="Button" parent="."]
|
||||
offset_left = 1709.0
|
||||
offset_top = 832.0
|
||||
offset_right = 1763.0
|
||||
offset_bottom = 872.0
|
||||
text = "3"
|
||||
icon = ExtResource("6_4jafe")
|
||||
script = ExtResource("7_iltjk")
|
||||
threshold = 30
|
||||
skin = "enterprise"
|
||||
|
||||
[node name="Label" type="Label" parent="."]
|
||||
texture_filter = 1
|
||||
offset_left = 26.0
|
||||
offset_top = 20.0
|
||||
offset_right = 351.0
|
||||
offset_bottom = 51.0
|
||||
text = "Death Count: 0"
|
||||
label_settings = SubResource("LabelSettings_avbc4")
|
||||
script = ExtResource("8_g1qv7")
|
||||
12
rund-um-die-welten/LevelSelectUtility/main_menu.gd
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
extends Node2D
|
||||
|
||||
func _ready() -> void:
|
||||
GlobalVariables.play_music()
|
||||
# Access the button using its name
|
||||
var button = $Quit_Button
|
||||
|
||||
# Connect the "pressed" signal to a function in this script
|
||||
button.pressed.connect(_on_button_pressed)
|
||||
|
||||
func _on_button_pressed():
|
||||
get_tree().quit()
|
||||
1
rund-um-die-welten/LevelSelectUtility/main_menu.gd.uid
Normal file
|
|
@ -0,0 +1 @@
|
|||
uid://fey1vlc3fki
|
||||
|
|
@ -0,0 +1,16 @@
|
|||
extends Button
|
||||
|
||||
var rootfolder = "res://"
|
||||
var subfolder = "Levels/"
|
||||
func _ready():
|
||||
# Signal verbinden
|
||||
self.pressed.connect(_on_pressed)
|
||||
|
||||
func _on_pressed():
|
||||
print("Selected Level is " + GlobalVariables.selected_level)
|
||||
var level_select_path = rootfolder + subfolder + GlobalVariables.selected_level + ".tscn"
|
||||
if FileAccess.file_exists(level_select_path):
|
||||
Audioplayer.play_sound((load("res://sfx/button_clicks.wav") as AudioStream))
|
||||
GlobalVariables.change_level(level_select_path)
|
||||
else :
|
||||
print("File not found under " + level_select_path)
|
||||
|
|
@ -0,0 +1 @@
|
|||
uid://dnqvks40xcnq8
|
||||
60
rund-um-die-welten/LevelSelectUtility/unlock-button.gd
Normal file
|
|
@ -0,0 +1,60 @@
|
|||
extends Button
|
||||
|
||||
@export var threshold = 0
|
||||
var unlocked = false
|
||||
@export var skin = "default" #enterpise, x-wing
|
||||
|
||||
#find number of collectables
|
||||
func _ready():
|
||||
check_unlock()
|
||||
update_icon()
|
||||
update_text()
|
||||
connect("pressed", Callable(self, "_on_pressed"))
|
||||
|
||||
func check_unlock():
|
||||
var total = 0
|
||||
for level in GlobalVariables.collectibles.keys():
|
||||
for value in GlobalVariables.collectibles[level]:
|
||||
total += value
|
||||
|
||||
if total >= threshold:
|
||||
unlocked = true
|
||||
disabled = false
|
||||
else:
|
||||
unlocked = false
|
||||
disabled = true
|
||||
|
||||
func _on_pressed():
|
||||
if unlocked:
|
||||
Audioplayer.play_sound((load("res://sfx/button_clicks.wav") as AudioStream))
|
||||
GlobalVariables.player_skin = skin
|
||||
|
||||
func update_icon():
|
||||
match skin:
|
||||
"default":
|
||||
icon = load_scaled_icon("res://assets/rocket1.png")
|
||||
"x-wing":
|
||||
icon = load_scaled_icon("res://assets/x-wing1.png")
|
||||
"enterprise":
|
||||
icon = load_scaled_icon("res://assets/enterprise1.png")
|
||||
"sputnik":
|
||||
icon = load_scaled_icon("res://assets/sputnik.png")
|
||||
"falcon":
|
||||
icon = load_scaled_icon("res://assets/falcon1.png")
|
||||
"battlecruiser":
|
||||
icon = load_scaled_icon("res://assets/battlecruiser1.png")
|
||||
_:
|
||||
icon = null
|
||||
|
||||
func load_scaled_icon(path: String) -> Texture2D:
|
||||
var icon_scale = 4
|
||||
var img = load(path).get_image()
|
||||
img.resize(img.get_width() * icon_scale, img.get_height() * icon_scale, Image.INTERPOLATE_NEAREST)
|
||||
var tex = ImageTexture.create_from_image(img)
|
||||
return tex
|
||||
|
||||
func update_text():
|
||||
text = str(threshold)
|
||||
if threshold < 9:
|
||||
text = "0" + text
|
||||
add_theme_font_size_override("font_size", 60)
|
||||
|
|
@ -0,0 +1 @@
|
|||
uid://djyqftdc3hb27
|
||||
220
rund-um-die-welten/LevelSelectUtility/world 1.tscn
Normal file
|
|
@ -0,0 +1,220 @@
|
|||
[gd_scene load_steps=13 format=3 uid="uid://cmkq2o30yiefk"]
|
||||
|
||||
[ext_resource type="PackedScene" path="res://UI Elements/menu_background.tscn" id="1_03edo"]
|
||||
[ext_resource type="PackedScene" uid="uid://c11b4i55gx3o5" path="res://LevelSelectUtility/level_select_planet.tscn" id="2_ywexb"]
|
||||
[ext_resource type="PackedScene" uid="uid://d0h7r8gitcntt" path="res://player/player.tscn" id="3_dtlly"]
|
||||
[ext_resource type="FontFile" uid="uid://d2ucaasj8wmwj" path="res://Fonts/BRIGHTSTER-Bold-1.ttf" id="4_ht4d8"]
|
||||
[ext_resource type="Script" uid="uid://dnqvks40xcnq8" path="res://LevelSelectUtility/selection_cofirm_button.gd" id="5_1ixqv"]
|
||||
[ext_resource type="Texture2D" uid="uid://dj3nxkkx8gvre" path="res://assets/enterprise1.png" id="6_yxkf4"]
|
||||
[ext_resource type="Script" uid="uid://djyqftdc3hb27" path="res://LevelSelectUtility/unlock-button.gd" id="7_tnt4d"]
|
||||
[ext_resource type="Script" uid="uid://cv3b0iuf5w5c2" path="res://LevelSelectUtility/label.gd" id="8_8445k"]
|
||||
[ext_resource type="Script" uid="uid://jsfpumv6bsd5" path="res://LevelSelectUtility/back_to_galaxy_button.gd" id="9_yneq5"]
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_v3ic8"]
|
||||
bg_color = Color(0.688281, 0.599222, 0.142667, 1)
|
||||
border_width_left = 2
|
||||
border_width_top = 2
|
||||
border_width_right = 2
|
||||
border_width_bottom = 2
|
||||
border_color = Color(0, 0, 0, 1)
|
||||
corner_radius_top_left = 30
|
||||
corner_radius_top_right = 30
|
||||
corner_radius_bottom_right = 30
|
||||
corner_radius_bottom_left = 30
|
||||
|
||||
[sub_resource type="LabelSettings" id="LabelSettings_avbc4"]
|
||||
font = ExtResource("4_ht4d8")
|
||||
font_size = 32
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_ygamd"]
|
||||
bg_color = Color(0.688281, 0.599222, 0.142667, 1)
|
||||
border_width_left = 2
|
||||
border_width_top = 2
|
||||
border_width_right = 2
|
||||
border_width_bottom = 2
|
||||
border_color = Color(0, 0, 0, 1)
|
||||
corner_radius_top_left = 30
|
||||
corner_radius_top_right = 30
|
||||
corner_radius_bottom_right = 30
|
||||
corner_radius_bottom_left = 30
|
||||
|
||||
[node name="Level-Select-Screen2" type="Node2D"]
|
||||
|
||||
[node name="menu_background" parent="." instance=ExtResource("1_03edo")]
|
||||
|
||||
[node name="Level-Select-Planet6" parent="." instance=ExtResource("2_ywexb")]
|
||||
offset_left = 282.0
|
||||
offset_top = 276.0
|
||||
offset_right = 282.0
|
||||
offset_bottom = 276.0
|
||||
level_id = "Level 1"
|
||||
|
||||
[node name="Level-Select-Planet3" parent="." instance=ExtResource("2_ywexb")]
|
||||
offset_left = 545.0
|
||||
offset_top = 299.0
|
||||
offset_right = 545.0
|
||||
offset_bottom = 299.0
|
||||
level_id = "Level 2"
|
||||
clockwise = false
|
||||
|
||||
[node name="Level-Select-Planet" parent="." instance=ExtResource("2_ywexb")]
|
||||
offset_left = 1029.0
|
||||
offset_top = 324.0
|
||||
offset_right = 1029.0
|
||||
offset_bottom = 324.0
|
||||
planet_type = 2
|
||||
level_id = "Level 3"
|
||||
clockwise = false
|
||||
|
||||
[node name="Level-Select-Planet7" parent="." instance=ExtResource("2_ywexb")]
|
||||
offset_left = 1466.0
|
||||
offset_top = 238.0
|
||||
offset_right = 1466.0
|
||||
offset_bottom = 238.0
|
||||
level_id = "Level 4"
|
||||
|
||||
[node name="Level-Select-Planet4" parent="." instance=ExtResource("2_ywexb")]
|
||||
offset_left = 1471.0
|
||||
offset_top = 484.0
|
||||
offset_right = 1471.0
|
||||
offset_bottom = 484.0
|
||||
level_id = "Level 5"
|
||||
|
||||
[node name="Level-Select-Planet5" parent="." instance=ExtResource("2_ywexb")]
|
||||
offset_left = 1402.0
|
||||
offset_top = 670.0
|
||||
offset_right = 1402.0
|
||||
offset_bottom = 670.0
|
||||
level_id = "Level 6"
|
||||
|
||||
[node name="Level-Select-Planet2" parent="." instance=ExtResource("2_ywexb")]
|
||||
offset_left = 1107.0
|
||||
offset_top = 726.0
|
||||
offset_right = 1107.0
|
||||
offset_bottom = 726.0
|
||||
level_id = "Level 7"
|
||||
clockwise = false
|
||||
|
||||
[node name="Level-Select-Planet8" parent="." instance=ExtResource("2_ywexb")]
|
||||
offset_left = 825.0
|
||||
offset_top = 705.0
|
||||
offset_right = 825.0
|
||||
offset_bottom = 705.0
|
||||
level_id = "Level 8"
|
||||
|
||||
[node name="Level-Select-Planet9" parent="." instance=ExtResource("2_ywexb")]
|
||||
offset_left = 601.0
|
||||
offset_top = 609.0
|
||||
offset_right = 601.0
|
||||
offset_bottom = 609.0
|
||||
level_id = "Level 9"
|
||||
|
||||
[node name="Level-Select-Planet10" parent="." instance=ExtResource("2_ywexb")]
|
||||
offset_left = 345.0
|
||||
offset_top = 705.0
|
||||
offset_right = 345.0
|
||||
offset_bottom = 705.0
|
||||
level_id = "Level 10"
|
||||
|
||||
[node name="player" parent="." instance=ExtResource("3_dtlly")]
|
||||
position = Vector2(396, 473)
|
||||
dies_on_screen_leave = true
|
||||
respawn_point = Vector2(250, 500)
|
||||
auto_respawn = true
|
||||
|
||||
[node name="SelectionCofirmButton" type="Button" parent="."]
|
||||
offset_left = 251.0
|
||||
offset_top = 898.0
|
||||
offset_right = 1688.0
|
||||
offset_bottom = 1043.0
|
||||
theme_override_fonts/font = ExtResource("4_ht4d8")
|
||||
theme_override_font_sizes/font_size = 70
|
||||
theme_override_styles/normal = SubResource("StyleBoxFlat_v3ic8")
|
||||
text = "Confirm Level Selection"
|
||||
script = ExtResource("5_1ixqv")
|
||||
|
||||
[node name="Enterpise-Button" type="Button" parent="."]
|
||||
offset_left = 1709.0
|
||||
offset_top = 32.0
|
||||
offset_right = 1763.0
|
||||
offset_bottom = 72.0
|
||||
text = "3"
|
||||
icon = ExtResource("6_yxkf4")
|
||||
script = ExtResource("7_tnt4d")
|
||||
|
||||
[node name="Enterpise-Button2" type="Button" parent="."]
|
||||
offset_left = 1709.0
|
||||
offset_top = 192.0
|
||||
offset_right = 1763.0
|
||||
offset_bottom = 232.0
|
||||
text = "3"
|
||||
icon = ExtResource("6_yxkf4")
|
||||
script = ExtResource("7_tnt4d")
|
||||
threshold = 6
|
||||
skin = "x-wing"
|
||||
|
||||
[node name="Enterpise-Button3" type="Button" parent="."]
|
||||
offset_left = 1709.0
|
||||
offset_top = 356.0
|
||||
offset_right = 1763.0
|
||||
offset_bottom = 396.0
|
||||
text = "3"
|
||||
icon = ExtResource("6_yxkf4")
|
||||
script = ExtResource("7_tnt4d")
|
||||
threshold = 12
|
||||
skin = "enterprise"
|
||||
|
||||
[node name="Enterpise-Button4" type="Button" parent="."]
|
||||
offset_left = 1709.0
|
||||
offset_top = 512.0
|
||||
offset_right = 1763.0
|
||||
offset_bottom = 552.0
|
||||
text = "3"
|
||||
icon = ExtResource("6_yxkf4")
|
||||
script = ExtResource("7_tnt4d")
|
||||
threshold = 18
|
||||
skin = "falcon"
|
||||
|
||||
[node name="Enterpise-Button5" type="Button" parent="."]
|
||||
offset_left = 1709.0
|
||||
offset_top = 672.0
|
||||
offset_right = 1763.0
|
||||
offset_bottom = 712.0
|
||||
text = "3"
|
||||
icon = ExtResource("6_yxkf4")
|
||||
script = ExtResource("7_tnt4d")
|
||||
threshold = 24
|
||||
skin = "battlecruiser"
|
||||
|
||||
[node name="Enterpise-Button6" type="Button" parent="."]
|
||||
offset_left = 1709.0
|
||||
offset_top = 832.0
|
||||
offset_right = 1763.0
|
||||
offset_bottom = 872.0
|
||||
text = "3"
|
||||
icon = ExtResource("6_yxkf4")
|
||||
script = ExtResource("7_tnt4d")
|
||||
threshold = 30
|
||||
skin = "enterprise"
|
||||
|
||||
[node name="Label" type="Label" parent="."]
|
||||
texture_filter = 1
|
||||
offset_left = 26.0
|
||||
offset_top = 20.0
|
||||
offset_right = 351.0
|
||||
offset_bottom = 51.0
|
||||
text = "Death Count: 0"
|
||||
label_settings = SubResource("LabelSettings_avbc4")
|
||||
script = ExtResource("8_8445k")
|
||||
|
||||
[node name="Back_to_Galaxy_Button" type="Button" parent="."]
|
||||
offset_left = 25.0
|
||||
offset_top = 490.0
|
||||
offset_right = 325.0
|
||||
offset_bottom = 590.0
|
||||
theme_override_fonts/font = ExtResource("4_ht4d8")
|
||||
theme_override_font_sizes/font_size = 35
|
||||
theme_override_styles/normal = SubResource("StyleBoxFlat_ygamd")
|
||||
text = "Back to
|
||||
the galaxy"
|
||||
script = ExtResource("9_yneq5")
|
||||
216
rund-um-die-welten/LevelSelectUtility/world 2.tscn
Normal file
|
|
@ -0,0 +1,216 @@
|
|||
[gd_scene load_steps=12 format=3 uid="uid://4dh5ynq05rq8"]
|
||||
|
||||
[ext_resource type="PackedScene" path="res://UI Elements/menu_background.tscn" id="1_l3hcs"]
|
||||
[ext_resource type="PackedScene" uid="uid://c11b4i55gx3o5" path="res://LevelSelectUtility/level_select_planet.tscn" id="2_xnhxt"]
|
||||
[ext_resource type="PackedScene" uid="uid://d0h7r8gitcntt" path="res://player/player.tscn" id="3_o15yf"]
|
||||
[ext_resource type="FontFile" uid="uid://d2ucaasj8wmwj" path="res://Fonts/BRIGHTSTER-Bold-1.ttf" id="4_21fe5"]
|
||||
[ext_resource type="Script" uid="uid://dnqvks40xcnq8" path="res://LevelSelectUtility/selection_cofirm_button.gd" id="5_ig01f"]
|
||||
[ext_resource type="Script" uid="uid://jsfpumv6bsd5" path="res://LevelSelectUtility/back_to_galaxy_button.gd" id="6_evgly"]
|
||||
[ext_resource type="Texture2D" uid="uid://dj3nxkkx8gvre" path="res://assets/enterprise1.png" id="7_fmbcg"]
|
||||
[ext_resource type="Script" uid="uid://djyqftdc3hb27" path="res://LevelSelectUtility/unlock-button.gd" id="8_m0m58"]
|
||||
[ext_resource type="Script" uid="uid://cv3b0iuf5w5c2" path="res://LevelSelectUtility/label.gd" id="9_8hib7"]
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_v3ic8"]
|
||||
bg_color = Color(0.688281, 0.599222, 0.142667, 1)
|
||||
border_width_left = 2
|
||||
border_width_top = 2
|
||||
border_width_right = 2
|
||||
border_width_bottom = 2
|
||||
border_color = Color(0, 0, 0, 1)
|
||||
corner_radius_top_left = 30
|
||||
corner_radius_top_right = 30
|
||||
corner_radius_bottom_right = 30
|
||||
corner_radius_bottom_left = 30
|
||||
|
||||
[sub_resource type="LabelSettings" id="LabelSettings_avbc4"]
|
||||
font = ExtResource("4_21fe5")
|
||||
font_size = 32
|
||||
|
||||
[node name="Level-Select-Screen" type="Node2D"]
|
||||
|
||||
[node name="menu_background" parent="." instance=ExtResource("1_l3hcs")]
|
||||
|
||||
[node name="Level-Select-Planet6" parent="." instance=ExtResource("2_xnhxt")]
|
||||
offset_left = 414.0
|
||||
offset_top = 188.0
|
||||
offset_right = 414.0
|
||||
offset_bottom = 188.0
|
||||
planet_type = 4
|
||||
level_id = "Level 11"
|
||||
|
||||
[node name="Level-Select-Planet3" parent="." instance=ExtResource("2_xnhxt")]
|
||||
offset_left = 446.0
|
||||
offset_top = 426.0
|
||||
offset_right = 446.0
|
||||
offset_bottom = 426.0
|
||||
planet_type = 5
|
||||
level_id = "Level 12"
|
||||
clockwise = false
|
||||
|
||||
[node name="Level-Select-Planet" parent="." instance=ExtResource("2_xnhxt")]
|
||||
offset_left = 840.0
|
||||
offset_top = 205.0
|
||||
offset_right = 840.0
|
||||
offset_bottom = 205.0
|
||||
planet_type = 1
|
||||
level_id = "Level 13"
|
||||
clockwise = false
|
||||
|
||||
[node name="Level-Select-Planet7" parent="." instance=ExtResource("2_xnhxt")]
|
||||
offset_left = 1552.0
|
||||
offset_top = 355.0
|
||||
offset_right = 1552.0
|
||||
offset_bottom = 355.0
|
||||
planet_type = 1
|
||||
level_id = "Level 14"
|
||||
|
||||
[node name="Level-Select-Planet4" parent="." instance=ExtResource("2_xnhxt")]
|
||||
offset_left = 1367.0
|
||||
offset_top = 588.0
|
||||
offset_right = 1367.0
|
||||
offset_bottom = 588.0
|
||||
planet_type = 5
|
||||
level_id = "Level 15"
|
||||
|
||||
[node name="Level-Select-Planet5" parent="." instance=ExtResource("2_xnhxt")]
|
||||
offset_left = 1386.0
|
||||
offset_top = 787.0
|
||||
offset_right = 1386.0
|
||||
offset_bottom = 787.0
|
||||
level_id = "Level 16"
|
||||
|
||||
[node name="Level-Select-Planet2" parent="." instance=ExtResource("2_xnhxt")]
|
||||
offset_left = 954.0
|
||||
offset_top = 806.0
|
||||
offset_right = 954.0
|
||||
offset_bottom = 806.0
|
||||
planet_type = 7
|
||||
level_id = "Level 17"
|
||||
clockwise = false
|
||||
|
||||
[node name="Level-Select-Planet8" parent="." instance=ExtResource("2_xnhxt")]
|
||||
offset_left = 856.0
|
||||
offset_top = 525.0
|
||||
offset_right = 856.0
|
||||
offset_bottom = 525.0
|
||||
planet_type = 3
|
||||
level_id = "Level 18"
|
||||
|
||||
[node name="Level-Select-Planet9" parent="." instance=ExtResource("2_xnhxt")]
|
||||
offset_left = 1151.0
|
||||
offset_top = 313.0
|
||||
offset_right = 1151.0
|
||||
offset_bottom = 313.0
|
||||
planet_type = 7
|
||||
level_id = "Level 19"
|
||||
|
||||
[node name="Level-Select-Planet10" parent="." instance=ExtResource("2_xnhxt")]
|
||||
offset_left = 560.0
|
||||
offset_top = 788.0
|
||||
offset_right = 560.0
|
||||
offset_bottom = 788.0
|
||||
planet_type = 6
|
||||
level_id = "Level 20"
|
||||
|
||||
[node name="player" parent="." instance=ExtResource("3_o15yf")]
|
||||
position = Vector2(609, 444)
|
||||
dies_on_screen_leave = true
|
||||
respawn_point = Vector2(250, 500)
|
||||
auto_respawn = true
|
||||
|
||||
[node name="SelectionCofirmButton" type="Button" parent="."]
|
||||
offset_left = 251.0
|
||||
offset_top = 898.0
|
||||
offset_right = 1688.0
|
||||
offset_bottom = 1043.0
|
||||
theme_override_fonts/font = ExtResource("4_21fe5")
|
||||
theme_override_font_sizes/font_size = 70
|
||||
theme_override_styles/normal = SubResource("StyleBoxFlat_v3ic8")
|
||||
text = "Confirm Level Selection"
|
||||
script = ExtResource("5_ig01f")
|
||||
|
||||
[node name="Back_to_Galaxy_Button" type="Button" parent="."]
|
||||
offset_left = 25.0
|
||||
offset_top = 490.0
|
||||
offset_right = 325.0
|
||||
offset_bottom = 590.0
|
||||
theme_override_fonts/font = ExtResource("4_21fe5")
|
||||
theme_override_font_sizes/font_size = 35
|
||||
theme_override_styles/normal = SubResource("StyleBoxFlat_v3ic8")
|
||||
text = "Back to
|
||||
the galaxy"
|
||||
script = ExtResource("6_evgly")
|
||||
|
||||
[node name="Enterpise-Button" type="Button" parent="."]
|
||||
offset_left = 1709.0
|
||||
offset_top = 32.0
|
||||
offset_right = 1763.0
|
||||
offset_bottom = 72.0
|
||||
text = "3"
|
||||
icon = ExtResource("7_fmbcg")
|
||||
script = ExtResource("8_m0m58")
|
||||
|
||||
[node name="Enterpise-Button2" type="Button" parent="."]
|
||||
offset_left = 1709.0
|
||||
offset_top = 192.0
|
||||
offset_right = 1763.0
|
||||
offset_bottom = 232.0
|
||||
text = "3"
|
||||
icon = ExtResource("7_fmbcg")
|
||||
script = ExtResource("8_m0m58")
|
||||
threshold = 6
|
||||
skin = "x-wing"
|
||||
|
||||
[node name="Enterpise-Button3" type="Button" parent="."]
|
||||
offset_left = 1709.0
|
||||
offset_top = 356.0
|
||||
offset_right = 1763.0
|
||||
offset_bottom = 396.0
|
||||
text = "3"
|
||||
icon = ExtResource("7_fmbcg")
|
||||
script = ExtResource("8_m0m58")
|
||||
threshold = 12
|
||||
skin = "enterprise"
|
||||
|
||||
[node name="Enterpise-Button4" type="Button" parent="."]
|
||||
offset_left = 1709.0
|
||||
offset_top = 512.0
|
||||
offset_right = 1763.0
|
||||
offset_bottom = 552.0
|
||||
text = "3"
|
||||
icon = ExtResource("7_fmbcg")
|
||||
script = ExtResource("8_m0m58")
|
||||
threshold = 18
|
||||
skin = "falcon"
|
||||
|
||||
[node name="Enterpise-Button5" type="Button" parent="."]
|
||||
offset_left = 1709.0
|
||||
offset_top = 672.0
|
||||
offset_right = 1763.0
|
||||
offset_bottom = 712.0
|
||||
text = "3"
|
||||
icon = ExtResource("7_fmbcg")
|
||||
script = ExtResource("8_m0m58")
|
||||
threshold = 24
|
||||
skin = "battlecruiser"
|
||||
|
||||
[node name="Enterpise-Button6" type="Button" parent="."]
|
||||
offset_left = 1709.0
|
||||
offset_top = 832.0
|
||||
offset_right = 1763.0
|
||||
offset_bottom = 872.0
|
||||
text = "3"
|
||||
icon = ExtResource("7_fmbcg")
|
||||
script = ExtResource("8_m0m58")
|
||||
threshold = 30
|
||||
skin = "enterprise"
|
||||
|
||||
[node name="Label" type="Label" parent="."]
|
||||
texture_filter = 1
|
||||
offset_left = 26.0
|
||||
offset_top = 20.0
|
||||
offset_right = 351.0
|
||||
offset_bottom = 51.0
|
||||
text = "Death Count: 0"
|
||||
label_settings = SubResource("LabelSettings_avbc4")
|
||||
script = ExtResource("9_8hib7")
|
||||
|
|
@ -0,0 +1,25 @@
|
|||
extends Area2D
|
||||
|
||||
@export var inverted = false
|
||||
|
||||
var clickable_area_radius = 140:
|
||||
set(value):
|
||||
clickable_area_radius = value
|
||||
$collision_shape.shape.radius = clickable_area_radius
|
||||
@export var world_file_name: String:
|
||||
set(value):
|
||||
world_file_name = value
|
||||
$world_name_text.text = world_file_name
|
||||
func _ready() -> void:
|
||||
if inverted:
|
||||
$inverted.visible = true
|
||||
else:
|
||||
$normal.visible = true
|
||||
$collision_shape.shape.radius = clickable_area_radius
|
||||
input_pickable = true
|
||||
|
||||
func _input_event(_viewport, event, _shape_idx):
|
||||
if event is InputEventMouseButton and event.pressed:
|
||||
Audioplayer.play_sound((load("res://sfx/button_clicks.wav") as AudioStream))
|
||||
GlobalVariables.change_level("LevelSelectUtility/" + str(world_file_name) + ".tscn", true)
|
||||
GlobalVariables.current_world = world_file_name
|
||||
|
|
@ -0,0 +1 @@
|
|||
uid://d2umg2v2kkvyf
|
||||
|
|
@ -0,0 +1,37 @@
|
|||
[gd_scene load_steps=6 format=3 uid="uid://b81fnypg0r01i"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://d2umg2v2kkvyf" path="res://LevelSelectUtility/world_select_star_system.gd" id="1_t35k2"]
|
||||
[ext_resource type="Texture2D" uid="uid://gmkmd4xgp2dt" path="res://assets/solar_system.png" id="2_m35r8"]
|
||||
[ext_resource type="Texture2D" uid="uid://byfoytj6xrow8" path="res://assets/solar_system_2.png" id="3_7cfo7"]
|
||||
[ext_resource type="FontFile" uid="uid://d2ucaasj8wmwj" path="res://Fonts/BRIGHTSTER-Bold-1.ttf" id="3_uq3ng"]
|
||||
|
||||
[sub_resource type="CircleShape2D" id="CircleShape2D_m35r8"]
|
||||
radius = 140.0
|
||||
|
||||
[node name="WorldSelectStarSystem" type="Area2D"]
|
||||
script = ExtResource("1_t35k2")
|
||||
|
||||
[node name="collision_shape" type="CollisionShape2D" parent="."]
|
||||
shape = SubResource("CircleShape2D_m35r8")
|
||||
|
||||
[node name="normal" type="Sprite2D" parent="."]
|
||||
visible = false
|
||||
scale = Vector2(4, 4)
|
||||
texture = ExtResource("2_m35r8")
|
||||
|
||||
[node name="inverted" type="Sprite2D" parent="."]
|
||||
visible = false
|
||||
texture_filter = 1
|
||||
scale = Vector2(4, 4)
|
||||
texture = ExtResource("3_7cfo7")
|
||||
|
||||
[node name="world_name_text" type="RichTextLabel" parent="."]
|
||||
offset_left = -125.0
|
||||
offset_top = 120.0
|
||||
offset_right = 125.0
|
||||
offset_bottom = 150.0
|
||||
theme_override_fonts/normal_font = ExtResource("3_uq3ng")
|
||||
theme_override_font_sizes/normal_font_size = 30
|
||||
text = "World x"
|
||||
scroll_active = false
|
||||
horizontal_alignment = 1
|
||||
82
rund-um-die-welten/Levels/Level 1.tscn
Normal file
|
|
@ -0,0 +1,82 @@
|
|||
[gd_scene load_steps=9 format=3 uid="uid://bovxwf77p74pn"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://tlx7l1b53wm7" path="res://Levels/main.gd" id="1_xtg75"]
|
||||
[ext_resource type="PackedScene" uid="uid://d0h7r8gitcntt" path="res://player/player.tscn" id="2_hi2wx"]
|
||||
[ext_resource type="PackedScene" uid="uid://bmlfyt1ykh3aq" path="res://planet/planet_v_2.tscn" id="3_1xjbt"]
|
||||
[ext_resource type="PackedScene" uid="uid://ufu0fyp248bh" path="res://comet/comet.tscn" id="4_vy3yb"]
|
||||
[ext_resource type="PackedScene" uid="uid://b72obu30gqg1g" path="res://UI Elements/scene_utils.tscn" id="5_ui7qv"]
|
||||
[ext_resource type="PackedScene" uid="uid://nccnr30bmrud" path="res://collectibles/collectible.tscn" id="6_pjihm"]
|
||||
[ext_resource type="FontFile" uid="uid://d2ucaasj8wmwj" path="res://Fonts/BRIGHTSTER-Bold-1.ttf" id="7_oakcl"]
|
||||
|
||||
[sub_resource type="LabelSettings" id="LabelSettings_qi1fe"]
|
||||
font = ExtResource("7_oakcl")
|
||||
font_size = 32
|
||||
|
||||
[node name="main3" type="Node2D"]
|
||||
script = ExtResource("1_xtg75")
|
||||
level_name = "Level 1"
|
||||
|
||||
[node name="player" parent="." groups=["player"] instance=ExtResource("2_hi2wx")]
|
||||
position = Vector2(611, 458)
|
||||
dies_on_screen_leave = true
|
||||
|
||||
[node name="planet_v2_2" parent="." instance=ExtResource("3_1xjbt")]
|
||||
position = Vector2(1453, 461)
|
||||
moon = true
|
||||
|
||||
[node name="planet_v2_3" parent="." instance=ExtResource("3_1xjbt")]
|
||||
position = Vector2(1052, 926)
|
||||
win_planet = true
|
||||
moon = true
|
||||
|
||||
[node name="planet_v2" parent="." instance=ExtResource("3_1xjbt")]
|
||||
position = Vector2(374, 301)
|
||||
size_scale = 5.0
|
||||
moon = true
|
||||
|
||||
[node name="comet3" parent="." instance=ExtResource("4_vy3yb")]
|
||||
position = Vector2(993, 291)
|
||||
|
||||
[node name="comet11" parent="." instance=ExtResource("4_vy3yb")]
|
||||
position = Vector2(1006, 699)
|
||||
|
||||
[node name="comet4" parent="." instance=ExtResource("4_vy3yb")]
|
||||
position = Vector2(856, 889)
|
||||
|
||||
[node name="comet5" parent="." instance=ExtResource("4_vy3yb")]
|
||||
position = Vector2(931, 802)
|
||||
|
||||
[node name="comet6" parent="." instance=ExtResource("4_vy3yb")]
|
||||
position = Vector2(743, 976)
|
||||
|
||||
[node name="comet10" parent="." instance=ExtResource("4_vy3yb")]
|
||||
position = Vector2(1019, 440)
|
||||
|
||||
[node name="comet7" parent="." instance=ExtResource("4_vy3yb")]
|
||||
position = Vector2(1016, 577)
|
||||
|
||||
[node name="scene_utils" parent="." instance=ExtResource("5_ui7qv")]
|
||||
|
||||
[node name="collectible" parent="." instance=ExtResource("6_pjihm")]
|
||||
position = Vector2(190, 296)
|
||||
|
||||
[node name="collectible2" parent="." instance=ExtResource("6_pjihm")]
|
||||
position = Vector2(1766, 460)
|
||||
id = 2
|
||||
|
||||
[node name="collectible3" parent="." instance=ExtResource("6_pjihm")]
|
||||
position = Vector2(1122, 332)
|
||||
|
||||
[node name="collectible4" parent="." instance=ExtResource("6_pjihm")]
|
||||
position = Vector2(1122, 332)
|
||||
id = 1
|
||||
|
||||
[node name="Label" type="Label" parent="."]
|
||||
offset_left = 62.0
|
||||
offset_top = 52.0
|
||||
offset_right = 838.0
|
||||
offset_bottom = 117.0
|
||||
text = "Click on Planets
|
||||
|
||||
Space for charge towards center"
|
||||
label_settings = SubResource("LabelSettings_qi1fe")
|
||||
84
rund-um-die-welten/Levels/Level 10.tscn
Normal file
|
|
@ -0,0 +1,84 @@
|
|||
[gd_scene load_steps=8 format=3 uid="uid://d81fowturqc2"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://tlx7l1b53wm7" path="res://Levels/main.gd" id="1_u11um"]
|
||||
[ext_resource type="PackedScene" uid="uid://d0h7r8gitcntt" path="res://player/player.tscn" id="2_amp3d"]
|
||||
[ext_resource type="PackedScene" uid="uid://bmlfyt1ykh3aq" path="res://planet/planet_v_2.tscn" id="3_gcrbc"]
|
||||
[ext_resource type="PackedScene" uid="uid://4s3rjs7m32hk" path="res://asteroid_belt/asteroid_belt.tscn" id="4_pafc6"]
|
||||
[ext_resource type="PackedScene" uid="uid://nccnr30bmrud" path="res://collectibles/collectible.tscn" id="5_bht0k"]
|
||||
[ext_resource type="PackedScene" uid="uid://ufu0fyp248bh" path="res://comet/comet.tscn" id="6_o6gpf"]
|
||||
[ext_resource type="PackedScene" uid="uid://b72obu30gqg1g" path="res://UI Elements/scene_utils.tscn" id="7_amp3d"]
|
||||
|
||||
[node name="main" type="Node2D"]
|
||||
script = ExtResource("1_u11um")
|
||||
level_name = "Level 10"
|
||||
|
||||
[node name="scene_utils" parent="." instance=ExtResource("7_amp3d")]
|
||||
|
||||
[node name="player" parent="." groups=["player"] instance=ExtResource("2_amp3d")]
|
||||
position = Vector2(608, 800)
|
||||
spawn_rotation = 270
|
||||
dies_on_screen_leave = true
|
||||
|
||||
[node name="planet_v2_4" parent="." instance=ExtResource("3_gcrbc")]
|
||||
position = Vector2(512, 256)
|
||||
planet_type = 2
|
||||
clockwise = false
|
||||
|
||||
[node name="planet_v2" parent="." instance=ExtResource("3_gcrbc")]
|
||||
position = Vector2(768, 832)
|
||||
size_scale = 5.0
|
||||
|
||||
[node name="planet_v3" parent="." instance=ExtResource("3_gcrbc")]
|
||||
position = Vector2(1472, 736)
|
||||
size_scale = 5.0
|
||||
|
||||
[node name="planet_v4" parent="." instance=ExtResource("3_gcrbc")]
|
||||
position = Vector2(1376, 320)
|
||||
size_scale = 5.0
|
||||
planet_type = 1
|
||||
win_planet = true
|
||||
clockwise = false
|
||||
|
||||
[node name="asteroid_belt" parent="." instance=ExtResource("4_pafc6")]
|
||||
position = Vector2(1024, -1216)
|
||||
|
||||
[node name="collectible" parent="." instance=ExtResource("5_bht0k")]
|
||||
position = Vector2(1152, 275)
|
||||
|
||||
[node name="collectible2" parent="." instance=ExtResource("5_bht0k")]
|
||||
position = Vector2(1632, 832)
|
||||
id = 2
|
||||
|
||||
[node name="collectible3" parent="." instance=ExtResource("5_bht0k")]
|
||||
position = Vector2(256, 211)
|
||||
id = 1
|
||||
|
||||
[node name="comet3" parent="." instance=ExtResource("6_o6gpf")]
|
||||
position = Vector2(768, 531)
|
||||
|
||||
[node name="comet4" parent="." instance=ExtResource("6_o6gpf")]
|
||||
position = Vector2(928, 275)
|
||||
|
||||
[node name="comet5" parent="." instance=ExtResource("6_o6gpf")]
|
||||
position = Vector2(927, 128)
|
||||
|
||||
[node name="comet6" parent="." instance=ExtResource("6_o6gpf")]
|
||||
position = Vector2(863, 403)
|
||||
|
||||
[node name="comet7" parent="." instance=ExtResource("6_o6gpf")]
|
||||
position = Vector2(960, 512)
|
||||
|
||||
[node name="comet12" parent="." instance=ExtResource("6_o6gpf")]
|
||||
position = Vector2(1088, 576)
|
||||
|
||||
[node name="comet8" parent="." instance=ExtResource("6_o6gpf")]
|
||||
position = Vector2(128, 384)
|
||||
|
||||
[node name="comet9" parent="." instance=ExtResource("6_o6gpf")]
|
||||
position = Vector2(224, 480)
|
||||
|
||||
[node name="comet10" parent="." instance=ExtResource("6_o6gpf")]
|
||||
position = Vector2(352, 563)
|
||||
|
||||
[node name="comet11" parent="." instance=ExtResource("6_o6gpf")]
|
||||
position = Vector2(512, 608)
|
||||
69
rund-um-die-welten/Levels/Level 11.tscn
Normal file
|
|
@ -0,0 +1,69 @@
|
|||
[gd_scene load_steps=9 format=3 uid="uid://bnld7y1nv2a6w"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://tlx7l1b53wm7" path="res://Levels/main.gd" id="1_6v3dq"]
|
||||
[ext_resource type="PackedScene" uid="uid://b72obu30gqg1g" path="res://UI Elements/scene_utils.tscn" id="2_shews"]
|
||||
[ext_resource type="PackedScene" uid="uid://d0h7r8gitcntt" path="res://player/player.tscn" id="3_olvgy"]
|
||||
[ext_resource type="PackedScene" uid="uid://bmlfyt1ykh3aq" path="res://planet/planet_v_2.tscn" id="4_o27a1"]
|
||||
[ext_resource type="PackedScene" uid="uid://4s3rjs7m32hk" path="res://asteroid_belt/asteroid_belt.tscn" id="5_745wd"]
|
||||
[ext_resource type="PackedScene" uid="uid://nccnr30bmrud" path="res://collectibles/collectible.tscn" id="6_lead3"]
|
||||
[ext_resource type="PackedScene" uid="uid://ufu0fyp248bh" path="res://comet/comet.tscn" id="8_olvgy"]
|
||||
[ext_resource type="PackedScene" path="res://planet/Deathlaser.tscn" id="8_shews"]
|
||||
|
||||
[node name="main" type="Node2D"]
|
||||
script = ExtResource("1_6v3dq")
|
||||
level_name = "Level 10"
|
||||
|
||||
[node name="scene_utils" parent="." instance=ExtResource("2_shews")]
|
||||
metadata/_edit_lock_ = true
|
||||
|
||||
[node name="player" parent="." groups=["player"] instance=ExtResource("3_olvgy")]
|
||||
position = Vector2(608, 800)
|
||||
spawn_rotation = 270
|
||||
dies_on_screen_leave = true
|
||||
|
||||
[node name="planet_v2" parent="." instance=ExtResource("4_o27a1")]
|
||||
position = Vector2(512, 384)
|
||||
size_scale = 5.0
|
||||
|
||||
[node name="planet_v4" parent="." instance=ExtResource("4_o27a1")]
|
||||
position = Vector2(960, 928)
|
||||
size_scale = 5.0
|
||||
planet_type = 2
|
||||
|
||||
[node name="planet_v3" parent="." instance=ExtResource("4_o27a1")]
|
||||
position = Vector2(1536, 512)
|
||||
size_scale = 5.0
|
||||
win_planet = true
|
||||
|
||||
[node name="planet_v5" parent="." instance=ExtResource("4_o27a1")]
|
||||
position = Vector2(1568, 864)
|
||||
size_scale = 5.0
|
||||
clockwise = false
|
||||
|
||||
[node name="asteroid_belt" parent="." instance=ExtResource("5_745wd")]
|
||||
position = Vector2(1024, -1216)
|
||||
|
||||
[node name="collectible" parent="." instance=ExtResource("6_lead3")]
|
||||
position = Vector2(896, 576)
|
||||
|
||||
[node name="collectible2" parent="." instance=ExtResource("6_lead3")]
|
||||
position = Vector2(1216, 704)
|
||||
id = 2
|
||||
|
||||
[node name="collectible3" parent="." instance=ExtResource("6_lead3")]
|
||||
position = Vector2(256, 512)
|
||||
id = 1
|
||||
|
||||
[node name="Deathlaser" parent="." instance=ExtResource("8_shews")]
|
||||
position = Vector2(960, 448)
|
||||
rotation_speed_in_deg_per_second = 70
|
||||
laser_color = "green"
|
||||
|
||||
[node name="comet" parent="." instance=ExtResource("8_olvgy")]
|
||||
position = Vector2(960, 96)
|
||||
|
||||
[node name="comet3" parent="." instance=ExtResource("8_olvgy")]
|
||||
position = Vector2(1088, 32)
|
||||
|
||||
[node name="comet2" parent="." instance=ExtResource("8_olvgy")]
|
||||
position = Vector2(834, 32)
|
||||
68
rund-um-die-welten/Levels/Level 12.tscn
Normal file
|
|
@ -0,0 +1,68 @@
|
|||
[gd_scene load_steps=8 format=3 uid="uid://iw8yexi5dokg"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://tlx7l1b53wm7" path="res://Levels/main.gd" id="1_yny7g"]
|
||||
[ext_resource type="PackedScene" uid="uid://b72obu30gqg1g" path="res://UI Elements/scene_utils.tscn" id="2_k7c83"]
|
||||
[ext_resource type="PackedScene" uid="uid://d0h7r8gitcntt" path="res://player/player.tscn" id="3_cyp82"]
|
||||
[ext_resource type="PackedScene" uid="uid://bmlfyt1ykh3aq" path="res://planet/planet_v_2.tscn" id="4_flkki"]
|
||||
[ext_resource type="PackedScene" uid="uid://4s3rjs7m32hk" path="res://asteroid_belt/asteroid_belt.tscn" id="5_axee5"]
|
||||
[ext_resource type="PackedScene" uid="uid://nccnr30bmrud" path="res://collectibles/collectible.tscn" id="6_h388b"]
|
||||
[ext_resource type="PackedScene" uid="uid://dxufmneynppid" path="res://planet/Deathlaser.tscn" id="7_5eyag"]
|
||||
|
||||
[node name="main" type="Node2D"]
|
||||
script = ExtResource("1_yny7g")
|
||||
level_name = "Level 12"
|
||||
|
||||
[node name="scene_utils" parent="." instance=ExtResource("2_k7c83")]
|
||||
metadata/_edit_lock_ = true
|
||||
|
||||
[node name="player" parent="." groups=["player"] instance=ExtResource("3_cyp82")]
|
||||
position = Vector2(264, 512)
|
||||
spawn_rotation = 270
|
||||
dies_on_screen_leave = true
|
||||
|
||||
[node name="planet_v2_4" parent="." instance=ExtResource("4_flkki")]
|
||||
position = Vector2(254, 352)
|
||||
planet_type = 4
|
||||
clockwise = false
|
||||
|
||||
[node name="planet_v2_5" parent="." instance=ExtResource("4_flkki")]
|
||||
position = Vector2(1568, 831)
|
||||
planet_type = 4
|
||||
|
||||
[node name="planet_v3" parent="." instance=ExtResource("4_flkki")]
|
||||
position = Vector2(1024, 768)
|
||||
size_scale = 5.0
|
||||
|
||||
[node name="planet_v5" parent="." instance=ExtResource("4_flkki")]
|
||||
position = Vector2(1728, 255)
|
||||
size_scale = 5.0
|
||||
win_planet = true
|
||||
|
||||
[node name="planet_v4" parent="." instance=ExtResource("4_flkki")]
|
||||
position = Vector2(768, 255)
|
||||
size_scale = 5.0
|
||||
planet_type = 5
|
||||
clockwise = false
|
||||
|
||||
[node name="asteroid_belt" parent="." instance=ExtResource("5_axee5")]
|
||||
position = Vector2(1024, -1216)
|
||||
|
||||
[node name="collectible" parent="." instance=ExtResource("6_h388b")]
|
||||
position = Vector2(672, 576)
|
||||
|
||||
[node name="collectible2" parent="." instance=ExtResource("6_h388b")]
|
||||
position = Vector2(1344, 96)
|
||||
id = 2
|
||||
|
||||
[node name="collectible3" parent="." instance=ExtResource("6_h388b")]
|
||||
position = Vector2(672, 937)
|
||||
id = 1
|
||||
|
||||
[node name="Deathlaser" parent="." instance=ExtResource("7_5eyag")]
|
||||
position = Vector2(1344, 255)
|
||||
rotation = -0.00224159
|
||||
rotation_speed_in_deg_per_second = 50
|
||||
|
||||
[node name="Deathlaser2" parent="." instance=ExtResource("7_5eyag")]
|
||||
position = Vector2(672, 767)
|
||||
rotation_speed_in_deg_per_second = 50
|
||||
76
rund-um-die-welten/Levels/Level 13.tscn
Normal file
|
|
@ -0,0 +1,76 @@
|
|||
[gd_scene load_steps=8 format=3 uid="uid://bqbm2ss3dybb5"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://tlx7l1b53wm7" path="res://Levels/main.gd" id="1_2jw78"]
|
||||
[ext_resource type="PackedScene" uid="uid://b72obu30gqg1g" path="res://UI Elements/scene_utils.tscn" id="2_jittv"]
|
||||
[ext_resource type="PackedScene" uid="uid://d0h7r8gitcntt" path="res://player/player.tscn" id="3_i40bs"]
|
||||
[ext_resource type="PackedScene" uid="uid://bmlfyt1ykh3aq" path="res://planet/planet_v_2.tscn" id="4_imxgt"]
|
||||
[ext_resource type="PackedScene" uid="uid://nccnr30bmrud" path="res://collectibles/collectible.tscn" id="6_nfulu"]
|
||||
[ext_resource type="PackedScene" uid="uid://dxufmneynppid" path="res://planet/Deathlaser.tscn" id="7_q6vt6"]
|
||||
[ext_resource type="PackedScene" uid="uid://cx3txojpcod4x" path="res://planet/button_planet.tscn" id="8_jittv"]
|
||||
|
||||
[node name="main" type="Node2D"]
|
||||
script = ExtResource("1_2jw78")
|
||||
level_name = "Level 13"
|
||||
|
||||
[node name="scene_utils" parent="." instance=ExtResource("2_jittv")]
|
||||
metadata/_edit_lock_ = true
|
||||
|
||||
[node name="player" parent="." groups=["player"] instance=ExtResource("3_i40bs")]
|
||||
position = Vector2(256, 928)
|
||||
spawn_rotation = 270
|
||||
dies_on_screen_leave = true
|
||||
|
||||
[node name="planet_v2_5" parent="." instance=ExtResource("4_imxgt")]
|
||||
position = Vector2(736, 224)
|
||||
planet_type = 4
|
||||
clockwise = false
|
||||
|
||||
[node name="planet_v3" parent="." instance=ExtResource("4_imxgt")]
|
||||
position = Vector2(1056, 544)
|
||||
size_scale = 5.0
|
||||
planet_type = 3
|
||||
|
||||
[node name="planet_v5" parent="." instance=ExtResource("4_imxgt")]
|
||||
position = Vector2(128, 128)
|
||||
size_scale = 5.0
|
||||
win_planet = true
|
||||
|
||||
[node name="planet_v4" parent="." instance=ExtResource("4_imxgt")]
|
||||
position = Vector2(352, 832)
|
||||
size_scale = 5.0
|
||||
planet_type = 5
|
||||
clockwise = false
|
||||
|
||||
[node name="collectible" parent="." instance=ExtResource("6_nfulu")]
|
||||
position = Vector2(1056, 224)
|
||||
|
||||
[node name="collectible2" parent="." instance=ExtResource("6_nfulu")]
|
||||
position = Vector2(416, 416)
|
||||
id = 2
|
||||
|
||||
[node name="collectible3" parent="." instance=ExtResource("6_nfulu")]
|
||||
position = Vector2(1056, 864)
|
||||
id = 1
|
||||
|
||||
[node name="Deathlaser" parent="." instance=ExtResource("7_q6vt6")]
|
||||
position = Vector2(288, 320)
|
||||
rotation = -0.00224159
|
||||
rotation_speed_in_deg_per_second = 250
|
||||
laser_color = "orange"
|
||||
|
||||
[node name="Deathlaser2" parent="." instance=ExtResource("7_q6vt6")]
|
||||
position = Vector2(1056, 64)
|
||||
rotation = -0.00224159
|
||||
rotation_speed_in_deg_per_second = 40
|
||||
clockwise = false
|
||||
|
||||
[node name="Deathlaser3" parent="." instance=ExtResource("7_q6vt6")]
|
||||
position = Vector2(1056, 992)
|
||||
rotation = 1.57079
|
||||
rotation_speed_in_deg_per_second = 40
|
||||
clockwise = false
|
||||
|
||||
[node name="button_planet" parent="." instance=ExtResource("8_jittv")]
|
||||
position = Vector2(1664, 512)
|
||||
max_activation_dist = 32
|
||||
button_color = "orange"
|
||||
86
rund-um-die-welten/Levels/Level 14.tscn
Normal file
|
|
@ -0,0 +1,86 @@
|
|||
[gd_scene load_steps=8 format=3 uid="uid://dh5rbf21o3qm2"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://tlx7l1b53wm7" path="res://Levels/main.gd" id="1_pynbg"]
|
||||
[ext_resource type="PackedScene" uid="uid://b72obu30gqg1g" path="res://UI Elements/scene_utils.tscn" id="2_m3nsf"]
|
||||
[ext_resource type="PackedScene" uid="uid://d0h7r8gitcntt" path="res://player/player.tscn" id="3_767u2"]
|
||||
[ext_resource type="PackedScene" uid="uid://bmlfyt1ykh3aq" path="res://planet/planet_v_2.tscn" id="4_tgpgy"]
|
||||
[ext_resource type="PackedScene" uid="uid://4s3rjs7m32hk" path="res://asteroid_belt/asteroid_belt.tscn" id="5_2g4tn"]
|
||||
[ext_resource type="PackedScene" uid="uid://nccnr30bmrud" path="res://collectibles/collectible.tscn" id="6_c2dne"]
|
||||
[ext_resource type="PackedScene" uid="uid://ufu0fyp248bh" path="res://comet/comet.tscn" id="7_4ms1j"]
|
||||
|
||||
[node name="main" type="Node2D"]
|
||||
script = ExtResource("1_pynbg")
|
||||
level_name = "Level 13"
|
||||
|
||||
[node name="scene_utils" parent="." instance=ExtResource("2_m3nsf")]
|
||||
metadata/_edit_lock_ = true
|
||||
|
||||
[node name="player" parent="." groups=["player"] instance=ExtResource("3_767u2")]
|
||||
position = Vector2(256, 928)
|
||||
spawn_rotation = 270
|
||||
dies_on_screen_leave = true
|
||||
|
||||
[node name="planet_v3" parent="." instance=ExtResource("4_tgpgy")]
|
||||
position = Vector2(352, 384)
|
||||
size_scale = 5.0
|
||||
planet_type = 7
|
||||
moon = true
|
||||
moon_radius = 250
|
||||
moon_speed = 85
|
||||
|
||||
[node name="planet_v6" parent="." instance=ExtResource("4_tgpgy")]
|
||||
position = Vector2(832, 544)
|
||||
size_scale = 5.0
|
||||
moon = true
|
||||
moon_radius = 200
|
||||
moon_speed = 100
|
||||
|
||||
[node name="planet_v7" parent="." instance=ExtResource("4_tgpgy")]
|
||||
position = Vector2(1216, 544)
|
||||
size_scale = 5.0
|
||||
planet_type = 6
|
||||
moon = true
|
||||
moon_radius = 200
|
||||
moon_speed = 80
|
||||
|
||||
[node name="planet_v8" parent="." instance=ExtResource("4_tgpgy")]
|
||||
position = Vector2(1664, 608)
|
||||
size_scale = 5.0
|
||||
planet_type = 7
|
||||
win_planet = true
|
||||
moon = true
|
||||
moon_radius = 200
|
||||
moon_speed = 80
|
||||
|
||||
[node name="planet_v4" parent="." instance=ExtResource("4_tgpgy")]
|
||||
position = Vector2(384, 544)
|
||||
size_scale = 5.0
|
||||
planet_type = 5
|
||||
clockwise = false
|
||||
moon_radius = 1000
|
||||
|
||||
[node name="asteroid_belt" parent="." instance=ExtResource("5_2g4tn")]
|
||||
position = Vector2(1024, -1216)
|
||||
|
||||
[node name="collectible" parent="." instance=ExtResource("6_c2dne")]
|
||||
position = Vector2(330, 256)
|
||||
|
||||
[node name="collectible2" parent="." instance=ExtResource("6_c2dne")]
|
||||
position = Vector2(1504, 864)
|
||||
id = 2
|
||||
|
||||
[node name="collectible3" parent="." instance=ExtResource("6_c2dne")]
|
||||
position = Vector2(1216, 128)
|
||||
id = 1
|
||||
|
||||
[node name="comet3" parent="." instance=ExtResource("7_4ms1j")]
|
||||
position = Vector2(832, 805)
|
||||
|
||||
[node name="comet8" parent="." instance=ExtResource("7_4ms1j")]
|
||||
position = Vector2(832, 256)
|
||||
|
||||
[node name="comet11" parent="." instance=ExtResource("7_4ms1j")]
|
||||
position = Vector2(832, 960)
|
||||
|
||||
[node name="comet10" parent="." instance=ExtResource("7_4ms1j")]
|
||||
position = Vector2(832, 96)
|
||||
128
rund-um-die-welten/Levels/Level 15.tscn
Normal file
|
|
@ -0,0 +1,128 @@
|
|||
[gd_scene load_steps=8 format=3 uid="uid://ct7lm067om71s"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://tlx7l1b53wm7" path="res://Levels/main.gd" id="1_51fkc"]
|
||||
[ext_resource type="PackedScene" uid="uid://b72obu30gqg1g" path="res://UI Elements/scene_utils.tscn" id="2_kclku"]
|
||||
[ext_resource type="PackedScene" uid="uid://d0h7r8gitcntt" path="res://player/player.tscn" id="3_u3e61"]
|
||||
[ext_resource type="PackedScene" uid="uid://bmlfyt1ykh3aq" path="res://planet/planet_v_2.tscn" id="4_alaeb"]
|
||||
[ext_resource type="PackedScene" uid="uid://4s3rjs7m32hk" path="res://asteroid_belt/asteroid_belt.tscn" id="5_fp155"]
|
||||
[ext_resource type="PackedScene" uid="uid://nccnr30bmrud" path="res://collectibles/collectible.tscn" id="6_4sbyj"]
|
||||
[ext_resource type="PackedScene" uid="uid://ufu0fyp248bh" path="res://comet/comet.tscn" id="7_rfeeu"]
|
||||
|
||||
[node name="main" type="Node2D"]
|
||||
script = ExtResource("1_51fkc")
|
||||
level_name = "Level 13"
|
||||
|
||||
[node name="scene_utils" parent="." instance=ExtResource("2_kclku")]
|
||||
metadata/_edit_lock_ = true
|
||||
|
||||
[node name="player" parent="." groups=["player"] instance=ExtResource("3_u3e61")]
|
||||
position = Vector2(256, 928)
|
||||
spawn_rotation = 270
|
||||
dies_on_screen_leave = true
|
||||
|
||||
[node name="planet_v2_5" parent="." instance=ExtResource("4_alaeb")]
|
||||
position = Vector2(768, 256)
|
||||
planet_type = 4
|
||||
clockwise = false
|
||||
moon = true
|
||||
moon_radius = 200
|
||||
moon_speed = 90
|
||||
|
||||
[node name="planet_v3" parent="." instance=ExtResource("4_alaeb")]
|
||||
position = Vector2(352, 384)
|
||||
size_scale = 5.0
|
||||
planet_type = 7
|
||||
moon = true
|
||||
moon_radius = 200
|
||||
moon_speed = 85
|
||||
|
||||
[node name="planet_v6" parent="." instance=ExtResource("4_alaeb")]
|
||||
position = Vector2(1024, 608)
|
||||
size_scale = 5.0
|
||||
moon = true
|
||||
moon_radius = 200
|
||||
moon_speed = 100
|
||||
|
||||
[node name="planet_v7" parent="." instance=ExtResource("4_alaeb")]
|
||||
position = Vector2(1440, 888)
|
||||
size_scale = 5.0
|
||||
planet_type = 6
|
||||
moon = true
|
||||
moon_radius = 200
|
||||
moon_speed = 80
|
||||
|
||||
[node name="planet_v8" parent="." instance=ExtResource("4_alaeb")]
|
||||
position = Vector2(1664, 608)
|
||||
size_scale = 5.0
|
||||
planet_type = 7
|
||||
moon = true
|
||||
moon_radius = 200
|
||||
moon_speed = 80
|
||||
|
||||
[node name="planet_v5" parent="." instance=ExtResource("4_alaeb")]
|
||||
position = Vector2(1664, 256)
|
||||
size_scale = 5.0
|
||||
win_planet = true
|
||||
|
||||
[node name="planet_v4" parent="." instance=ExtResource("4_alaeb")]
|
||||
position = Vector2(352, 832)
|
||||
size_scale = 5.0
|
||||
planet_type = 5
|
||||
clockwise = false
|
||||
moon_radius = 1000
|
||||
|
||||
[node name="asteroid_belt" parent="." instance=ExtResource("5_fp155")]
|
||||
position = Vector2(1024, -1216)
|
||||
|
||||
[node name="collectible" parent="." instance=ExtResource("6_4sbyj")]
|
||||
position = Vector2(896, 448)
|
||||
|
||||
[node name="collectible2" parent="." instance=ExtResource("6_4sbyj")]
|
||||
position = Vector2(1568, 160)
|
||||
id = 2
|
||||
|
||||
[node name="collectible3" parent="." instance=ExtResource("6_4sbyj")]
|
||||
position = Vector2(1568, 736)
|
||||
id = 1
|
||||
|
||||
[node name="comet" parent="." instance=ExtResource("7_rfeeu")]
|
||||
position = Vector2(608, 824)
|
||||
|
||||
[node name="comet5" parent="." instance=ExtResource("7_rfeeu")]
|
||||
position = Vector2(800, 864)
|
||||
|
||||
[node name="comet2" parent="." instance=ExtResource("7_rfeeu")]
|
||||
position = Vector2(704, 672)
|
||||
|
||||
[node name="comet4" parent="." instance=ExtResource("7_rfeeu")]
|
||||
position = Vector2(736, 1016)
|
||||
|
||||
[node name="comet3" parent="." instance=ExtResource("7_rfeeu")]
|
||||
position = Vector2(608, 480)
|
||||
|
||||
[node name="comet6" parent="." instance=ExtResource("7_rfeeu")]
|
||||
position = Vector2(576, 640)
|
||||
|
||||
[node name="comet7" parent="." instance=ExtResource("7_rfeeu")]
|
||||
position = Vector2(1152, 96)
|
||||
|
||||
[node name="comet8" parent="." instance=ExtResource("7_rfeeu")]
|
||||
position = Vector2(1248, 192)
|
||||
|
||||
[node name="comet9" parent="." instance=ExtResource("7_rfeeu")]
|
||||
position = Vector2(1312, 352)
|
||||
|
||||
[node name="comet11" parent="." instance=ExtResource("7_rfeeu")]
|
||||
position = Vector2(1312, 480)
|
||||
|
||||
[node name="comet12" parent="." instance=ExtResource("7_rfeeu")]
|
||||
position = Vector2(1376, 608)
|
||||
|
||||
[node name="comet13" parent="." instance=ExtResource("7_rfeeu")]
|
||||
position = Vector2(96, 96)
|
||||
|
||||
[node name="comet14" parent="." instance=ExtResource("7_rfeeu")]
|
||||
position = Vector2(224, 128)
|
||||
|
||||
[node name="comet10" parent="." instance=ExtResource("7_rfeeu")]
|
||||
position = Vector2(1152, 320)
|
||||
107
rund-um-die-welten/Levels/Level 16.tscn
Normal file
|
|
@ -0,0 +1,107 @@
|
|||
[gd_scene load_steps=10 format=3 uid="uid://c4plydjt0lovw"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://tlx7l1b53wm7" path="res://Levels/main.gd" id="1_6y5kb"]
|
||||
[ext_resource type="PackedScene" uid="uid://b72obu30gqg1g" path="res://UI Elements/scene_utils.tscn" id="2_grj0t"]
|
||||
[ext_resource type="PackedScene" uid="uid://d0h7r8gitcntt" path="res://player/player.tscn" id="3_7o3ul"]
|
||||
[ext_resource type="PackedScene" uid="uid://bmlfyt1ykh3aq" path="res://planet/planet_v_2.tscn" id="4_rup6d"]
|
||||
[ext_resource type="PackedScene" uid="uid://4s3rjs7m32hk" path="res://asteroid_belt/asteroid_belt.tscn" id="5_pi486"]
|
||||
[ext_resource type="PackedScene" uid="uid://nccnr30bmrud" path="res://collectibles/collectible.tscn" id="6_lihu5"]
|
||||
[ext_resource type="PackedScene" uid="uid://ufu0fyp248bh" path="res://comet/comet.tscn" id="7_ss3md"]
|
||||
[ext_resource type="PackedScene" uid="uid://dxufmneynppid" path="res://planet/Deathlaser.tscn" id="8_grj0t"]
|
||||
[ext_resource type="PackedScene" uid="uid://cx3txojpcod4x" path="res://planet/button_planet.tscn" id="9_7o3ul"]
|
||||
|
||||
[node name="main" type="Node2D"]
|
||||
script = ExtResource("1_6y5kb")
|
||||
level_name = "Level 13"
|
||||
|
||||
[node name="scene_utils" parent="." instance=ExtResource("2_grj0t")]
|
||||
metadata/_edit_lock_ = true
|
||||
|
||||
[node name="player" parent="." groups=["player"] instance=ExtResource("3_7o3ul")]
|
||||
position = Vector2(296, 383)
|
||||
spawn_rotation = 45
|
||||
dies_on_screen_leave = true
|
||||
|
||||
[node name="planet_v3" parent="." instance=ExtResource("4_rup6d")]
|
||||
position = Vector2(384, 512)
|
||||
size_scale = 5.0
|
||||
planet_type = 7
|
||||
moon_radius = 250
|
||||
moon_speed = 85
|
||||
|
||||
[node name="planet_v6" parent="." instance=ExtResource("4_rup6d")]
|
||||
position = Vector2(928, 448)
|
||||
size_scale = 5.0
|
||||
planet_type = 2
|
||||
moon_radius = 200
|
||||
moon_speed = 100
|
||||
|
||||
[node name="planet_v7" parent="." instance=ExtResource("4_rup6d")]
|
||||
position = Vector2(1280, 576)
|
||||
size_scale = 5.0
|
||||
planet_type = 6
|
||||
moon = true
|
||||
moon_radius = 120
|
||||
moon_speed = 100
|
||||
|
||||
[node name="planet_v8" parent="." instance=ExtResource("4_rup6d")]
|
||||
position = Vector2(170, 160)
|
||||
size_scale = 5.0
|
||||
planet_type = 6
|
||||
moon = true
|
||||
moon_radius = 120
|
||||
moon_speed = 100
|
||||
|
||||
[node name="planet_v9" parent="." instance=ExtResource("4_rup6d")]
|
||||
position = Vector2(232, 864)
|
||||
size_scale = 5.0
|
||||
planet_type = 6
|
||||
win_planet = true
|
||||
clockwise = false
|
||||
moon = true
|
||||
moon_radius = 120
|
||||
moon_speed = 100
|
||||
|
||||
[node name="planet_v4" parent="." instance=ExtResource("4_rup6d")]
|
||||
position = Vector2(608, 480)
|
||||
size_scale = 5.0
|
||||
planet_type = 5
|
||||
moon_radius = 1000
|
||||
|
||||
[node name="asteroid_belt" parent="." instance=ExtResource("5_pi486")]
|
||||
position = Vector2(1024, -1216)
|
||||
|
||||
[node name="collectible" parent="." instance=ExtResource("6_lihu5")]
|
||||
position = Vector2(65, 64)
|
||||
|
||||
[node name="collectible2" parent="." instance=ExtResource("6_lihu5")]
|
||||
position = Vector2(1504, 864)
|
||||
id = 2
|
||||
|
||||
[node name="collectible3" parent="." instance=ExtResource("6_lihu5")]
|
||||
position = Vector2(1152, 480)
|
||||
id = 1
|
||||
|
||||
[node name="comet8" parent="." instance=ExtResource("7_ss3md")]
|
||||
position = Vector2(232, 608)
|
||||
|
||||
[node name="comet9" parent="." instance=ExtResource("7_ss3md")]
|
||||
position = Vector2(96, 608)
|
||||
|
||||
[node name="comet10" parent="." instance=ExtResource("7_ss3md")]
|
||||
position = Vector2(1152, 288)
|
||||
|
||||
[node name="comet12" parent="." instance=ExtResource("7_ss3md")]
|
||||
position = Vector2(544, 192)
|
||||
|
||||
[node name="comet11" parent="." instance=ExtResource("7_ss3md")]
|
||||
position = Vector2(1312, 256)
|
||||
|
||||
[node name="Deathlaser" parent="." instance=ExtResource("8_grj0t")]
|
||||
position = Vector2(864, 928)
|
||||
laser_color = "green"
|
||||
|
||||
[node name="button_planet" parent="." instance=ExtResource("9_7o3ul")]
|
||||
position = Vector2(1696, 512)
|
||||
max_activation_dist = 32
|
||||
button_color = "green"
|
||||
69
rund-um-die-welten/Levels/Level 17.tscn
Normal file
|
|
@ -0,0 +1,69 @@
|
|||
[gd_scene load_steps=9 format=3 uid="uid://c6tgsacf3gi1y"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://tlx7l1b53wm7" path="res://Levels/main.gd" id="1_pqpkw"]
|
||||
[ext_resource type="PackedScene" uid="uid://b72obu30gqg1g" path="res://UI Elements/scene_utils.tscn" id="2_osvu6"]
|
||||
[ext_resource type="PackedScene" uid="uid://d0h7r8gitcntt" path="res://player/player.tscn" id="3_cxbt6"]
|
||||
[ext_resource type="PackedScene" uid="uid://bmlfyt1ykh3aq" path="res://planet/planet_v_2.tscn" id="4_03vdk"]
|
||||
[ext_resource type="PackedScene" uid="uid://4s3rjs7m32hk" path="res://asteroid_belt/asteroid_belt.tscn" id="5_15sfc"]
|
||||
[ext_resource type="PackedScene" uid="uid://nccnr30bmrud" path="res://collectibles/collectible.tscn" id="6_ho1hf"]
|
||||
[ext_resource type="PackedScene" uid="uid://dxufmneynppid" path="res://planet/Deathlaser.tscn" id="7_osvu6"]
|
||||
[ext_resource type="PackedScene" uid="uid://cx3txojpcod4x" path="res://planet/button_planet.tscn" id="8_cxbt6"]
|
||||
|
||||
[node name="main" type="Node2D"]
|
||||
script = ExtResource("1_pqpkw")
|
||||
level_name = "Level 13"
|
||||
|
||||
[node name="scene_utils" parent="." instance=ExtResource("2_osvu6")]
|
||||
metadata/_edit_lock_ = true
|
||||
|
||||
[node name="player" parent="." groups=["player"] instance=ExtResource("3_cxbt6")]
|
||||
position = Vector2(1496, 933)
|
||||
spawn_rotation = 270
|
||||
dies_on_screen_leave = true
|
||||
|
||||
[node name="asteroid_belt" parent="." instance=ExtResource("5_15sfc")]
|
||||
position = Vector2(992, 529)
|
||||
speed = 1000
|
||||
number_of_holes = 2
|
||||
hole_size_in_deg = 60
|
||||
circle_radius = 470
|
||||
|
||||
[node name="collectible" parent="." instance=ExtResource("6_ho1hf")]
|
||||
position = Vector2(992, 288)
|
||||
|
||||
[node name="collectible2" parent="." instance=ExtResource("6_ho1hf")]
|
||||
position = Vector2(256, 661)
|
||||
id = 2
|
||||
|
||||
[node name="collectible3" parent="." instance=ExtResource("6_ho1hf")]
|
||||
position = Vector2(992, 973)
|
||||
id = 1
|
||||
|
||||
[node name="planet_v2" parent="." instance=ExtResource("4_03vdk")]
|
||||
position = Vector2(992, 533)
|
||||
planet_type = 2
|
||||
|
||||
[node name="planet_v5" parent="." instance=ExtResource("4_03vdk")]
|
||||
position = Vector2(1560, 704)
|
||||
planet_type = 4
|
||||
collision_enabled = false
|
||||
|
||||
[node name="planet_v6" parent="." instance=ExtResource("4_03vdk")]
|
||||
position = Vector2(512, 960)
|
||||
planet_type = 4
|
||||
clockwise = false
|
||||
collision_enabled = false
|
||||
|
||||
[node name="planet_v4" parent="." instance=ExtResource("4_03vdk")]
|
||||
position = Vector2(1728, 160)
|
||||
planet_type = 5
|
||||
win_planet = true
|
||||
|
||||
[node name="Deathlaser" parent="." instance=ExtResource("7_osvu6")]
|
||||
position = Vector2(1728, 160)
|
||||
rotation_speed_in_deg_per_second = 500
|
||||
|
||||
[node name="button_planet" parent="." instance=ExtResource("8_cxbt6")]
|
||||
position = Vector2(256, 512)
|
||||
max_activation_dist = 32
|
||||
button_color = "pink"
|
||||
59
rund-um-die-welten/Levels/Level 18.tscn
Normal file
|
|
@ -0,0 +1,59 @@
|
|||
[gd_scene load_steps=7 format=3 uid="uid://bkb470ah8d8xe"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://tlx7l1b53wm7" path="res://Levels/main.gd" id="1_b35ts"]
|
||||
[ext_resource type="PackedScene" uid="uid://b72obu30gqg1g" path="res://UI Elements/scene_utils.tscn" id="2_nq7ae"]
|
||||
[ext_resource type="PackedScene" uid="uid://d0h7r8gitcntt" path="res://player/player.tscn" id="3_x7bhy"]
|
||||
[ext_resource type="PackedScene" uid="uid://4s3rjs7m32hk" path="res://asteroid_belt/asteroid_belt.tscn" id="4_8p51o"]
|
||||
[ext_resource type="PackedScene" uid="uid://nccnr30bmrud" path="res://collectibles/collectible.tscn" id="5_vxqdh"]
|
||||
[ext_resource type="PackedScene" uid="uid://bmlfyt1ykh3aq" path="res://planet/planet_v_2.tscn" id="6_g7xf5"]
|
||||
|
||||
[node name="main" type="Node2D"]
|
||||
script = ExtResource("1_b35ts")
|
||||
level_name = "Level 13"
|
||||
|
||||
[node name="scene_utils" parent="." instance=ExtResource("2_nq7ae")]
|
||||
metadata/_edit_lock_ = true
|
||||
|
||||
[node name="player" parent="." groups=["player"] instance=ExtResource("3_x7bhy")]
|
||||
position = Vector2(64, 511)
|
||||
spawn_rotation = 270
|
||||
dies_on_screen_leave = true
|
||||
|
||||
[node name="asteroid_belt" parent="." instance=ExtResource("4_8p51o")]
|
||||
position = Vector2(416, 511)
|
||||
speed = 1000
|
||||
number_of_holes = 4
|
||||
hole_size_in_deg = 30
|
||||
circle_radius = 470
|
||||
|
||||
[node name="collectible" parent="." instance=ExtResource("5_vxqdh")]
|
||||
position = Vector2(416, 736)
|
||||
|
||||
[node name="collectible2" parent="." instance=ExtResource("5_vxqdh")]
|
||||
position = Vector2(1536, 96)
|
||||
id = 2
|
||||
|
||||
[node name="collectible3" parent="." instance=ExtResource("5_vxqdh")]
|
||||
position = Vector2(960, 255)
|
||||
id = 1
|
||||
|
||||
[node name="planet_v2" parent="." instance=ExtResource("6_g7xf5")]
|
||||
position = Vector2(416, 511)
|
||||
planet_type = 2
|
||||
moon = true
|
||||
moon_radius = 250
|
||||
moon_speed = 50
|
||||
|
||||
[node name="asteroid_belt2" parent="." instance=ExtResource("4_8p51o")]
|
||||
position = Vector2(1536, 511)
|
||||
speed = -1000
|
||||
number_of_holes = 4
|
||||
hole_size_in_deg = 30
|
||||
circle_radius = 470
|
||||
|
||||
[node name="planet_v3" parent="." instance=ExtResource("6_g7xf5")]
|
||||
position = Vector2(1536, 511)
|
||||
planet_type = 2
|
||||
win_planet = true
|
||||
moon = true
|
||||
moon_radius = 250
|
||||
93
rund-um-die-welten/Levels/Level 19.tscn
Normal file
|
|
@ -0,0 +1,93 @@
|
|||
[gd_scene load_steps=7 format=3 uid="uid://cnhxiuej65oko"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://tlx7l1b53wm7" path="res://Levels/main.gd" id="1_wdtn7"]
|
||||
[ext_resource type="PackedScene" uid="uid://b72obu30gqg1g" path="res://UI Elements/scene_utils.tscn" id="2_kev4n"]
|
||||
[ext_resource type="PackedScene" uid="uid://d0h7r8gitcntt" path="res://player/player.tscn" id="3_ppv6e"]
|
||||
[ext_resource type="PackedScene" uid="uid://nccnr30bmrud" path="res://collectibles/collectible.tscn" id="5_tnhad"]
|
||||
[ext_resource type="PackedScene" uid="uid://bmlfyt1ykh3aq" path="res://planet/planet_v_2.tscn" id="6_a7pqy"]
|
||||
[ext_resource type="PackedScene" uid="uid://dxufmneynppid" path="res://planet/Deathlaser.tscn" id="7_kev4n"]
|
||||
|
||||
[node name="main" type="Node2D"]
|
||||
script = ExtResource("1_wdtn7")
|
||||
level_name = "Level 13"
|
||||
|
||||
[node name="scene_utils" parent="." instance=ExtResource("2_kev4n")]
|
||||
metadata/_edit_lock_ = true
|
||||
|
||||
[node name="player" parent="." groups=["player"] instance=ExtResource("3_ppv6e")]
|
||||
position = Vector2(738, 832)
|
||||
spawn_rotation = 270
|
||||
dies_on_screen_leave = true
|
||||
|
||||
[node name="collectible" parent="." instance=ExtResource("5_tnhad")]
|
||||
position = Vector2(322, 932)
|
||||
|
||||
[node name="collectible2" parent="." instance=ExtResource("5_tnhad")]
|
||||
position = Vector2(1632, 320)
|
||||
id = 2
|
||||
|
||||
[node name="collectible3" parent="." instance=ExtResource("5_tnhad")]
|
||||
position = Vector2(608, 127)
|
||||
id = 1
|
||||
|
||||
[node name="planet_v2" parent="." instance=ExtResource("6_a7pqy")]
|
||||
position = Vector2(608, 295)
|
||||
planet_type = 4
|
||||
moon_radius = 100
|
||||
moon_speed = 200
|
||||
|
||||
[node name="planet_v5" parent="." instance=ExtResource("6_a7pqy")]
|
||||
position = Vector2(1120, 288)
|
||||
planet_type = 6
|
||||
clockwise = false
|
||||
moon = true
|
||||
moon_radius = 250
|
||||
moon_speed = 200
|
||||
|
||||
[node name="planet_v8" parent="." instance=ExtResource("6_a7pqy")]
|
||||
position = Vector2(1792, 960)
|
||||
planet_type = 6
|
||||
win_planet = true
|
||||
moon_radius = 250
|
||||
moon_speed = 200
|
||||
|
||||
[node name="Deathlaser" parent="." instance=ExtResource("7_kev4n")]
|
||||
position = Vector2(608, 295)
|
||||
rotation_speed_in_deg_per_second = 50
|
||||
|
||||
[node name="planet_v7" parent="." instance=ExtResource("6_a7pqy")]
|
||||
position = Vector2(1088, 805)
|
||||
planet_type = 4
|
||||
moon_radius = 100
|
||||
moon_speed = 200
|
||||
|
||||
[node name="Deathlaser5" parent="." instance=ExtResource("7_kev4n")]
|
||||
position = Vector2(1088, 805)
|
||||
rotation_speed_in_deg_per_second = 50
|
||||
laser_color = "orange"
|
||||
|
||||
[node name="planet_v9" parent="." instance=ExtResource("6_a7pqy")]
|
||||
position = Vector2(1504, 416)
|
||||
planet_type = 4
|
||||
clockwise = false
|
||||
moon_radius = 100
|
||||
moon_speed = 200
|
||||
|
||||
[node name="Deathlaser6" parent="." instance=ExtResource("7_kev4n")]
|
||||
position = Vector2(1504, 416)
|
||||
rotation_speed_in_deg_per_second = 50
|
||||
laser_color = "green"
|
||||
clockwise = false
|
||||
|
||||
[node name="planet_v6" parent="." instance=ExtResource("6_a7pqy")]
|
||||
position = Vector2(320, 768)
|
||||
planet_type = 4
|
||||
clockwise = false
|
||||
moon_radius = 100
|
||||
moon_speed = 200
|
||||
|
||||
[node name="Deathlaser4" parent="." instance=ExtResource("7_kev4n")]
|
||||
position = Vector2(320, 768)
|
||||
rotation_speed_in_deg_per_second = 50
|
||||
laser_color = "green"
|
||||
clockwise = false
|
||||
50
rund-um-die-welten/Levels/Level 2.tscn
Normal file
|
|
@ -0,0 +1,50 @@
|
|||
[gd_scene load_steps=7 format=3 uid="uid://c654mqpmy055j"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://tlx7l1b53wm7" path="res://Levels/main.gd" id="1_wyhqr"]
|
||||
[ext_resource type="PackedScene" uid="uid://d0h7r8gitcntt" path="res://player/player.tscn" id="2_yt4wa"]
|
||||
[ext_resource type="PackedScene" uid="uid://bmlfyt1ykh3aq" path="res://planet/planet_v_2.tscn" id="3_f7mle"]
|
||||
[ext_resource type="PackedScene" uid="uid://ufu0fyp248bh" path="res://comet/comet.tscn" id="4_xgid4"]
|
||||
[ext_resource type="PackedScene" uid="uid://nccnr30bmrud" path="res://collectibles/collectible.tscn" id="4_yt4wa"]
|
||||
[ext_resource type="PackedScene" uid="uid://b72obu30gqg1g" path="res://UI Elements/scene_utils.tscn" id="6_f7mle"]
|
||||
|
||||
[node name="main5" type="Node2D"]
|
||||
script = ExtResource("1_wyhqr")
|
||||
level_name = "Level 2"
|
||||
|
||||
[node name="player" parent="." groups=["player"] instance=ExtResource("2_yt4wa")]
|
||||
position = Vector2(160, 704)
|
||||
dies_on_screen_leave = true
|
||||
|
||||
[node name="planet_v2_4" parent="." instance=ExtResource("3_f7mle")]
|
||||
position = Vector2(1600, 704)
|
||||
win_planet = true
|
||||
|
||||
[node name="planet_v2_5" parent="." instance=ExtResource("3_f7mle")]
|
||||
position = Vector2(1023, 256)
|
||||
clockwise = false
|
||||
|
||||
[node name="planet_v3" parent="." instance=ExtResource("3_f7mle")]
|
||||
position = Vector2(448, 703)
|
||||
size_scale = 5.0
|
||||
|
||||
[node name="collectible" parent="." instance=ExtResource("4_yt4wa")]
|
||||
position = Vector2(448, 928)
|
||||
|
||||
[node name="collectible2" parent="." instance=ExtResource("4_yt4wa")]
|
||||
position = Vector2(1728, 836)
|
||||
id = 2
|
||||
|
||||
[node name="collectible3" parent="." instance=ExtResource("4_yt4wa")]
|
||||
position = Vector2(1023, 128)
|
||||
id = 1
|
||||
|
||||
[node name="comet16" parent="." instance=ExtResource("4_xgid4")]
|
||||
position = Vector2(1023, 736)
|
||||
|
||||
[node name="comet17" parent="." instance=ExtResource("4_xgid4")]
|
||||
position = Vector2(1023, 992)
|
||||
|
||||
[node name="comet18" parent="." instance=ExtResource("4_xgid4")]
|
||||
position = Vector2(1023, 868)
|
||||
|
||||
[node name="scene_utils" parent="." instance=ExtResource("6_f7mle")]
|
||||
92
rund-um-die-welten/Levels/Level 20.tscn
Normal file
|
|
@ -0,0 +1,92 @@
|
|||
[gd_scene load_steps=8 format=3 uid="uid://chwumgn2ncccw"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://tlx7l1b53wm7" path="res://Levels/main.gd" id="1_7ewbn"]
|
||||
[ext_resource type="PackedScene" uid="uid://b72obu30gqg1g" path="res://UI Elements/scene_utils.tscn" id="2_2k3q2"]
|
||||
[ext_resource type="PackedScene" uid="uid://d0h7r8gitcntt" path="res://player/player.tscn" id="3_bw07n"]
|
||||
[ext_resource type="PackedScene" uid="uid://nccnr30bmrud" path="res://collectibles/collectible.tscn" id="4_y21vb"]
|
||||
[ext_resource type="PackedScene" uid="uid://bmlfyt1ykh3aq" path="res://planet/planet_v_2.tscn" id="5_5kaqa"]
|
||||
[ext_resource type="PackedScene" uid="uid://dxufmneynppid" path="res://planet/Deathlaser.tscn" id="6_ohws3"]
|
||||
[ext_resource type="PackedScene" uid="uid://cx3txojpcod4x" path="res://planet/button_planet.tscn" id="7_6yhfu"]
|
||||
|
||||
[node name="main" type="Node2D"]
|
||||
script = ExtResource("1_7ewbn")
|
||||
level_name = "Level 13"
|
||||
|
||||
[node name="scene_utils" parent="." instance=ExtResource("2_2k3q2")]
|
||||
metadata/_edit_lock_ = true
|
||||
|
||||
[node name="player" parent="." groups=["player"] instance=ExtResource("3_bw07n")]
|
||||
position = Vector2(384, 544)
|
||||
spawn_rotation = 270
|
||||
dies_on_screen_leave = true
|
||||
|
||||
[node name="collectible" parent="." instance=ExtResource("4_y21vb")]
|
||||
position = Vector2(192, 928)
|
||||
|
||||
[node name="collectible2" parent="." instance=ExtResource("4_y21vb")]
|
||||
position = Vector2(1854, 190)
|
||||
id = 2
|
||||
|
||||
[node name="collectible3" parent="." instance=ExtResource("4_y21vb")]
|
||||
position = Vector2(832, 510)
|
||||
id = 1
|
||||
|
||||
[node name="planet_v2" parent="." instance=ExtResource("5_5kaqa")]
|
||||
position = Vector2(704, 512)
|
||||
planet_type = 7
|
||||
moon_radius = 100
|
||||
moon_speed = 200
|
||||
|
||||
[node name="planet_v4" parent="." instance=ExtResource("5_5kaqa")]
|
||||
position = Vector2(960, 805)
|
||||
planet_type = 4
|
||||
moon = true
|
||||
moon_radius = 250
|
||||
moon_speed = 200
|
||||
|
||||
[node name="planet_v5" parent="." instance=ExtResource("5_5kaqa")]
|
||||
position = Vector2(1120, 288)
|
||||
planet_type = 6
|
||||
moon = true
|
||||
moon_radius = 250
|
||||
moon_speed = 200
|
||||
|
||||
[node name="planet_v3" parent="." instance=ExtResource("5_5kaqa")]
|
||||
position = Vector2(1792, 96)
|
||||
planet_type = 6
|
||||
win_planet = true
|
||||
moon = true
|
||||
moon_radius = 250
|
||||
|
||||
[node name="Deathlaser" parent="." instance=ExtResource("6_ohws3")]
|
||||
position = Vector2(1595, 315)
|
||||
rotation = 2.0944
|
||||
rotation_speed_in_deg_per_second = 0
|
||||
laser_color = "green"
|
||||
|
||||
[node name="Deathlaser2" parent="." instance=ExtResource("6_ohws3")]
|
||||
position = Vector2(1595, 221)
|
||||
rotation = 2.0944
|
||||
rotation_speed_in_deg_per_second = 0
|
||||
laser_color = "orange"
|
||||
|
||||
[node name="Deathlaser3" parent="." instance=ExtResource("6_ohws3")]
|
||||
position = Vector2(1595, 141)
|
||||
rotation = 2.0944
|
||||
rotation_speed_in_deg_per_second = 0
|
||||
|
||||
[node name="button_planet" parent="." instance=ExtResource("7_6yhfu")]
|
||||
position = Vector2(1664, 832)
|
||||
max_activation_dist = 32
|
||||
button_color = "orange"
|
||||
|
||||
[node name="button_planet2" parent="." instance=ExtResource("7_6yhfu")]
|
||||
position = Vector2(256, 832)
|
||||
max_activation_dist = 32
|
||||
button_color = "green"
|
||||
|
||||
[node name="button_planet3" parent="." instance=ExtResource("7_6yhfu")]
|
||||
position = Vector2(256, 254)
|
||||
max_activation_dist = 32
|
||||
button_color = "pink"
|
||||
clockwise = false
|
||||
75
rund-um-die-welten/Levels/Level 3.tscn
Normal file
|
|
@ -0,0 +1,75 @@
|
|||
[gd_scene load_steps=7 format=3 uid="uid://vupj1hmvqixs"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://tlx7l1b53wm7" path="res://Levels/main.gd" id="1_k8a2c"]
|
||||
[ext_resource type="PackedScene" uid="uid://d0h7r8gitcntt" path="res://player/player.tscn" id="2_3ixoe"]
|
||||
[ext_resource type="PackedScene" uid="uid://bmlfyt1ykh3aq" path="res://planet/planet_v_2.tscn" id="3_jnn57"]
|
||||
[ext_resource type="PackedScene" uid="uid://ufu0fyp248bh" path="res://comet/comet.tscn" id="4_0gc1s"]
|
||||
[ext_resource type="PackedScene" uid="uid://nccnr30bmrud" path="res://collectibles/collectible.tscn" id="5_3ixoe"]
|
||||
[ext_resource type="PackedScene" uid="uid://b72obu30gqg1g" path="res://UI Elements/scene_utils.tscn" id="6_jnn57"]
|
||||
|
||||
[node name="main3" type="Node2D"]
|
||||
script = ExtResource("1_k8a2c")
|
||||
level_name = "Level 3"
|
||||
|
||||
[node name="player" parent="." groups=["player"] instance=ExtResource("2_3ixoe")]
|
||||
position = Vector2(457, 891)
|
||||
dies_on_screen_leave = true
|
||||
|
||||
[node name="planet_v2_2" parent="." instance=ExtResource("3_jnn57")]
|
||||
position = Vector2(1111, 848)
|
||||
|
||||
[node name="planet_v2_4" parent="." instance=ExtResource("3_jnn57")]
|
||||
position = Vector2(1745, 807)
|
||||
win_planet = true
|
||||
|
||||
[node name="planet_v2_5" parent="." instance=ExtResource("3_jnn57")]
|
||||
position = Vector2(1449, 219)
|
||||
clockwise = false
|
||||
|
||||
[node name="planet_v2_3" parent="." instance=ExtResource("3_jnn57")]
|
||||
position = Vector2(907, 471)
|
||||
|
||||
[node name="planet_v2" parent="." instance=ExtResource("3_jnn57")]
|
||||
position = Vector2(373, 695)
|
||||
size_scale = 5.0
|
||||
clockwise = false
|
||||
|
||||
[node name="comet10" parent="." instance=ExtResource("4_0gc1s")]
|
||||
position = Vector2(586, 1011)
|
||||
|
||||
[node name="comet16" parent="." instance=ExtResource("4_0gc1s")]
|
||||
position = Vector2(682, 855)
|
||||
|
||||
[node name="comet17" parent="." instance=ExtResource("4_0gc1s")]
|
||||
position = Vector2(690, 691)
|
||||
|
||||
[node name="comet18" parent="." instance=ExtResource("4_0gc1s")]
|
||||
position = Vector2(642, 537)
|
||||
|
||||
[node name="comet19" parent="." instance=ExtResource("4_0gc1s")]
|
||||
position = Vector2(542, 453)
|
||||
|
||||
[node name="comet20" parent="." instance=ExtResource("4_0gc1s")]
|
||||
position = Vector2(1103, 91)
|
||||
|
||||
[node name="comet21" parent="." instance=ExtResource("4_0gc1s")]
|
||||
position = Vector2(1107, 273)
|
||||
|
||||
[node name="comet22" parent="." instance=ExtResource("4_0gc1s")]
|
||||
position = Vector2(1189, 457)
|
||||
|
||||
[node name="comet23" parent="." instance=ExtResource("4_0gc1s")]
|
||||
position = Vector2(1341, 571)
|
||||
|
||||
[node name="collectible" parent="." instance=ExtResource("5_3ixoe")]
|
||||
position = Vector2(520, 699)
|
||||
|
||||
[node name="collectible2" parent="." instance=ExtResource("5_3ixoe")]
|
||||
position = Vector2(1289, 209)
|
||||
id = 1
|
||||
|
||||
[node name="collectible3" parent="." instance=ExtResource("5_3ixoe")]
|
||||
position = Vector2(1564, 819)
|
||||
id = 2
|
||||
|
||||
[node name="scene_utils" parent="." instance=ExtResource("6_jnn57")]
|
||||
48
rund-um-die-welten/Levels/Level 4.tscn
Normal file
|
|
@ -0,0 +1,48 @@
|
|||
[gd_scene load_steps=7 format=3 uid="uid://ddpjl40d2mgvp"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://tlx7l1b53wm7" path="res://Levels/main.gd" id="1_evb4r"]
|
||||
[ext_resource type="PackedScene" uid="uid://d0h7r8gitcntt" path="res://player/player.tscn" id="2_expes"]
|
||||
[ext_resource type="PackedScene" uid="uid://bmlfyt1ykh3aq" path="res://planet/planet_v_2.tscn" id="3_nq3bc"]
|
||||
[ext_resource type="PackedScene" uid="uid://nccnr30bmrud" path="res://collectibles/collectible.tscn" id="5_expes"]
|
||||
[ext_resource type="PackedScene" uid="uid://4s3rjs7m32hk" path="res://asteroid_belt/asteroid_belt.tscn" id="5_nq3bc"]
|
||||
[ext_resource type="PackedScene" uid="uid://b72obu30gqg1g" path="res://UI Elements/scene_utils.tscn" id="6_nq3bc"]
|
||||
|
||||
[node name="main4" type="Node2D"]
|
||||
script = ExtResource("1_evb4r")
|
||||
level_name = "Level 4"
|
||||
|
||||
[node name="player" parent="." groups=["player"] instance=ExtResource("2_expes")]
|
||||
position = Vector2(652, 555)
|
||||
dies_on_screen_leave = true
|
||||
|
||||
[node name="planet_v2_4" parent="." instance=ExtResource("3_nq3bc")]
|
||||
position = Vector2(1655, 545)
|
||||
win_planet = true
|
||||
clockwise = false
|
||||
|
||||
[node name="planet_v2_3" parent="." instance=ExtResource("3_nq3bc")]
|
||||
position = Vector2(311, 259)
|
||||
clockwise = false
|
||||
|
||||
[node name="planet_v2" parent="." instance=ExtResource("3_nq3bc")]
|
||||
position = Vector2(308, 786)
|
||||
size_scale = 5.0
|
||||
|
||||
[node name="collectible" parent="." instance=ExtResource("5_expes")]
|
||||
position = Vector2(1006, 748)
|
||||
|
||||
[node name="collectible2" parent="." instance=ExtResource("5_expes")]
|
||||
position = Vector2(1004, 293)
|
||||
id = 1
|
||||
|
||||
[node name="collectible3" parent="." instance=ExtResource("5_expes")]
|
||||
position = Vector2(1649, 362)
|
||||
id = 2
|
||||
|
||||
[node name="asteroid_belt" parent="." instance=ExtResource("5_nq3bc")]
|
||||
position = Vector2(-989, 705)
|
||||
number_of_holes = 8
|
||||
hole_size_in_deg = 20
|
||||
circle_radius = 2000
|
||||
|
||||
[node name="scene_utils" parent="." instance=ExtResource("6_nq3bc")]
|
||||
57
rund-um-die-welten/Levels/Level 5.tscn
Normal file
|
|
@ -0,0 +1,57 @@
|
|||
[gd_scene load_steps=8 format=3 uid="uid://bkvnips5nck2n"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://d0h7r8gitcntt" path="res://player/player.tscn" id="1_75a7x"]
|
||||
[ext_resource type="Script" uid="uid://tlx7l1b53wm7" path="res://Levels/main.gd" id="1_dkod1"]
|
||||
[ext_resource type="PackedScene" uid="uid://bmlfyt1ykh3aq" path="res://planet/planet_v_2.tscn" id="2_dkod1"]
|
||||
[ext_resource type="PackedScene" uid="uid://4s3rjs7m32hk" path="res://asteroid_belt/asteroid_belt.tscn" id="3_4ydby"]
|
||||
[ext_resource type="PackedScene" uid="uid://nccnr30bmrud" path="res://collectibles/collectible.tscn" id="4_u7ldv"]
|
||||
[ext_resource type="PackedScene" uid="uid://ufu0fyp248bh" path="res://comet/comet.tscn" id="6_4ydby"]
|
||||
[ext_resource type="PackedScene" uid="uid://b72obu30gqg1g" path="res://UI Elements/scene_utils.tscn" id="7_u7ldv"]
|
||||
|
||||
[node name="main" type="Node2D"]
|
||||
script = ExtResource("1_dkod1")
|
||||
level_name = "Level 5"
|
||||
|
||||
[node name="player" parent="." groups=["player"] instance=ExtResource("1_75a7x")]
|
||||
position = Vector2(297, 1008)
|
||||
dies_on_screen_leave = true
|
||||
|
||||
[node name="planet_v2_4" parent="." instance=ExtResource("2_dkod1")]
|
||||
position = Vector2(1615, 813)
|
||||
win_planet = true
|
||||
|
||||
[node name="planet_v2_3" parent="." instance=ExtResource("2_dkod1")]
|
||||
position = Vector2(1024, 256)
|
||||
clockwise = false
|
||||
|
||||
[node name="planet_v2" parent="." instance=ExtResource("2_dkod1")]
|
||||
position = Vector2(416, 748)
|
||||
size_scale = 5.0
|
||||
|
||||
[node name="collectible" parent="." instance=ExtResource("4_u7ldv")]
|
||||
position = Vector2(218, 357)
|
||||
|
||||
[node name="collectible2" parent="." instance=ExtResource("4_u7ldv")]
|
||||
position = Vector2(1619, 964)
|
||||
id = 2
|
||||
|
||||
[node name="collectible3" parent="." instance=ExtResource("4_u7ldv")]
|
||||
position = Vector2(1023, 89)
|
||||
id = 1
|
||||
|
||||
[node name="comet" parent="." instance=ExtResource("6_4ydby")]
|
||||
position = Vector2(1088, 896)
|
||||
|
||||
[node name="comet2" parent="." instance=ExtResource("6_4ydby")]
|
||||
position = Vector2(960, 813)
|
||||
|
||||
[node name="comet3" parent="." instance=ExtResource("6_4ydby")]
|
||||
position = Vector2(1023, 1024)
|
||||
|
||||
[node name="asteroid_belt" parent="." instance=ExtResource("3_4ydby")]
|
||||
position = Vector2(1024, -928)
|
||||
number_of_holes = 8
|
||||
hole_size_in_deg = 28
|
||||
circle_radius = 1500
|
||||
|
||||
[node name="scene_utils" parent="." instance=ExtResource("7_u7ldv")]
|
||||
78
rund-um-die-welten/Levels/Level 6.tscn
Normal file
|
|
@ -0,0 +1,78 @@
|
|||
[gd_scene load_steps=7 format=3 uid="uid://7tlm22qsgdgo"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://tlx7l1b53wm7" path="res://Levels/main.gd" id="1_g6hnr"]
|
||||
[ext_resource type="PackedScene" uid="uid://d0h7r8gitcntt" path="res://player/player.tscn" id="2_5a2as"]
|
||||
[ext_resource type="PackedScene" uid="uid://bmlfyt1ykh3aq" path="res://planet/planet_v_2.tscn" id="3_x54wu"]
|
||||
[ext_resource type="PackedScene" uid="uid://nccnr30bmrud" path="res://collectibles/collectible.tscn" id="5_wsy8s"]
|
||||
[ext_resource type="PackedScene" uid="uid://ufu0fyp248bh" path="res://comet/comet.tscn" id="6_flb6e"]
|
||||
[ext_resource type="PackedScene" uid="uid://b72obu30gqg1g" path="res://UI Elements/scene_utils.tscn" id="6_g6hnr"]
|
||||
|
||||
[node name="main" type="Node2D"]
|
||||
script = ExtResource("1_g6hnr")
|
||||
level_name = "Level 6"
|
||||
|
||||
[node name="player" parent="." groups=["player"] instance=ExtResource("2_5a2as")]
|
||||
position = Vector2(1568, 802)
|
||||
dies_on_screen_leave = true
|
||||
|
||||
[node name="planet_v2_2" parent="." instance=ExtResource("3_x54wu")]
|
||||
position = Vector2(1242, 674)
|
||||
|
||||
[node name="planet_v2_4" parent="." instance=ExtResource("3_x54wu")]
|
||||
position = Vector2(1696, 373)
|
||||
|
||||
[node name="planet_v2_3" parent="." instance=ExtResource("3_x54wu")]
|
||||
position = Vector2(1158, 200)
|
||||
win_planet = true
|
||||
clockwise = false
|
||||
|
||||
[node name="planet_v2" parent="." instance=ExtResource("3_x54wu")]
|
||||
position = Vector2(685, 629)
|
||||
size_scale = 5.0
|
||||
|
||||
[node name="comet" parent="." instance=ExtResource("6_flb6e")]
|
||||
position = Vector2(448, 718)
|
||||
|
||||
[node name="comet2" parent="." instance=ExtResource("6_flb6e")]
|
||||
position = Vector2(533, 585)
|
||||
|
||||
[node name="comet3" parent="." instance=ExtResource("6_flb6e")]
|
||||
position = Vector2(676, 487)
|
||||
|
||||
[node name="comet4" parent="." instance=ExtResource("6_flb6e")]
|
||||
position = Vector2(817, 496)
|
||||
|
||||
[node name="comet5" parent="." instance=ExtResource("6_flb6e")]
|
||||
position = Vector2(954, 585)
|
||||
|
||||
[node name="comet11" parent="." instance=ExtResource("6_flb6e")]
|
||||
position = Vector2(1344, 585)
|
||||
|
||||
[node name="comet16" parent="." instance=ExtResource("6_flb6e")]
|
||||
position = Vector2(1088, 649)
|
||||
|
||||
[node name="comet12" parent="." instance=ExtResource("6_flb6e")]
|
||||
position = Vector2(1414, 480)
|
||||
|
||||
[node name="comet13" parent="." instance=ExtResource("6_flb6e")]
|
||||
position = Vector2(1472, 352)
|
||||
|
||||
[node name="comet14" parent="." instance=ExtResource("6_flb6e")]
|
||||
position = Vector2(1535, 224)
|
||||
|
||||
[node name="comet15" parent="." instance=ExtResource("6_flb6e")]
|
||||
position = Vector2(1568, 72)
|
||||
|
||||
[node name="collectible" parent="." instance=ExtResource("5_wsy8s")]
|
||||
position = Vector2(1599, 576)
|
||||
|
||||
[node name="collectible2" parent="." instance=ExtResource("5_wsy8s")]
|
||||
position = Vector2(960, 416)
|
||||
id = 2
|
||||
|
||||
[node name="collectible3" parent="." instance=ExtResource("5_wsy8s")]
|
||||
position = Vector2(256, 256)
|
||||
id = 1
|
||||
|
||||
[node name="scene_utils" parent="." instance=ExtResource("6_g6hnr")]
|
||||
position = Vector2(0, 8)
|
||||
68
rund-um-die-welten/Levels/Level 7.tscn
Normal file
|
|
@ -0,0 +1,68 @@
|
|||
[gd_scene load_steps=7 format=3 uid="uid://1omhi68uayh7"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://tlx7l1b53wm7" path="res://Levels/main.gd" id="1_mh67n"]
|
||||
[ext_resource type="PackedScene" uid="uid://d0h7r8gitcntt" path="res://player/player.tscn" id="2_qb5be"]
|
||||
[ext_resource type="PackedScene" uid="uid://bmlfyt1ykh3aq" path="res://planet/planet_v_2.tscn" id="3_rflju"]
|
||||
[ext_resource type="PackedScene" uid="uid://nccnr30bmrud" path="res://collectibles/collectible.tscn" id="5_ioa6s"]
|
||||
[ext_resource type="PackedScene" uid="uid://ufu0fyp248bh" path="res://comet/comet.tscn" id="6_furn4"]
|
||||
[ext_resource type="PackedScene" uid="uid://b72obu30gqg1g" path="res://UI Elements/scene_utils.tscn" id="6_mh67n"]
|
||||
|
||||
[node name="main" type="Node2D"]
|
||||
script = ExtResource("1_mh67n")
|
||||
level_name = "Level 7"
|
||||
|
||||
[node name="player" parent="." groups=["player"] instance=ExtResource("2_qb5be")]
|
||||
position = Vector2(960, 96)
|
||||
dies_on_screen_leave = true
|
||||
|
||||
[node name="planet_v2_4" parent="." instance=ExtResource("3_rflju")]
|
||||
position = Vector2(960, 960)
|
||||
planet_type = 1
|
||||
win_planet = true
|
||||
|
||||
[node name="planet_v2_3" parent="." instance=ExtResource("3_rflju")]
|
||||
position = Vector2(960, 544)
|
||||
planet_type = 3
|
||||
clockwise = false
|
||||
|
||||
[node name="planet_v2" parent="." instance=ExtResource("3_rflju")]
|
||||
position = Vector2(288, 621)
|
||||
size_scale = 5.0
|
||||
|
||||
[node name="planet_v3" parent="." instance=ExtResource("3_rflju")]
|
||||
position = Vector2(1664, 640)
|
||||
size_scale = 5.0
|
||||
|
||||
[node name="collectible" parent="." instance=ExtResource("5_ioa6s")]
|
||||
position = Vector2(1408, 224)
|
||||
|
||||
[node name="collectible2" parent="." instance=ExtResource("5_ioa6s")]
|
||||
position = Vector2(1536, 640)
|
||||
id = 2
|
||||
|
||||
[node name="collectible3" parent="." instance=ExtResource("5_ioa6s")]
|
||||
position = Vector2(160, 621)
|
||||
id = 1
|
||||
|
||||
[node name="comet" parent="." instance=ExtResource("6_furn4")]
|
||||
position = Vector2(960, 832)
|
||||
|
||||
[node name="comet4" parent="." instance=ExtResource("6_furn4")]
|
||||
position = Vector2(608, 576)
|
||||
|
||||
[node name="comet3" parent="." instance=ExtResource("6_furn4")]
|
||||
position = Vector2(641, 704)
|
||||
|
||||
[node name="comet5" parent="." instance=ExtResource("6_furn4")]
|
||||
position = Vector2(769, 800)
|
||||
|
||||
[node name="comet9" parent="." instance=ExtResource("6_furn4")]
|
||||
position = Vector2(1312, 576)
|
||||
|
||||
[node name="comet7" parent="." instance=ExtResource("6_furn4")]
|
||||
position = Vector2(1151, 800)
|
||||
|
||||
[node name="comet8" parent="." instance=ExtResource("6_furn4")]
|
||||
position = Vector2(1279, 704)
|
||||
|
||||
[node name="scene_utils" parent="." instance=ExtResource("6_mh67n")]
|
||||
72
rund-um-die-welten/Levels/Level 8.tscn
Normal file
|
|
@ -0,0 +1,72 @@
|
|||
[gd_scene load_steps=8 format=3 uid="uid://x7ih0qxwlfh0"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://tlx7l1b53wm7" path="res://Levels/main.gd" id="1_4kixr"]
|
||||
[ext_resource type="PackedScene" uid="uid://d0h7r8gitcntt" path="res://player/player.tscn" id="2_fj3hk"]
|
||||
[ext_resource type="PackedScene" uid="uid://bmlfyt1ykh3aq" path="res://planet/planet_v_2.tscn" id="3_j18h2"]
|
||||
[ext_resource type="PackedScene" uid="uid://4s3rjs7m32hk" path="res://asteroid_belt/asteroid_belt.tscn" id="4_j24tp"]
|
||||
[ext_resource type="PackedScene" uid="uid://nccnr30bmrud" path="res://collectibles/collectible.tscn" id="5_6q0h5"]
|
||||
[ext_resource type="PackedScene" uid="uid://ufu0fyp248bh" path="res://comet/comet.tscn" id="6_gq8ki"]
|
||||
[ext_resource type="PackedScene" uid="uid://b72obu30gqg1g" path="res://UI Elements/scene_utils.tscn" id="7_fj3hk"]
|
||||
|
||||
[node name="main" type="Node2D"]
|
||||
script = ExtResource("1_4kixr")
|
||||
level_name = "Level 8"
|
||||
|
||||
[node name="player" parent="." groups=["player"] instance=ExtResource("2_fj3hk")]
|
||||
position = Vector2(192, 544)
|
||||
dies_on_screen_leave = true
|
||||
|
||||
[node name="planet_v2_4" parent="." instance=ExtResource("3_j18h2")]
|
||||
position = Vector2(1632, 576)
|
||||
planet_type = 2
|
||||
win_planet = true
|
||||
|
||||
[node name="planet_v2" parent="." instance=ExtResource("3_j18h2")]
|
||||
position = Vector2(416, 544)
|
||||
size_scale = 5.0
|
||||
|
||||
[node name="asteroid_belt" parent="." instance=ExtResource("4_j24tp")]
|
||||
position = Vector2(1024, -1216)
|
||||
|
||||
[node name="collectible" parent="." instance=ExtResource("5_6q0h5")]
|
||||
position = Vector2(416, 928)
|
||||
|
||||
[node name="collectible2" parent="." instance=ExtResource("5_6q0h5")]
|
||||
position = Vector2(1632, 864)
|
||||
id = 2
|
||||
|
||||
[node name="collectible3" parent="." instance=ExtResource("5_6q0h5")]
|
||||
position = Vector2(1023, 89)
|
||||
id = 1
|
||||
|
||||
[node name="comet3" parent="." instance=ExtResource("6_gq8ki")]
|
||||
position = Vector2(480, 147)
|
||||
|
||||
[node name="comet4" parent="." instance=ExtResource("6_gq8ki")]
|
||||
position = Vector2(1216, 691)
|
||||
|
||||
[node name="comet5" parent="." instance=ExtResource("6_gq8ki")]
|
||||
position = Vector2(1088, 608)
|
||||
|
||||
[node name="comet6" parent="." instance=ExtResource("6_gq8ki")]
|
||||
position = Vector2(1151, 819)
|
||||
|
||||
[node name="comet7" parent="." instance=ExtResource("6_gq8ki")]
|
||||
position = Vector2(1087, 352)
|
||||
|
||||
[node name="comet8" parent="." instance=ExtResource("6_gq8ki")]
|
||||
position = Vector2(1344, 128)
|
||||
|
||||
[node name="comet9" parent="." instance=ExtResource("6_gq8ki")]
|
||||
position = Vector2(1087, 960)
|
||||
|
||||
[node name="comet10" parent="." instance=ExtResource("6_gq8ki")]
|
||||
position = Vector2(224, 992)
|
||||
|
||||
[node name="comet11" parent="." instance=ExtResource("6_gq8ki")]
|
||||
position = Vector2(224, 864)
|
||||
|
||||
[node name="comet12" parent="." instance=ExtResource("6_gq8ki")]
|
||||
position = Vector2(288, 768)
|
||||
|
||||
[node name="scene_utils" parent="." instance=ExtResource("7_fj3hk")]
|
||||
112
rund-um-die-welten/Levels/Level 9.tscn
Normal file
|
|
@ -0,0 +1,112 @@
|
|||
[gd_scene load_steps=8 format=3 uid="uid://b7fle48jc3csq"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://tlx7l1b53wm7" path="res://Levels/main.gd" id="1_fomsg"]
|
||||
[ext_resource type="PackedScene" uid="uid://d0h7r8gitcntt" path="res://player/player.tscn" id="2_0bhtg"]
|
||||
[ext_resource type="PackedScene" uid="uid://bmlfyt1ykh3aq" path="res://planet/planet_v_2.tscn" id="3_5i8n3"]
|
||||
[ext_resource type="PackedScene" uid="uid://4s3rjs7m32hk" path="res://asteroid_belt/asteroid_belt.tscn" id="4_lmusb"]
|
||||
[ext_resource type="PackedScene" uid="uid://nccnr30bmrud" path="res://collectibles/collectible.tscn" id="5_7pmxy"]
|
||||
[ext_resource type="PackedScene" uid="uid://ufu0fyp248bh" path="res://comet/comet.tscn" id="6_cxty8"]
|
||||
[ext_resource type="PackedScene" uid="uid://b72obu30gqg1g" path="res://UI Elements/scene_utils.tscn" id="7_0bhtg"]
|
||||
|
||||
[node name="main" type="Node2D"]
|
||||
script = ExtResource("1_fomsg")
|
||||
level_name = "Level 9"
|
||||
|
||||
[node name="player" parent="." groups=["player"] instance=ExtResource("2_0bhtg")]
|
||||
position = Vector2(320, 384)
|
||||
dies_on_screen_leave = true
|
||||
|
||||
[node name="planet_v2" parent="." instance=ExtResource("3_5i8n3")]
|
||||
position = Vector2(320, 544)
|
||||
size_scale = 5.0
|
||||
|
||||
[node name="planet_v11" parent="." instance=ExtResource("3_5i8n3")]
|
||||
position = Vector2(320, 224)
|
||||
size_scale = 5.0
|
||||
|
||||
[node name="planet_v3" parent="." instance=ExtResource("3_5i8n3")]
|
||||
position = Vector2(640, 864)
|
||||
size_scale = 5.0
|
||||
|
||||
[node name="planet_v10" parent="." instance=ExtResource("3_5i8n3")]
|
||||
position = Vector2(640, 544)
|
||||
size_scale = 5.0
|
||||
|
||||
[node name="planet_v9" parent="." instance=ExtResource("3_5i8n3")]
|
||||
position = Vector2(320, 864)
|
||||
size_scale = 5.0
|
||||
|
||||
[node name="planet_v4" parent="." instance=ExtResource("3_5i8n3")]
|
||||
position = Vector2(960, 544)
|
||||
size_scale = 5.0
|
||||
|
||||
[node name="planet_v5" parent="." instance=ExtResource("3_5i8n3")]
|
||||
position = Vector2(1280, 864)
|
||||
size_scale = 5.0
|
||||
|
||||
[node name="planet_v12" parent="." instance=ExtResource("3_5i8n3")]
|
||||
position = Vector2(1280, 544)
|
||||
size_scale = 5.0
|
||||
|
||||
[node name="planet_v17" parent="." instance=ExtResource("3_5i8n3")]
|
||||
position = Vector2(1600, 224)
|
||||
size_scale = 5.0
|
||||
win_planet = true
|
||||
|
||||
[node name="planet_v14" parent="." instance=ExtResource("3_5i8n3")]
|
||||
position = Vector2(640, 224)
|
||||
size_scale = 5.0
|
||||
|
||||
[node name="planet_v7" parent="." instance=ExtResource("3_5i8n3")]
|
||||
position = Vector2(960, 224)
|
||||
size_scale = 5.0
|
||||
|
||||
[node name="planet_v16" parent="." instance=ExtResource("3_5i8n3")]
|
||||
position = Vector2(1280, 224)
|
||||
size_scale = 5.0
|
||||
|
||||
[node name="planet_v13" parent="." instance=ExtResource("3_5i8n3")]
|
||||
position = Vector2(960, 864)
|
||||
size_scale = 5.0
|
||||
|
||||
[node name="planet_v6" parent="." instance=ExtResource("3_5i8n3")]
|
||||
position = Vector2(1600, 544)
|
||||
size_scale = 5.0
|
||||
|
||||
[node name="planet_v15" parent="." instance=ExtResource("3_5i8n3")]
|
||||
position = Vector2(1600, 864)
|
||||
size_scale = 5.0
|
||||
|
||||
[node name="asteroid_belt" parent="." instance=ExtResource("4_lmusb")]
|
||||
position = Vector2(1024, -1216)
|
||||
|
||||
[node name="collectible" parent="." instance=ExtResource("5_7pmxy")]
|
||||
position = Vector2(128, 864)
|
||||
|
||||
[node name="collectible2" parent="." instance=ExtResource("5_7pmxy")]
|
||||
position = Vector2(1760, 864)
|
||||
id = 2
|
||||
|
||||
[node name="collectible3" parent="." instance=ExtResource("5_7pmxy")]
|
||||
position = Vector2(960, 384)
|
||||
id = 1
|
||||
|
||||
[node name="comet11" parent="." instance=ExtResource("6_cxty8")]
|
||||
position = Vector2(128, 672)
|
||||
|
||||
[node name="comet12" parent="." instance=ExtResource("6_cxty8")]
|
||||
position = Vector2(640, 384)
|
||||
|
||||
[node name="comet13" parent="." instance=ExtResource("6_cxty8")]
|
||||
position = Vector2(800, 224)
|
||||
|
||||
[node name="comet14" parent="." instance=ExtResource("6_cxty8")]
|
||||
position = Vector2(800, 544)
|
||||
|
||||
[node name="comet15" parent="." instance=ExtResource("6_cxty8")]
|
||||
position = Vector2(1440, 544)
|
||||
|
||||
[node name="comet17" parent="." instance=ExtResource("6_cxty8")]
|
||||
position = Vector2(1600, 704)
|
||||
|
||||
[node name="scene_utils" parent="." instance=ExtResource("7_0bhtg")]
|
||||
12
rund-um-die-welten/Levels/main.gd
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
extends Node2D
|
||||
|
||||
@export var level_name = ""
|
||||
var collectibles = [0,0,0]
|
||||
|
||||
func _ready() -> void:
|
||||
GlobalVariables.level_done.connect(save_collectibles)
|
||||
|
||||
|
||||
func save_collectibles(_win_message):
|
||||
for i in range(3):
|
||||
GlobalVariables.collectibles[GlobalVariables.selected_level][i] += collectibles[i]
|
||||
1
rund-um-die-welten/Levels/main.gd.uid
Normal file
|
|
@ -0,0 +1 @@
|
|||
uid://tlx7l1b53wm7
|
||||
33
rund-um-die-welten/Levels/testing_level.tscn
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
[gd_scene load_steps=6 format=3 uid="uid://df8crdypicer3"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://tlx7l1b53wm7" path="res://Levels/main.gd" id="1_etno1"]
|
||||
[ext_resource type="PackedScene" uid="uid://d0h7r8gitcntt" path="res://player/player.tscn" id="2_h2yge"]
|
||||
[ext_resource type="PackedScene" uid="uid://bmlfyt1ykh3aq" path="res://planet/planet_v_2.tscn" id="4_1bvp3"]
|
||||
[ext_resource type="PackedScene" uid="uid://4s3rjs7m32hk" path="res://asteroid_belt/asteroid_belt.tscn" id="5_lquwl"]
|
||||
[ext_resource type="PackedScene" uid="uid://b72obu30gqg1g" path="res://UI Elements/scene_utils.tscn" id="6_jy78r"]
|
||||
|
||||
[node name="main" type="Node2D"]
|
||||
script = ExtResource("1_etno1")
|
||||
level_name = "Level 1"
|
||||
|
||||
[node name="player" parent="." groups=["player"] instance=ExtResource("2_h2yge")]
|
||||
position = Vector2(1198, 419)
|
||||
|
||||
[node name="planet_v2_2" parent="." instance=ExtResource("4_1bvp3")]
|
||||
position = Vector2(1597, 741)
|
||||
rotation = 0.0289093
|
||||
planet_type = 3
|
||||
|
||||
[node name="planet_v2" parent="." instance=ExtResource("4_1bvp3")]
|
||||
position = Vector2(780, 317)
|
||||
rotation = 0.0554074
|
||||
size_scale = 5.0
|
||||
planet_type = 7
|
||||
clockwise = false
|
||||
moon = true
|
||||
|
||||
[node name="asteroid_belt" parent="." instance=ExtResource("5_lquwl")]
|
||||
position = Vector2(2695, 513)
|
||||
speed = 300
|
||||
|
||||
[node name="scene_utils" parent="." instance=ExtResource("6_jy78r")]
|
||||
38
rund-um-die-welten/Levels/testing_level.tscn445180805.tmp
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
[gd_scene load_steps=7 format=3 uid="uid://df8crdypicer3"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://tlx7l1b53wm7" path="res://Levels/main.gd" id="1_etno1"]
|
||||
[ext_resource type="PackedScene" uid="uid://d0h7r8gitcntt" path="res://player/player.tscn" id="2_h2yge"]
|
||||
[ext_resource type="PackedScene" uid="uid://bmlfyt1ykh3aq" path="res://planet/planet_v_2.tscn" id="4_1bvp3"]
|
||||
[ext_resource type="PackedScene" uid="uid://nccnr30bmrud" path="res://collectibles/collectible.tscn" id="4_5i00d"]
|
||||
[ext_resource type="PackedScene" uid="uid://4s3rjs7m32hk" path="res://asteroid_belt/asteroid_belt.tscn" id="5_lquwl"]
|
||||
[ext_resource type="PackedScene" uid="uid://c7lkpcfoqf0xu" path="res://UI Elements/boost_cooldown.tscn" id="6_jy78r"]
|
||||
|
||||
[node name="main" type="Node2D"]
|
||||
script = ExtResource("1_etno1")
|
||||
level_name = "Level 1"
|
||||
|
||||
[node name="player" parent="." groups=["player"] instance=ExtResource("2_h2yge")]
|
||||
position = Vector2(1198, 419)
|
||||
|
||||
[node name="planet_v2_2" parent="." instance=ExtResource("4_1bvp3")]
|
||||
position = Vector2(1597, 741)
|
||||
rotation = 0.0289093
|
||||
planet_type = 3
|
||||
|
||||
[node name="planet_v2" parent="." instance=ExtResource("4_1bvp3")]
|
||||
position = Vector2(780, 317)
|
||||
rotation = 0.0554074
|
||||
size_scale = 5.0
|
||||
planet_type = 2
|
||||
win_planet = true
|
||||
clockwise = false
|
||||
|
||||
[node name="asteroid_belt" parent="." instance=ExtResource("5_lquwl")]
|
||||
position = Vector2(2695, 513)
|
||||
speed = 300
|
||||
|
||||
[node name="collectible" parent="." instance=ExtResource("4_5i00d")]
|
||||
position = Vector2(279, 580)
|
||||
|
||||
[node name="boost_cooldown" parent="." instance=ExtResource("6_jy78r")]
|
||||
position = Vector2(-58, 791)
|
||||
31
rund-um-die-welten/Levels/testtest.tscn
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
[gd_scene load_steps=6 format=3 uid="uid://ba40rhxjx3y7f"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://cx3txojpcod4x" path="res://planet/button_planet.tscn" id="2_r4tu6"]
|
||||
[ext_resource type="PackedScene" uid="uid://bmlfyt1ykh3aq" path="res://planet/planet_v_2.tscn" id="3_b84rl"]
|
||||
[ext_resource type="PackedScene" uid="uid://dxufmneynppid" path="res://planet/Deathlaser.tscn" id="3_mkjgl"]
|
||||
[ext_resource type="PackedScene" uid="uid://d0h7r8gitcntt" path="res://player/player.tscn" id="4_1hlkx"]
|
||||
[ext_resource type="PackedScene" uid="uid://b72obu30gqg1g" path="res://UI Elements/scene_utils.tscn" id="5_b84rl"]
|
||||
|
||||
[node name="Testtest" type="Node2D"]
|
||||
|
||||
[node name="button_planet" parent="." instance=ExtResource("2_r4tu6")]
|
||||
position = Vector2(640, 598)
|
||||
max_activation_dist = 40
|
||||
button_color = "pink"
|
||||
|
||||
[node name="player" parent="." groups=["player"] instance=ExtResource("4_1hlkx")]
|
||||
position = Vector2(355, 608)
|
||||
|
||||
[node name="Deathlaser" parent="." instance=ExtResource("3_mkjgl")]
|
||||
position = Vector2(1101, 580)
|
||||
rotation_speed_in_deg_per_second = 10
|
||||
|
||||
[node name="planet_v2" parent="." instance=ExtResource("3_b84rl")]
|
||||
position = Vector2(1556, 258)
|
||||
clockwise = false
|
||||
|
||||
[node name="planet_v3" parent="." instance=ExtResource("3_b84rl")]
|
||||
position = Vector2(1603, 784)
|
||||
|
||||
[node name="scene_utils" parent="." instance=ExtResource("5_b84rl")]
|
||||
script = null
|
||||
25
rund-um-die-welten/ToDo.txt
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
bowling und magma planet
|
||||
pfeil abstände kleiner
|
||||
raumschiff ideen hier adden
|
||||
-cowboy bebop ship
|
||||
music does not loop <- Felix-Done
|
||||
sfx adden
|
||||
- für buttons
|
||||
- level cleared
|
||||
- weitere?
|
||||
|
||||
todeslaserdrehdings <- Felix
|
||||
- Richtungen einstellen
|
||||
- sollte man ihn anclicken können?
|
||||
noch mehr level <- Linus
|
||||
Hintergründe <- Daniel
|
||||
-sprite menu
|
||||
-sprite level?
|
||||
|
||||
|
||||
Button Anzeige für welche Laser an sind
|
||||
|
||||
galaxien
|
||||
|
||||
Level mit time trouble
|
||||
Podracing
|
||||
18
rund-um-die-welten/UI Elements/boost_cooldown.tscn
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
[gd_scene load_steps=4 format=3 uid="uid://c7lkpcfoqf0xu"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://cjl13eh6mtfou" path="res://UI Elements/center_boost_cooldown.gd" id="1_e7ol8"]
|
||||
[ext_resource type="Texture2D" uid="uid://pj6lwapo1im1" path="res://assets/cooldown_bar_empty.png" id="2_msrqj"]
|
||||
[ext_resource type="Texture2D" uid="uid://t3obbry64ou3" path="res://assets/cooldown_bar_full.png" id="3_sg53x"]
|
||||
|
||||
[node name="boost_cooldown" type="Node2D"]
|
||||
texture_filter = 1
|
||||
scale = Vector2(4, 4)
|
||||
script = ExtResource("1_e7ol8")
|
||||
|
||||
[node name="TextureProgressBar" type="TextureProgressBar" parent="."]
|
||||
offset_right = 40.0
|
||||
offset_bottom = 40.0
|
||||
step = 0.01
|
||||
fill_mode = 3
|
||||
texture_under = ExtResource("2_msrqj")
|
||||
texture_progress = ExtResource("3_sg53x")
|
||||
19
rund-um-die-welten/UI Elements/center_boost_cooldown.gd
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
extends Node2D
|
||||
|
||||
|
||||
func _physics_process(_delta: float) -> void:
|
||||
var timer = null
|
||||
if get_parent() and get_parent().get_parent():
|
||||
timer = get_parent().get_parent().get_node_or_null("player/boost_cooldown")
|
||||
|
||||
if timer:
|
||||
|
||||
$TextureProgressBar.max_value = timer.wait_time
|
||||
|
||||
if timer.is_stopped():
|
||||
$TextureProgressBar.value = $TextureProgressBar.max_value
|
||||
else:
|
||||
# Fill decreases as the timer counts down
|
||||
$TextureProgressBar.value = $TextureProgressBar.max_value - timer.time_left
|
||||
else:
|
||||
print("No timer found!")
|
||||
|
|
@ -0,0 +1 @@
|
|||
uid://cjl13eh6mtfou
|
||||
18
rund-um-die-welten/UI Elements/death_screen.gd
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
extends Control
|
||||
|
||||
func _ready() -> void:
|
||||
$"Container/HSplitContainer/MarginContainer2/Respawn Button".pressed.connect(_on_respawn_button_pressed)
|
||||
$"Container/HSplitContainer/MarginContainer/Menu Button".pressed.connect(_on_menu_button_pressed)
|
||||
|
||||
func _on_respawn_button_pressed():
|
||||
GlobalVariables.restart_level()
|
||||
UiManager.hide_death_screen()
|
||||
|
||||
|
||||
func _on_menu_button_pressed():
|
||||
GlobalVariables.goto_level_select()
|
||||
UiManager.hide_death_screen()
|
||||
|
||||
func change_death_message(death_message: String):
|
||||
$"Container/MarginContainer/Death-message".text = death_message
|
||||
|
||||
1
rund-um-die-welten/UI Elements/death_screen.gd.uid
Normal file
|
|
@ -0,0 +1 @@
|
|||
uid://dicxw66tytb02
|
||||
92
rund-um-die-welten/UI Elements/death_screen.tscn
Normal file
|
|
@ -0,0 +1,92 @@
|
|||
[gd_scene load_steps=5 format=3 uid="uid://d2lnhx65toxbs"]
|
||||
|
||||
[ext_resource type="FontFile" uid="uid://d2ucaasj8wmwj" path="res://Fonts/BRIGHTSTER-Bold-1.ttf" id="1_aftac"]
|
||||
[ext_resource type="Script" uid="uid://dicxw66tytb02" path="res://UI Elements/death_screen.gd" id="1_uhw3s"]
|
||||
|
||||
[sub_resource type="Theme" id="Theme_uhw3s"]
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_scrbe"]
|
||||
bg_color = Color(0.303939, 0.67889, 0.576316, 1)
|
||||
corner_radius_top_left = 30
|
||||
corner_radius_top_right = 30
|
||||
corner_radius_bottom_right = 30
|
||||
corner_radius_bottom_left = 30
|
||||
|
||||
[node name="DeathScreen" type="Control"]
|
||||
layout_mode = 3
|
||||
anchors_preset = 0
|
||||
offset_right = 40.0
|
||||
offset_bottom = 40.0
|
||||
script = ExtResource("1_uhw3s")
|
||||
|
||||
[node name="Background color" type="ColorRect" parent="."]
|
||||
layout_mode = 0
|
||||
offset_right = 800.0
|
||||
offset_bottom = 1200.0
|
||||
theme = SubResource("Theme_uhw3s")
|
||||
color = Color(0, 0, 0.282353, 0.25098)
|
||||
|
||||
[node name="Container" type="VBoxContainer" parent="."]
|
||||
layout_mode = 0
|
||||
offset_right = 800.0
|
||||
offset_bottom = 1200.0
|
||||
|
||||
[node name="Margin" type="MarginContainer" parent="Container"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/margin_top = 100
|
||||
|
||||
[node name="Game Over text" type="Label" parent="Container/Margin"]
|
||||
layout_mode = 2
|
||||
theme_override_fonts/font = ExtResource("1_aftac")
|
||||
theme_override_font_sizes/font_size = 80
|
||||
text = "Game Over"
|
||||
horizontal_alignment = 1
|
||||
uppercase = true
|
||||
|
||||
[node name="MarginContainer" type="MarginContainer" parent="Container"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/margin_top = 100
|
||||
theme_override_constants/margin_bottom = 100
|
||||
|
||||
[node name="Death-message" type="RichTextLabel" parent="Container/MarginContainer"]
|
||||
custom_minimum_size = Vector2(0, 500)
|
||||
layout_mode = 2
|
||||
theme_override_colors/default_color = Color(0.972992, 0.0050383, 0.113475, 1)
|
||||
theme_override_fonts/normal_font = ExtResource("1_aftac")
|
||||
theme_override_font_sizes/normal_font_size = 50
|
||||
text = "You died by leaving the mission area"
|
||||
autowrap_mode = 2
|
||||
horizontal_alignment = 1
|
||||
|
||||
[node name="HSplitContainer" type="HBoxContainer" parent="Container"]
|
||||
custom_minimum_size = Vector2(0, 200)
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = 100
|
||||
|
||||
[node name="MarginContainer" type="MarginContainer" parent="Container/HSplitContainer"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/margin_left = 50
|
||||
|
||||
[node name="Menu Button" type="Button" parent="Container/HSplitContainer/MarginContainer"]
|
||||
custom_minimum_size = Vector2(300, 0)
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
theme_override_fonts/font = ExtResource("1_aftac")
|
||||
theme_override_font_sizes/font_size = 20
|
||||
theme_override_styles/normal = SubResource("StyleBoxFlat_scrbe")
|
||||
action_mode = 0
|
||||
text = "Go to Level Select"
|
||||
|
||||
[node name="MarginContainer2" type="MarginContainer" parent="Container/HSplitContainer"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/margin_right = 50
|
||||
|
||||
[node name="Respawn Button" type="Button" parent="Container/HSplitContainer/MarginContainer2"]
|
||||
custom_minimum_size = Vector2(300, 0)
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
theme_override_fonts/font = ExtResource("1_aftac")
|
||||
theme_override_font_sizes/font_size = 20
|
||||
theme_override_styles/normal = SubResource("StyleBoxFlat_scrbe")
|
||||
action_mode = 0
|
||||
text = "Respawn"
|
||||
13
rund-um-die-welten/UI Elements/menu_background.tscn
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
[gd_scene load_steps=2 format=3 uid="uid://cr840jx5klwj6"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://qfpxjy52sobd" path="res://assets/Menu.png" id="1_hluep"]
|
||||
|
||||
[node name="menu_background" type="Node2D"]
|
||||
texture_filter = 1
|
||||
scale = Vector2(4, 4)
|
||||
metadata/_edit_vertical_guides_ = [-666.0]
|
||||
|
||||
[node name="background" type="Sprite2D" parent="."]
|
||||
z_index = -1
|
||||
position = Vector2(240, 135)
|
||||
texture = ExtResource("1_hluep")
|
||||
11
rund-um-die-welten/UI Elements/scene_utils.gd
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
extends Node2D
|
||||
|
||||
|
||||
@export var pink_button_state_on_start = false
|
||||
@export var orange_button_state_on_start = false
|
||||
@export var green_button_state_on_start = false
|
||||
|
||||
func _ready() -> void:
|
||||
GlobalVariables.set_button_to("pink", pink_button_state_on_start)
|
||||
GlobalVariables.set_button_to("orange", orange_button_state_on_start)
|
||||
GlobalVariables.set_button_to("green", green_button_state_on_start)
|
||||
1
rund-um-die-welten/UI Elements/scene_utils.gd.uid
Normal file
|
|
@ -0,0 +1 @@
|
|||
uid://ddj07i3suymq8
|
||||
48
rund-um-die-welten/UI Elements/scene_utils.tscn
Normal file
|
|
@ -0,0 +1,48 @@
|
|||
[gd_scene load_steps=5 format=3 uid="uid://b72obu30gqg1g"]
|
||||
|
||||
[ext_resource type="Script" path="res://UI Elements/scene_utils.gd" id="1_mcwqx"]
|
||||
[ext_resource type="PackedScene" uid="uid://c7lkpcfoqf0xu" path="res://UI Elements/boost_cooldown.tscn" id="2_mcwqx"]
|
||||
[ext_resource type="Texture2D" uid="uid://d2mvgcdqag2dh" path="res://assets/border.png" id="2_o0c6u"]
|
||||
[ext_resource type="Texture2D" uid="uid://b645w4bad52ab" path="res://assets/Background.png" id="3_mcwqx"]
|
||||
|
||||
[node name="scene_utils" type="Node2D"]
|
||||
texture_filter = 1
|
||||
scale = Vector2(4, 4)
|
||||
script = ExtResource("1_mcwqx")
|
||||
metadata/_edit_vertical_guides_ = [-666.0]
|
||||
|
||||
[node name="border" type="Node2D" parent="."]
|
||||
top_level = true
|
||||
scale = Vector2(4, 4)
|
||||
|
||||
[node name="Sprite2D2" type="Sprite2D" parent="border"]
|
||||
position = Vector2(252.5, 5)
|
||||
scale = Vector2(2.02734, 1)
|
||||
texture = ExtResource("2_o0c6u")
|
||||
|
||||
[node name="Sprite2D3" type="Sprite2D" parent="border"]
|
||||
position = Vector2(5, 137.475)
|
||||
rotation = -1.5708
|
||||
scale = Vector2(1.14824, 1)
|
||||
texture = ExtResource("2_o0c6u")
|
||||
|
||||
[node name="Sprite2D4" type="Sprite2D" parent="border"]
|
||||
position = Vector2(475, 136.739)
|
||||
rotation = 1.5708
|
||||
scale = Vector2(1.13711, 1)
|
||||
texture = ExtResource("2_o0c6u")
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="border"]
|
||||
position = Vector2(242.417, 265)
|
||||
rotation = 3.14159
|
||||
scale = Vector2(1.94271, 1)
|
||||
texture = ExtResource("2_o0c6u")
|
||||
|
||||
[node name="boost_cooldown" parent="." instance=ExtResource("2_mcwqx")]
|
||||
top_level = true
|
||||
position = Vector2(-66, 805)
|
||||
|
||||
[node name="background" type="Sprite2D" parent="."]
|
||||
z_index = -1
|
||||
position = Vector2(240, 135)
|
||||
texture = ExtResource("3_mcwqx")
|
||||
44
rund-um-die-welten/UI Elements/ui_manager.gd
Normal file
|
|
@ -0,0 +1,44 @@
|
|||
extends CanvasLayer
|
||||
|
||||
@onready var death_screen = $DeathScreen
|
||||
@onready var pause_menu = $PauseMenu
|
||||
@onready var win_screen = $WinScreen
|
||||
|
||||
func _ready():
|
||||
death_screen.visible = false
|
||||
pause_menu.visible = false
|
||||
win_screen.visible = false
|
||||
GlobalVariables.game_over.connect(show_death_screen)
|
||||
GlobalVariables.level_done.connect(show_win_screen)
|
||||
|
||||
# === Death Screen ===
|
||||
func show_death_screen(game_over_message):
|
||||
death_screen.change_death_message(game_over_message)
|
||||
death_screen.visible = true
|
||||
get_tree().paused = true # Pause the game
|
||||
# Optional: Play sound or animation
|
||||
|
||||
func hide_death_screen():
|
||||
death_screen.visible = false
|
||||
get_tree().paused = false
|
||||
|
||||
|
||||
# === Win Screen ===
|
||||
func show_win_screen(win_message):
|
||||
win_screen.change_win_message(win_message)
|
||||
win_screen.visible = true
|
||||
get_tree().paused = true # Pause the game
|
||||
# Optional: Play sound or animation
|
||||
|
||||
func hide_win_screen():
|
||||
win_screen.visible = false
|
||||
get_tree().paused = false
|
||||
|
||||
|
||||
# === Pause Menu ===
|
||||
func toggle_pause():
|
||||
var is_paused = get_tree().paused
|
||||
get_tree().paused = !is_paused
|
||||
pause_menu.visible = !is_paused
|
||||
|
||||
|
||||
1
rund-um-die-welten/UI Elements/ui_manager.gd.uid
Normal file
|
|
@ -0,0 +1 @@
|
|||
uid://2g7tin6vwfnh
|
||||
23
rund-um-die-welten/UI Elements/ui_manager.tscn
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
[gd_scene load_steps=4 format=3 uid="uid://cgpe6gqsmywoy"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://2g7tin6vwfnh" path="res://UI Elements/ui_manager.gd" id="1_6b5j3"]
|
||||
[ext_resource type="PackedScene" uid="uid://d2lnhx65toxbs" path="res://UI Elements/death_screen.tscn" id="2_74anh"]
|
||||
[ext_resource type="PackedScene" path="res://UI Elements/win_screen.tscn" id="3_74anh"]
|
||||
|
||||
[node name="UI manager" type="CanvasLayer"]
|
||||
process_mode = 3
|
||||
layer = 10
|
||||
script = ExtResource("1_6b5j3")
|
||||
|
||||
[node name="PauseMenu" type="Control" parent="."]
|
||||
visible = false
|
||||
layout_mode = 3
|
||||
anchors_preset = 0
|
||||
offset_right = 40.0
|
||||
offset_bottom = 40.0
|
||||
|
||||
[node name="DeathScreen" parent="." instance=ExtResource("2_74anh")]
|
||||
offset_right = 0.0
|
||||
offset_bottom = 0.0
|
||||
|
||||
[node name="WinScreen" parent="." instance=ExtResource("3_74anh")]
|
||||
18
rund-um-die-welten/UI Elements/win_screen.gd
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
extends Control
|
||||
|
||||
func _ready() -> void:
|
||||
$"Container/HSplitContainer/MarginContainer2/Respawn Button".pressed.connect(_on_respawn_button_pressed)
|
||||
$"Container/HSplitContainer/MarginContainer/Menu Button".pressed.connect(_on_menu_button_pressed)
|
||||
|
||||
func _on_respawn_button_pressed():
|
||||
GlobalVariables.restart_level()
|
||||
UiManager.hide_win_screen()
|
||||
|
||||
|
||||
func _on_menu_button_pressed():
|
||||
GlobalVariables.goto_level_select()
|
||||
UiManager.hide_win_screen()
|
||||
|
||||
func change_win_message(win_message: String):
|
||||
$"Container/MarginContainer/Death-message".text = win_message
|
||||
|
||||
1
rund-um-die-welten/UI Elements/win_screen.gd.uid
Normal file
|
|
@ -0,0 +1 @@
|
|||
uid://dhppy0k265ets
|
||||
92
rund-um-die-welten/UI Elements/win_screen.tscn
Normal file
|
|
@ -0,0 +1,92 @@
|
|||
[gd_scene load_steps=5 format=3 uid="uid://dfhxvtjqrh5wo"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://dhppy0k265ets" path="res://UI Elements/win_screen.gd" id="1_ar7cn"]
|
||||
[ext_resource type="FontFile" uid="uid://d2ucaasj8wmwj" path="res://Fonts/BRIGHTSTER-Bold-1.ttf" id="2_r12a3"]
|
||||
|
||||
[sub_resource type="Theme" id="Theme_uhw3s"]
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_scrbe"]
|
||||
bg_color = Color(0.303939, 0.67889, 0.576316, 1)
|
||||
corner_radius_top_left = 30
|
||||
corner_radius_top_right = 30
|
||||
corner_radius_bottom_right = 30
|
||||
corner_radius_bottom_left = 30
|
||||
|
||||
[node name="WinScreen" type="Control"]
|
||||
layout_mode = 3
|
||||
anchors_preset = 0
|
||||
offset_right = 40.0
|
||||
offset_bottom = 40.0
|
||||
script = ExtResource("1_ar7cn")
|
||||
|
||||
[node name="Background color" type="ColorRect" parent="."]
|
||||
layout_mode = 0
|
||||
offset_right = 800.0
|
||||
offset_bottom = 1200.0
|
||||
theme = SubResource("Theme_uhw3s")
|
||||
color = Color(0, 0, 0.282353, 0.25098)
|
||||
|
||||
[node name="Container" type="VBoxContainer" parent="."]
|
||||
layout_mode = 0
|
||||
offset_right = 800.0
|
||||
offset_bottom = 1200.0
|
||||
|
||||
[node name="Margin" type="MarginContainer" parent="Container"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/margin_top = 100
|
||||
|
||||
[node name="Game Over text" type="Label" parent="Container/Margin"]
|
||||
layout_mode = 2
|
||||
theme_override_fonts/font = ExtResource("2_r12a3")
|
||||
theme_override_font_sizes/font_size = 80
|
||||
text = "Level Done"
|
||||
horizontal_alignment = 1
|
||||
uppercase = true
|
||||
|
||||
[node name="MarginContainer" type="MarginContainer" parent="Container"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/margin_top = 100
|
||||
theme_override_constants/margin_bottom = 100
|
||||
|
||||
[node name="Death-message" type="RichTextLabel" parent="Container/MarginContainer"]
|
||||
custom_minimum_size = Vector2(0, 500)
|
||||
layout_mode = 2
|
||||
theme_override_colors/default_color = Color(0.972992, 0.0050383, 0.113475, 1)
|
||||
theme_override_fonts/normal_font = ExtResource("2_r12a3")
|
||||
theme_override_font_sizes/normal_font_size = 50
|
||||
text = "You completed your objective by crashing into the sun"
|
||||
autowrap_mode = 2
|
||||
horizontal_alignment = 1
|
||||
|
||||
[node name="HSplitContainer" type="HBoxContainer" parent="Container"]
|
||||
custom_minimum_size = Vector2(0, 200)
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = 100
|
||||
|
||||
[node name="MarginContainer" type="MarginContainer" parent="Container/HSplitContainer"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/margin_left = 50
|
||||
|
||||
[node name="Menu Button" type="Button" parent="Container/HSplitContainer/MarginContainer"]
|
||||
custom_minimum_size = Vector2(300, 0)
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
theme_override_fonts/font = ExtResource("2_r12a3")
|
||||
theme_override_font_sizes/font_size = 20
|
||||
theme_override_styles/normal = SubResource("StyleBoxFlat_scrbe")
|
||||
action_mode = 0
|
||||
text = "Go to Level Select"
|
||||
|
||||
[node name="MarginContainer2" type="MarginContainer" parent="Container/HSplitContainer"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/margin_right = 50
|
||||
|
||||
[node name="Respawn Button" type="Button" parent="Container/HSplitContainer/MarginContainer2"]
|
||||
custom_minimum_size = Vector2(300, 0)
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
theme_override_fonts/font = ExtResource("2_r12a3")
|
||||
theme_override_font_sizes/font_size = 20
|
||||
theme_override_styles/normal = SubResource("StyleBoxFlat_scrbe")
|
||||
action_mode = 0
|
||||
text = "Respawn"
|
||||
BIN
rund-um-die-welten/assets/.DS_Store
vendored
Normal file
BIN
rund-um-die-welten/assets/Background.png
Normal file
|
After Width: | Height: | Size: 65 KiB |
BIN
rund-um-die-welten/assets/ButtonRessources/button-area-green.png
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 1.2 KiB |
BIN
rund-um-die-welten/assets/ButtonRessources/button-area-pink.png
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
BIN
rund-um-die-welten/assets/ButtonRessources/button-area.png
Normal file
|
After Width: | Height: | Size: 426 B |
|
After Width: | Height: | Size: 575 B |
|
After Width: | Height: | Size: 572 B |
|
After Width: | Height: | Size: 576 B |
|
After Width: | Height: | Size: 387 B |
|
After Width: | Height: | Size: 385 B |
BIN
rund-um-die-welten/assets/DeathLaserRessources/space-station.png
Normal file
|
After Width: | Height: | Size: 383 B |
BIN
rund-um-die-welten/assets/Menu.png
Normal file
|
After Width: | Height: | Size: 62 KiB |
BIN
rund-um-die-welten/assets/battlecruiser-Sheet.png
Normal file
|
After Width: | Height: | Size: 538 B |
BIN
rund-um-die-welten/assets/battlecruiser1.png
Normal file
|
After Width: | Height: | Size: 450 B |
BIN
rund-um-die-welten/assets/border-Sheet.png
Normal file
|
After Width: | Height: | Size: 539 B |
BIN
rund-um-die-welten/assets/border.png
Normal file
|
After Width: | Height: | Size: 162 B |
BIN
rund-um-die-welten/assets/bowling-planet-Sheet.png
Normal file
|
After Width: | Height: | Size: 727 B |
BIN
rund-um-die-welten/assets/button-planet-Sheet.png
Normal file
|
After Width: | Height: | Size: 1.4 KiB |
BIN
rund-um-die-welten/assets/collectable.png
Normal file
|
After Width: | Height: | Size: 333 B |
BIN
rund-um-die-welten/assets/collectable_grayscale.png
Normal file
|
After Width: | Height: | Size: 269 B |
BIN
rund-um-die-welten/assets/comet-Sheet.png
Normal file
|
After Width: | Height: | Size: 515 B |
BIN
rund-um-die-welten/assets/cooldown_bar_empty.png
Normal file
|
After Width: | Height: | Size: 368 B |
BIN
rund-um-die-welten/assets/cooldown_bar_full.png
Normal file
|
After Width: | Height: | Size: 376 B |
BIN
rund-um-die-welten/assets/death_star_goal.png
Normal file
|
After Width: | Height: | Size: 357 B |
BIN
rund-um-die-welten/assets/deathstar-Sheet.png
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
BIN
rund-um-die-welten/assets/earth-Sheet.png
Normal file
|
After Width: | Height: | Size: 7.2 KiB |