Adding a panel to the main menu

This commit is contained in:
AnonymusRaccoon
2020-02-27 13:32:51 +01:00
parent ac195e22ce
commit 77f3e481b1
4 changed files with 5 additions and 5 deletions
Binary file not shown.

After

Width:  |  Height:  |  Size: 625 B

+3 -3
View File
@@ -1,12 +1,12 @@
<gc_scene>
<data>
<sprite src="assets/sprites/grass.png" />
<sprite name="panel" src="assets/ui/panel.png" />
<sprite name="button_background" src="assets/ui/button_background.png" />
<font src="assets/fonts/roboto.ttf" />
</data>
<gc_entities>
<panel src="assets/sprites/grass.png" x="50%" y="50%" width="100%" height="100%"/>
<text text="DPR tyccoon" x="50%" y="25%"/>
<panel src="panel" x="50%" y="40%" width="40%" height="60%"/>
<text text="DPR tycoon" x="50%" y="25%"/>
<button text="Start Game" x="50%" y="50%" click="start_button" color="black" />
</gc_entities>
</gc_scene>