Setup list map select

This commit is contained in:
stilobique-surface
2021-05-10 14:18:45 +02:00
parent 876d2d38c7
commit 62e0eff51c
3 changed files with 35 additions and 0 deletions
+3
View File
@@ -0,0 +1,3 @@
[gd_scene format=2]
[node name="Spatial" type="Spatial"]
+9
View File
@@ -3,3 +3,12 @@ extends Control
# Load scene warcraft
func _on_WarCraft_pressed():
Global.goto_scene("res://scenes/levels/WarCraft.tscn")
func _on_Lightmap_pressed():
Global.goto_scene("res://developers/aurelien/CheckLightmap.tscn")
func _on_Dagger_pressed():
Global.goto_scene("res://developers/jeremy/Dagger.tscn")
+23
View File
@@ -34,4 +34,27 @@ margin_bottom = 150.0
mouse_default_cursor_shape = 2
texture_normal = ExtResource( 2 )
[node name="Lightmap" type="TextureButton" parent="games/GridContainer"]
margin_top = 154.0
margin_right = 150.0
margin_bottom = 304.0
mouse_default_cursor_shape = 2
texture_normal = ExtResource( 2 )
[node name="Dagger" type="TextureButton" parent="games/GridContainer"]
margin_top = 308.0
margin_right = 150.0
margin_bottom = 458.0
mouse_default_cursor_shape = 2
texture_normal = ExtResource( 2 )
[node name="Label" type="Label" parent="games/GridContainer/Dagger"]
margin_right = 40.0
margin_bottom = 14.0
__meta__ = {
"_edit_use_anchors_": false
}
[connection signal="pressed" from="games/GridContainer/WarCraft" to="." method="_on_WarCraft_pressed"]
[connection signal="pressed" from="games/GridContainer/Lightmap" to="." method="_on_Lightmap_pressed"]
[connection signal="pressed" from="games/GridContainer/Dagger" to="." method="_on_Dagger_pressed"]