Buttons on screens work and most screens now have a continue/quit button.
This commit is contained in:
parent
532366091b
commit
17f05e7093
9 changed files with 165 additions and 17 deletions
|
|
@ -1,27 +1,53 @@
|
|||
{
|
||||
"DEATH": {
|
||||
"layout": [
|
||||
"[=text]"
|
||||
"[_|_|_|_|_|_]",
|
||||
"[_|_|_|*%(200,100)buttons|_|_]"
|
||||
],
|
||||
"background": "death_scene",
|
||||
"actors": [
|
||||
],
|
||||
"fixtures": [
|
||||
]
|
||||
],
|
||||
"buttons": {
|
||||
"layout": [
|
||||
"[_]",
|
||||
"[_|=*%(300, 100)Restart|_|_|_]",
|
||||
"[_|=*%(300, 100)Quit|_|_|_]",
|
||||
"[_]"
|
||||
],
|
||||
"actions": {
|
||||
"Restart": 43,
|
||||
"Quit": 38
|
||||
}
|
||||
}
|
||||
},
|
||||
"NEXT_LEVEL": {
|
||||
"layout": [
|
||||
"[=text]"
|
||||
"[_|_|_|_|_|_]",
|
||||
"[_|_|_|*%(200,100)buttons|_|_]"
|
||||
],
|
||||
"background": "next_level_scene",
|
||||
"actors": [
|
||||
],
|
||||
"fixtures": [
|
||||
]
|
||||
],
|
||||
"buttons": {
|
||||
"layout": [
|
||||
"[_]",
|
||||
"[_|=*%(300, 100)Continue|_|_|_]",
|
||||
"[_|=*%(300, 100)Quit|_|_|_]",
|
||||
"[_]"
|
||||
],
|
||||
"actions": {
|
||||
"Continue": 43,
|
||||
"Quit": 38
|
||||
}
|
||||
}
|
||||
},
|
||||
"STARTING": {
|
||||
"layout": [
|
||||
"[_|*%(200, 200)ag_bot|_|*%(200,100)speech|_|_]",
|
||||
"[_|*%(200, 200)ag_bot|_|=*%(200,100)speech|_|_]",
|
||||
"[_|_|_ |*%(200,100)buttons|_|_]"
|
||||
],
|
||||
"background": "starting_scene",
|
||||
|
|
@ -51,16 +77,43 @@
|
|||
"at_mid": false,
|
||||
"flipped": false
|
||||
}
|
||||
]
|
||||
],
|
||||
"buttons": {
|
||||
"layout": [
|
||||
"[_]",
|
||||
"[_|=*%(300, 100)Start|_|_|_]",
|
||||
"[_|=*%(300, 100)About|_|_|_]",
|
||||
"[_|=*%(300, 100)Quit|_|_|_]",
|
||||
"[_]"
|
||||
],
|
||||
"actions": {
|
||||
"Start": 43,
|
||||
"About": 43,
|
||||
"Quit": 38
|
||||
}
|
||||
}
|
||||
},
|
||||
"WIN": {
|
||||
"layout": [
|
||||
"[=text]"
|
||||
"[_|_|_|_|_|_]",
|
||||
"[_|_|_|*%(200,100)buttons|_|_]"
|
||||
],
|
||||
"background": "win_scene",
|
||||
"actors": [
|
||||
],
|
||||
"fixtures": [
|
||||
]
|
||||
],
|
||||
"buttons": {
|
||||
"layout": [
|
||||
"[_]",
|
||||
"[_|=*%(300, 100)Restart|_|_|_]",
|
||||
"[_|=*%(300, 100)Quit|_|_|_]",
|
||||
"[_]"
|
||||
],
|
||||
"actions": {
|
||||
"Restart": 43,
|
||||
"Quit": 38
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Binary file not shown.
|
Before Width: | Height: | Size: 252 KiB After Width: | Height: | Size: 252 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 203 KiB After Width: | Height: | Size: 168 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 194 KiB After Width: | Height: | Size: 179 KiB |
Loading…
Add table
Add a link
Reference in a new issue