mirror of
https://github.com/zoriya/ForecastingVillage.git
synced 2026-05-28 17:04:44 +00:00
adding a fonctionnal game over screen
This commit is contained in:
+1
-1
Submodule lib/gamacon updated: c9e77951c8...ebfdd0b4e9
@@ -140,6 +140,8 @@
|
||||
<sprite name="save" src="assets/ui/save.png" />
|
||||
<sprite name="rain" src="assets/ui/rain.png" />
|
||||
|
||||
<sprite name="loading" src="assets/ui/background_rpg.png" />
|
||||
|
||||
<enemies>
|
||||
<enemy name="bee" src="prefabs/enemies/bee.gcprefab" />
|
||||
</enemies>
|
||||
|
||||
@@ -1,12 +1,11 @@
|
||||
<gc_scene>
|
||||
<data>
|
||||
<sprite name="panel" src="assets/ui/sample_background.png" />
|
||||
<font src="assets/fonts/roboto.ttf" />
|
||||
</data>
|
||||
<gc_entities>
|
||||
<camera x="0" y="0" />
|
||||
<panel src="background" x="50%" y="50%" width="100%" height="100%" tag="game_over" />
|
||||
<panel src="panel" x="50%" y="60%" width="50%" height="55%" tag="game_over" />
|
||||
<panel src="panel" x="50%" y="55%" width="50%" height="70%" tag="game_over" />
|
||||
<text text="GAME OVER" x="50%" y="30%" resize="false" tag="game_over"/>
|
||||
<button text="Continue" x="50%" y="47%" click="hide_game_over" color="black" width="30%" height="20%" resize="false" tag="game_over" />
|
||||
<button text="Restart Game" x="50%" y="61%" click="start_button" color="black" width="30%" height="20%" resize="false" tag="game_over" />
|
||||
<button text="Quit game" x="50%" y="75s%" click="quit" color="black" width="30%" height="20%" resize="false" tag="game_over" />
|
||||
|
||||
Reference in New Issue
Block a user