Added button on the PlayScratt file to play level
yeah that part was not in the previous commit lolmain
parent
2da13d1360
commit
5fbe9d90ac
|
@ -12,9 +12,16 @@ margin_right = 499.0
|
||||||
margin_bottom = 283.0
|
margin_bottom = 283.0
|
||||||
rect_scale = Vector2( 2, 2 )
|
rect_scale = Vector2( 2, 2 )
|
||||||
|
|
||||||
[node name="Back" type="Button" parent="VBoxContainer"]
|
[node name="PlayPlay" type="Button" parent="VBoxContainer"]
|
||||||
margin_right = 132.0
|
margin_right = 132.0
|
||||||
margin_bottom = 20.0
|
margin_bottom = 20.0
|
||||||
|
text = "Play a game"
|
||||||
|
|
||||||
|
[node name="Back2" type="Button" parent="VBoxContainer"]
|
||||||
|
margin_top = 24.0
|
||||||
|
margin_right = 132.0
|
||||||
|
margin_bottom = 44.0
|
||||||
text = "Back"
|
text = "Back"
|
||||||
|
|
||||||
[connection signal="pressed" from="VBoxContainer/Back" to="." method="_on_Back_pressed"]
|
[connection signal="pressed" from="VBoxContainer/PlayPlay" to="." method="_on_PlayPlay_pressed"]
|
||||||
|
[connection signal="pressed" from="VBoxContainer/Back2" to="." method="_on_Back_pressed"]
|
||||||
|
|
Loading…
Reference in New Issue