Moved top doors to accomodate original game levels

This commit is contained in:
2024-05-10 21:08:32 +01:00
parent d88f8a07fe
commit b180483437
3 changed files with 33 additions and 33 deletions

View File

@@ -423,7 +423,7 @@ func _on_pipes_door_opened(door) -> void:
match door: match door:
Pipes.TOP_LEFT: Pipes.TOP_LEFT:
var alien = _Alien.instantiate() var alien = _Alien.instantiate()
alien.position = Vector2(128, -12) alien.position = Vector2(96, -12)
alien.velocity = Vector2(0, 50) alien.velocity = Vector2(0, 50)
alien.alien_died.connect(_alien_died) alien.alien_died.connect(_alien_died)
AliensNode.add_child(alien) AliensNode.add_child(alien)
@@ -431,7 +431,7 @@ func _on_pipes_door_opened(door) -> void:
pass pass
Pipes.TOP_RIGHT: Pipes.TOP_RIGHT:
var alien = _Alien.instantiate() var alien = _Alien.instantiate()
alien.position = Vector2(320, -12) alien.position = Vector2(352, -12)
alien.velocity = Vector2(0, 50) alien.velocity = Vector2(0, 50)
alien.alien_died.connect(_alien_died) alien.alien_died.connect(_alien_died)
AliensNode.add_child(alien) AliensNode.add_child(alien)

View File

