Setup list map select
This commit is contained in:
@@ -0,0 +1,3 @@
|
|||||||
|
[gd_scene format=2]
|
||||||
|
|
||||||
|
[node name="Spatial" type="Spatial"]
|
||||||
@@ -3,3 +3,12 @@ extends Control
|
|||||||
# Load scene warcraft
|
# Load scene warcraft
|
||||||
func _on_WarCraft_pressed():
|
func _on_WarCraft_pressed():
|
||||||
Global.goto_scene("res://scenes/levels/WarCraft.tscn")
|
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")
|
||||||
|
|||||||
@@ -34,4 +34,27 @@ margin_bottom = 150.0
|
|||||||
mouse_default_cursor_shape = 2
|
mouse_default_cursor_shape = 2
|
||||||
texture_normal = ExtResource( 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/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"]
|
||||||
|
|||||||
Reference in New Issue
Block a user