Files
idlebreakout/scenes/level.tscn
T

88 lines
3.0 KiB
Plaintext
Raw Normal View History

[gd_scene load_steps=11 format=3 uid="uid://bmscox3qtwvs2"]
2024-07-23 17:47:14 +02:00
[ext_resource type="Texture2D" uid="uid://c7wvhwsys1ll4" path="res://resources/backgrounds/levelbg.webp" id="1_7ct6t"]
[ext_resource type="FontFile" uid="uid://dxgnofummhosw" path="res://fonts/play_bold.ttf" id="2_musvo"]
[ext_resource type="PackedScene" uid="uid://sl3jbnopo0yh" path="res://balls/basic/ball_basic.tscn" id="3_14yi2"]
[ext_resource type="Script" path="res://scenes/world_boundary.gd" id="3_w4mye"]
[ext_resource type="PackedScene" uid="uid://cbygje4vi2rkv" path="res://boundaries/world_boundary.tscn" id="4_455ct"]
[ext_resource type="PackedScene" uid="uid://c1i1fp3xbp6ly" path="res://blocks/block.tscn" id="7_7fnx3"]
[sub_resource type="WorldBoundaryShape2D" id="WorldBoundaryShape2D_ybmo2"]
normal = Vector2(0, 1)
distance = -510.0
[sub_resource type="WorldBoundaryShape2D" id="WorldBoundaryShape2D_k0bca"]
distance = -510.0
[sub_resource type="WorldBoundaryShape2D" id="WorldBoundaryShape2D_4nfnd"]
normal = Vector2(1, 0)
distance = -750.0
[sub_resource type="WorldBoundaryShape2D" id="WorldBoundaryShape2D_0wr4g"]
normal = Vector2(-1, 0)
distance = -750.0
2024-07-23 16:32:35 +02:00
[node name="Level" type="Node2D"]
2024-07-23 17:47:14 +02:00
[node name="Camera2D" type="Camera2D" parent="."]
2024-07-23 17:47:14 +02:00
position = Vector2(960, 540)
[node name="TextureRect" type="TextureRect" parent="."]
offset_right = 1920.0
offset_bottom = 1080.0
2024-07-23 17:47:14 +02:00
texture = ExtResource("1_7ct6t")
[node name="GUI" type="VBoxContainer" parent="."]
offset_left = 20.0
offset_top = 20.0
offset_right = 360.0
offset_bottom = 1060.0
[node name="Title0" type="Label" parent="GUI"]
layout_mode = 2
theme_override_fonts/font = ExtResource("2_musvo")
theme_override_font_sizes/font_size = 154
text = "IDLE"
horizontal_alignment = 1
[node name="Title1" type="Label" parent="GUI"]
layout_mode = 2
theme_override_fonts/font = ExtResource("2_musvo")
theme_override_font_sizes/font_size = 64
text = "BREAKOUT"
horizontal_alignment = 1
[node name="GameContent" type="Node2D" parent="."]
[node name="WorldBoundary" type="StaticBody2D" parent="GameContent"]
position = Vector2(1140, 540)
collision_layer = 2
collision_mask = 4
script = ExtResource("3_w4mye")
[node name="Top" parent="GameContent/WorldBoundary" instance=ExtResource("4_455ct")]
shape = SubResource("WorldBoundaryShape2D_ybmo2")
[node name="Bottom" parent="GameContent/WorldBoundary" instance=ExtResource("4_455ct")]
shape = SubResource("WorldBoundaryShape2D_k0bca")
[node name="Left" parent="GameContent/WorldBoundary" instance=ExtResource("4_455ct")]
shape = SubResource("WorldBoundaryShape2D_4nfnd")
boundary_invert_axis = 0
[node name="Right" parent="GameContent/WorldBoundary" instance=ExtResource("4_455ct")]
shape = SubResource("WorldBoundaryShape2D_0wr4g")
boundary_invert_axis = 0
[node name="Balls" type="Node2D" parent="GameContent"]
[node name="Ball" parent="GameContent/Balls" instance=ExtResource("3_14yi2")]
position = Vector2(791, 656)
motion_mode = 0
floor_stop_on_slope = true
[node name="Blocks" type="Node2D" parent="GameContent"]
[node name="Block" parent="GameContent/Blocks" instance=ExtResource("7_7fnx3")]
position = Vector2(907, 752)