@@ -44,8 +44,8 @@ distance = -360.0
[sub_resource type="ShaderMaterial" id="ShaderMaterial_acp7s"] [sub_resource type="ShaderMaterial" id="ShaderMaterial_acp7s"]
shader = ExtResource("12_ljnes") shader = ExtResource("12_ljnes")
shader_parameter/rect_global_position = Vector2(0, 0) shader_parameter/rect_global_position = Vector2(0, 0.210294)
shader_parameter/rect_size = Vector2(150, 25) shader_parameter/rect_size = Vector2(448, 25)
shader_parameter/ColourTexture = ExtResource("13_u52d1") shader_parameter/ColourTexture = ExtResource("13_u52d1")
[sub_resource type="ShaderMaterial" id="ShaderMaterial_cxvt8"] [sub_resource type="ShaderMaterial" id="ShaderMaterial_cxvt8"]
@@ -426,36 +426,36 @@ metadata/open = Vector2(432, 265)
metadata/closed = Vector2(432, 312) metadata/closed = Vector2(432, 312)
[node name="TopDoor1L" type="TextureRect" parent="Pipes"] [node name="TopDoor1L" type="TextureRect" parent="Pipes"]
offset_left = 112.0 offset_left = 80.0
offset_right = 128.0 offset_right = 96.0
offset_bottom = 16.0 offset_bottom = 16.0
texture = ExtResource("15_n2p48") texture = ExtResource("15_n2p48")
metadata/open = Vector2(96, 0) metadata/open = Vector2(64, 0)
metadata/closed = Vector2(112, 0) metadata/closed = Vector2(80, 0)
[node name="TopDoor1R" type="TextureRect" parent="Pipes"] [node name="TopDoor1R" type="TextureRect" parent="Pipes"]
offset_left = 128.0 offset_left = 96.0
offset_right = 144.0 offset_right = 112.0
offset_bottom = 16.0 offset_bottom = 16.0
texture = ExtResource("15_n2p48") texture = ExtResource("15_n2p48")
metadata/open = Vector2(144, 0) metadata/open = Vector2(112, 0)
metadata/closed = Vector2(128, 0) metadata/closed = Vector2(96, 0)
[node name="TopDoor2L" type="TextureRect" parent="Pipes"] [node name="TopDoor2L" type="TextureRect" parent="Pipes"]
offset_left = 304.0 offset_left = 336.0
offset_right = 320.0 offset_right = 352.0
offset_bottom = 16.0 offset_bottom = 16.0
texture = ExtResource("15_n2p48") texture = ExtResource("15_n2p48")
metadata/open = Vector2(288, 0) metadata/open = Vector2(320, 0)
metadata/closed = Vector2(304, 0) metadata/closed = Vector2(336, 0)
[node name="TopDoor2R" type="TextureRect" parent="Pipes"] [node name="TopDoor2R" type="TextureRect" parent="Pipes"]
offset_left = 320.0 offset_left = 352.0
offset_right = 336.0 offset_right = 368.0
offset_bottom = 16.0 offset_bottom = 16.0
texture = ExtResource("15_n2p48") texture = ExtResource("15_n2p48")
metadata/open = Vector2(336, 0) metadata/open = Vector2(368, 0)
metadata/closed = Vector2(320, 0) metadata/closed = Vector2(352, 0)
[node name="LeftWall" type="TextureRect" parent="Pipes"] [node name="LeftWall" type="TextureRect" parent="Pipes"]
offset_top = 16.0 offset_top = 16.0
@@ -527,43 +527,43 @@ offset_bottom = 16.0
texture = ExtResource("20_fr68l") texture = ExtResource("20_fr68l")
[node name="LeftJoin5" type="TextureRect" parent="Pipes"] [node name="LeftJoin5" type="TextureRect" parent="Pipes"]
offset_left = 144.0 offset_left = 112.0
offset_right = 160.0 offset_right = 128.0
offset_bottom = 16.0 offset_bottom = 16.0
texture = ExtResource("20_fr68l") texture = ExtResource("20_fr68l")
[node name="LeftJoin11" type="TextureRect" parent="Pipes"] [node name="LeftJoin11" type="TextureRect" parent="Pipes"]
offset_left = 336.0 offset_left = 368.0
offset_right = 352.0 offset_right = 384.0
offset_bottom = 16.0 offset_bottom = 16.0
texture = ExtResource("20_fr68l") texture = ExtResource("20_fr68l")
[node name="LeftJoin6" type="TextureRect" parent="Pipes"] [node name="LeftJoin6" type="TextureRect" parent="Pipes"]
offset_left = 96.0 offset_left = 64.0
offset_right = 112.0 offset_right = 80.0
offset_bottom = 16.0 offset_bottom = 16.0
texture = ExtResource("21_hha8q") texture = ExtResource("21_hha8q")
[node name="LeftJoin9" type="TextureRect" parent="Pipes"] [node name="LeftJoin9" type="TextureRect" parent="Pipes"]
offset_left = 288.0 offset_left = 320.0
offset_right = 304.0 offset_right = 336.0
offset_bottom = 16.0 offset_bottom = 16.0
texture = ExtResource("21_hha8q") texture = ExtResource("21_hha8q")
[node name="LeftJoin4" type="TextureRect" parent="Pipes"] [node name="LeftJoin4" type="TextureRect" parent="Pipes"]
offset_left = 32.0 offset_left = 32.0
offset_right = 96.0 offset_right = 64.0
offset_bottom = 16.0 offset_bottom = 16.0
texture = ExtResource("15_n2p48") texture = ExtResource("15_n2p48")
[node name="LeftJoin8" type="TextureRect" parent="Pipes"] [node name="LeftJoin8" type="TextureRect" parent="Pipes"]
offset_left = 160.0 offset_left = 128.0
offset_right = 288.0 offset_right = 320.0
offset_bottom = 16.0 offset_bottom = 16.0
texture = ExtResource("15_n2p48") texture = ExtResource("15_n2p48")
[node name="LeftJoin12" type="TextureRect" parent="Pipes"] [node name="LeftJoin12" type="TextureRect" parent="Pipes"]
offset_left = 352.0 offset_left = 384.0
offset_right = 416.0 offset_right = 416.0
offset_bottom = 16.0 offset_bottom = 16.0
texture = ExtResource("15_n2p48") texture = ExtResource("15_n2p48")

View File

@@ -11,7 +11,7 @@ config_version=5
[application] [application]
config/name="Dunkanoid" config/name="Dunkanoid"
config/version="0.8.0" config/version="0.9.0"
run/main_scene="res://Intro.tscn" run/main_scene="res://Intro.tscn"
config/features=PackedStringArray("4.2", "Forward Plus") config/features=PackedStringArray("4.2", "Forward Plus")
run/max_fps=30 run/max_fps=30