mirror of
https://github.com/creyD/ludum_dare_46.git
synced 2026-06-13 22:12:23 +02:00
Added Wincondition and button to transition to winscreen, also changed spawnbehavior of new heroes
This commit is contained in:
@@ -15,6 +15,11 @@
|
||||
[node name="World" type="Node2D"]
|
||||
pause_mode = 2
|
||||
script = ExtResource( 2 )
|
||||
__meta__ = {
|
||||
"_edit_horizontal_guides_": [ ],
|
||||
"_edit_vertical_guides_": [ ]
|
||||
}
|
||||
WinRounds = 5
|
||||
HeroTemplate = ExtResource( 1 )
|
||||
|
||||
[node name="WallSprite" type="Sprite" parent="."]
|
||||
@@ -26,7 +31,6 @@ region_rect = Rect2( 0, 0, 1280, 720 )
|
||||
|
||||
[node name="Background" parent="." instance=ExtResource( 7 )]
|
||||
pause_mode = 1
|
||||
frame = 17
|
||||
|
||||
[node name="FloorTileMap" type="TileMap" parent="."]
|
||||
pause_mode = 1
|
||||
@@ -65,3 +69,12 @@ visible = false
|
||||
|
||||
[node name="SelectUpgradeUI" parent="CanvasLayer" instance=ExtResource( 9 )]
|
||||
visible = false
|
||||
|
||||
[node name="Win" type="Button" parent="CanvasLayer"]
|
||||
visible = false
|
||||
anchor_left = 1.0
|
||||
anchor_right = 1.0
|
||||
margin_left = -42.0
|
||||
margin_bottom = 24.0
|
||||
text = "Win"
|
||||
[connection signal="pressed" from="CanvasLayer/Win" to="." method="_on_Win_pressed"]
|
||||
|
||||
Reference in New Issue
Block a user