diff --git a/developers/jeremy/Dagger.tscn b/developers/jeremy/Dagger.tscn new file mode 100644 index 0000000..19bd56d --- /dev/null +++ b/developers/jeremy/Dagger.tscn @@ -0,0 +1,3 @@ +[gd_scene format=2] + +[node name="Spatial" type="Spatial"] diff --git a/scenes/UI/ChooseScene.gd b/scenes/UI/ChooseScene.gd index f67148f..b68380e 100644 --- a/scenes/UI/ChooseScene.gd +++ b/scenes/UI/ChooseScene.gd @@ -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") diff --git a/scenes/UI/ChooseScene.tscn b/scenes/UI/ChooseScene.tscn index bbdf270..36cbbb5 100644 --- a/scenes/UI/ChooseScene.tscn +++ b/scenes/UI/ChooseScene.tscn @@ -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"]