Mercurial > fife-parpg
annotate demos/shooter/gui/highscoredialog.xml @ 469:5994e61cdebd
Added a widget to be displayed after the player completes the game.
Renamed the showHighScoreDialog function to saveScore.
Player can no longer collide with the boss causing the boss to be destroyed. The player now gets destroyed and the boss takes no damage.
author | prock@33b003aa-7bff-0310-803a-e67f0ece8222 |
---|---|
date | Wed, 14 Apr 2010 17:42:24 +0000 |
parents | 4e58dab2fcdc |
children |
rev | line source |
---|---|
465
4e58dab2fcdc
Added the high score dialog to ask for players name (with no validation yet)
prock@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff
changeset
|
1 <Window title="High Score" size="500,500"> |
4e58dab2fcdc
Added the high score dialog to ask for players name (with no validation yet)
prock@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff
changeset
|
2 <VBox hexpand="1"> |
4e58dab2fcdc
Added the high score dialog to ask for players name (with no validation yet)
prock@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff
changeset
|
3 <HBox> |
4e58dab2fcdc
Added the high score dialog to ask for players name (with no validation yet)
prock@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff
changeset
|
4 <Label text="Name:" min_size="100, 10" /> |
4e58dab2fcdc
Added the high score dialog to ask for players name (with no validation yet)
prock@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff
changeset
|
5 <TextField name="name" text="" min_size="100, 10" /> |
4e58dab2fcdc
Added the high score dialog to ask for players name (with no validation yet)
prock@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff
changeset
|
6 </HBox> |
4e58dab2fcdc
Added the high score dialog to ask for players name (with no validation yet)
prock@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff
changeset
|
7 </VBox> |
4e58dab2fcdc
Added the high score dialog to ask for players name (with no validation yet)
prock@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff
changeset
|
8 <Spacer /> |
4e58dab2fcdc
Added the high score dialog to ask for players name (with no validation yet)
prock@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff
changeset
|
9 <HBox> |
4e58dab2fcdc
Added the high score dialog to ask for players name (with no validation yet)
prock@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff
changeset
|
10 <Button name="okay" text="Okay"/> |
4e58dab2fcdc
Added the high score dialog to ask for players name (with no validation yet)
prock@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff
changeset
|
11 </HBox> |
4e58dab2fcdc
Added the high score dialog to ask for players name (with no validation yet)
prock@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff
changeset
|
12 </Window> |