Initial commit
This commit is contained in:
commit
c630089742
4782 files changed
+178521
No files matched your search
@@ -0,0 +1,258 @@
|
||||
{
|
||||
"namespace": "pauseTrial",
|
||||
|
||||
"pause_screen@common.base_screen": {
|
||||
"button_mappings": [
|
||||
{
|
||||
"from_button_id": "button.menu_cancel",
|
||||
"to_button_id": "button.menu_exit",
|
||||
"mapping_type": "global"
|
||||
},
|
||||
{
|
||||
"from_button_id": "button.menu_up",
|
||||
"to_button_id": "button.menu_up",
|
||||
"mapping_type": "global",
|
||||
"scope": "view"
|
||||
},
|
||||
{
|
||||
"from_button_id": "button.menu_down",
|
||||
"to_button_id": "button.menu_down",
|
||||
"mapping_type": "global",
|
||||
"scope": "view"
|
||||
},
|
||||
{
|
||||
"from_button_id": "button.menu_left",
|
||||
"to_button_id": "button.menu_left",
|
||||
"mapping_type": "global",
|
||||
"scope": "view"
|
||||
},
|
||||
{
|
||||
"from_button_id": "button.menu_right",
|
||||
"to_button_id": "button.menu_right",
|
||||
"mapping_type": "global",
|
||||
"scope": "view"
|
||||
}
|
||||
],
|
||||
"controls": [
|
||||
{
|
||||
"trialTime": {
|
||||
"type": "custom",
|
||||
"renderer": "trial_time_renderer",
|
||||
"size": [ "default", 10 ],
|
||||
"offset": [ -5, 5 ],
|
||||
"layer": 2,
|
||||
"anchor_from": "top_right",
|
||||
"anchor_to": "top_right"
|
||||
}
|
||||
},
|
||||
{
|
||||
"button_panel": {
|
||||
"type": "panel",
|
||||
"size": [ 150, 64 ],
|
||||
"offset": [ 0, -10 ],
|
||||
"anchor_from": "center",
|
||||
"anchor_to": "center",
|
||||
"controls": [
|
||||
{
|
||||
"game_menu": {
|
||||
"type": "label",
|
||||
"size": [ 50, 10 ],
|
||||
"offset": [ 0, -10 ],
|
||||
"alignment": "center",
|
||||
"layer": 2,
|
||||
"text": "menu.game",
|
||||
"anchor_from": "top_middle",
|
||||
"anchor_to": "top_middle"
|
||||
}
|
||||
},
|
||||
{
|
||||
"returnToGame@common.button": {
|
||||
"$pressed_button_name": "button.menu_continue",
|
||||
"anchor_to": "top_left",
|
||||
"anchor_from": "top_left",
|
||||
"size": [ 160, 20 ],
|
||||
"controls": [
|
||||
{
|
||||
"default@common.button_state_default": {
|
||||
"controls": [
|
||||
{
|
||||
"@common.button_text": {
|
||||
"text": "menu.returnToGame"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"hover@common.button_state_hover": {
|
||||
"controls": [
|
||||
{
|
||||
"@common.button_text": {
|
||||
"text": "menu.returnToGame",
|
||||
"color": [ 1.0, 1.0, 0.2 ]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"pressed@common.button_state_pressed": {
|
||||
"controls": [
|
||||
{
|
||||
"@common.button_text": {
|
||||
"text": "menu.returnToGame",
|
||||
"color": [ 1.0, 1.0, 0.2 ],
|
||||
"alpha": 0.65
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"options@common.button": {
|
||||
"$pressed_button_name": "button.menu_options",
|
||||
"anchor_to": "left_middle",
|
||||
"anchor_from": "left_middle",
|
||||
"size": [ 160, 20 ],
|
||||
"controls": [
|
||||
{
|
||||
"default@common.button_state_default": {
|
||||
"controls": [
|
||||
{
|
||||
"@common.button_text": {
|
||||
"text": "menu.options"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"hover@common.button_state_hover": {
|
||||
"controls": [
|
||||
{
|
||||
"@common.button_text": {
|
||||
"text": "menu.options",
|
||||
"color": [ 1.0, 1.0, 0.2 ]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"pressed@common.button_state_pressed": {
|
||||
"controls": [
|
||||
{
|
||||
"@common.button_text": {
|
||||
"text": "menu.options",
|
||||
"color": [ 1.0, 1.0, 0.2 ],
|
||||
"alpha": 0.65
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"buy@common.button": {
|
||||
"$pressed_button_name": "button.menu_buy_game",
|
||||
"anchor_to": "bottom_left",
|
||||
"anchor_from": "bottom_left",
|
||||
"size": [ 160, 20 ],
|
||||
"controls": [
|
||||
{
|
||||
"default@common.button_state_default": {
|
||||
"controls": [
|
||||
{
|
||||
"@common.button_text": {
|
||||
"text": "trial.pauseScreen.buyGame"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"hover@common.button_state_hover": {
|
||||
"controls": [
|
||||
{
|
||||
"@common.button_text": {
|
||||
"text": "trial.pauseScreen.buyGame",
|
||||
"color": [ 1.0, 1.0, 0.2 ]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"pressed@common.button_state_pressed": {
|
||||
"controls": [
|
||||
{
|
||||
"@common.button_text": {
|
||||
"text": "trial.pauseScreen.buyGame",
|
||||
"color": [ 1.0, 1.0, 0.2 ],
|
||||
"alpha": 0.65
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"quit@common.button": {
|
||||
"$pressed_button_name": "button.menu_quit",
|
||||
"offset": [ 0, 22 ],
|
||||
"size": [ 160, 20 ],
|
||||
"anchor_to": "bottom_left",
|
||||
"anchor_from": "bottom_left",
|
||||
"controls": [
|
||||
{
|
||||
"default@common.button_state_default": {
|
||||
"controls": [
|
||||
{
|
||||
"@common.button_text": {
|
||||
"text": "pauseScreen.quit"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"hover@common.button_state_hover": {
|
||||
"controls": [
|
||||
{
|
||||
"@common.button_text": {
|
||||
"text": "pauseScreen.quit",
|
||||
"color": [ 1.0, 1.0, 0.2 ]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"pressed@common.button_state_pressed": {
|
||||
"controls": [
|
||||
{
|
||||
"@common.button_text": {
|
||||
"text": "pauseScreen.quit",
|
||||
"color": [ 1.0, 1.0, 0.2 ],
|
||||
"alpha": 0.65
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user