Initial commit
This commit is contained in:
commit
c630089742
4782 files changed
+178521
No files matched your search
@@ -0,0 +1,320 @@
|
||||
{
|
||||
"namespace": "trialUpsell",
|
||||
|
||||
"normal_stroke_button": {
|
||||
"type": "image",
|
||||
"texture": "gui/newgui/NormalButtonStroke.png",
|
||||
"layer": 2,
|
||||
"nineslice_size": 4.0,
|
||||
"uv": [ 0, 0 ],
|
||||
"uv_size": [ 12, 12 ]
|
||||
},
|
||||
|
||||
"normal_description_label": {
|
||||
"type": "label",
|
||||
"color": [ 0.25, 0.25, 0.25, 1.0 ],
|
||||
"alignment": "top_left",
|
||||
"wrap": true,
|
||||
"anchor_from": "center",
|
||||
"anchor_to": "center",
|
||||
"layer": 2
|
||||
},
|
||||
|
||||
"trialTime": {
|
||||
"type": "custom",
|
||||
"renderer": "trial_time_renderer",
|
||||
"size": [ "default", 10 ],
|
||||
"offset": [ 0, "1%" ],
|
||||
"layer": 3,
|
||||
"anchor_from": "top_left",
|
||||
"anchor_to": "top_left"
|
||||
},
|
||||
|
||||
"trial_label": {
|
||||
"type": "label",
|
||||
"offset": [ 0, "3%" ],
|
||||
"color": [ 0.25, 0.25, 0.25, 1.0 ],
|
||||
"alignment": "top_middle",
|
||||
"layer": 2,
|
||||
"text": "trial.upsell.trialLabel",
|
||||
"anchor_from": "center",
|
||||
"anchor_to": "center"
|
||||
},
|
||||
|
||||
"trial_description_panel": {
|
||||
"type": "panel",
|
||||
"size": [ "94%", "100%" ],
|
||||
"offset": [ 0, "15%" ],
|
||||
"controls": [
|
||||
{ "description_text@normal_description_label": { "text": "trial.upsell.description" } }
|
||||
]
|
||||
},
|
||||
|
||||
"trial_expired_description_panel": {
|
||||
"type": "panel",
|
||||
"size": [ "94%", "100%" ],
|
||||
"offset": [ 0, "15%" ],
|
||||
"controls": [
|
||||
{ "line1@normal_description_label": { "text": "trial.upsell.expiredDescription.line1" } },
|
||||
{
|
||||
"line2@normal_description_label": {
|
||||
"offset": [ 0, "23%" ],
|
||||
"text": "trial.upsell.expiredDescription.line2"
|
||||
}
|
||||
},
|
||||
{
|
||||
"line3@normal_description_label": {
|
||||
"offset": [ 0, "30%" ],
|
||||
"text": "trial.upsell.expiredDescription.line3"
|
||||
}
|
||||
},
|
||||
{
|
||||
"line4@normal_description_label": {
|
||||
"offset": [ 0, "37%" ],
|
||||
"text": "trial.upsell.expiredDescription.line4"
|
||||
}
|
||||
},
|
||||
{
|
||||
"line5@normal_description_label": {
|
||||
"offset": [ 0, "44%" ],
|
||||
"text": "trial.upsell.expiredDescription.line5"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
"continue_button@common.button": {
|
||||
"$pressed_button_name": "button.menu_continue",
|
||||
"default_control": "default",
|
||||
"hover_control": "hover",
|
||||
"pressed_control": "pressed",
|
||||
"controls": [
|
||||
{
|
||||
"default@common.button_state_default": {
|
||||
"controls": [
|
||||
{
|
||||
"@common.button_text": {
|
||||
"text": "demo.help.later"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"hover@common.button_state_hover": {
|
||||
"controls": [
|
||||
{
|
||||
"@common.button_text": {
|
||||
"text": "demo.help.later",
|
||||
"color": [ 1.0, 1.0, 0.2 ]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"pressed@common.button_state_pressed": {
|
||||
"controls": [
|
||||
{
|
||||
"@common.button_text": {
|
||||
"text": "demo.help.later",
|
||||
"color": [ 1.0, 1.0, 0.2 ],
|
||||
"alpha": 0.65
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
"buy_button@common.button": {
|
||||
"$pressed_button_name": "button.menu_buy_game",
|
||||
"default_control": "default",
|
||||
"hover_control": "hover",
|
||||
"pressed_control": "pressed",
|
||||
"controls": [
|
||||
{
|
||||
"default@common.button_state_default": {
|
||||
"controls": [
|
||||
{
|
||||
"@common.button_text": {
|
||||
"text": "demo.help.buy"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"hover@common.button_state_hover": {
|
||||
"controls": [
|
||||
{
|
||||
"@common.button_text": {
|
||||
"text": "demo.help.buy",
|
||||
"color": [ 1.0, 1.0, 0.2 ]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"pressed@common.button_state_pressed": {
|
||||
"controls": [
|
||||
{
|
||||
"@common.button_text": {
|
||||
"text": "demo.help.buy",
|
||||
"color": [ 1.0, 1.0, 0.2 ],
|
||||
"alpha": 0.65
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
"root_panel": {
|
||||
"type": "panel",
|
||||
"size": [ "80%", "70%" ],
|
||||
"anchor_to": "center",
|
||||
"anchor_from": "center"
|
||||
},
|
||||
|
||||
"common_panel": {
|
||||
"type": "panel",
|
||||
"controls": [
|
||||
{ "bg_image@common.dialog_background_opaque": { "layer": 1 } },
|
||||
{ "@trial_label": { } },
|
||||
{
|
||||
"buy@buy_button": {
|
||||
"size": [ "48%", "15%" ],
|
||||
"offset": [ "2%", "-3%" ],
|
||||
"anchor_to": "bottom_left",
|
||||
"anchor_from": "bottom_left"
|
||||
}
|
||||
},
|
||||
{
|
||||
"continue@continue_button": {
|
||||
"size": [ "48%", "15%" ],
|
||||
"offset": [ "-2%", "-3%" ],
|
||||
"anchor_to": "bottom_right",
|
||||
"anchor_from": "bottom_right"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
"upsell_panel": {
|
||||
"type": "panel",
|
||||
"controls": [
|
||||
{ "@trial_description_panel": { } }
|
||||
]
|
||||
},
|
||||
|
||||
"upsell_expired_panel": {
|
||||
"type": "panel",
|
||||
"controls": [
|
||||
{ "@trial_expired_description_panel": { } }
|
||||
]
|
||||
},
|
||||
|
||||
"trial_upsell_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"
|
||||
}
|
||||
],
|
||||
"$screen_content": "trialUpsell.trial_upsell_screen_content"
|
||||
},
|
||||
|
||||
"trial_upsell_screen_content": {
|
||||
"type": "panel",
|
||||
"controls": [
|
||||
{ "@trialTime": { } },
|
||||
{
|
||||
"@root_panel": {
|
||||
"controls": [
|
||||
{ "@common_panel": { } },
|
||||
{ "@trial_description_panel": { } }
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
"trial_upsell_expired_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"
|
||||
}
|
||||
],
|
||||
"$screen_content": "trialUpsell.trial_upsell_expired_screen_content"
|
||||
},
|
||||
|
||||
"trial_upsell_expired_screen_content": {
|
||||
"type": "panel",
|
||||
"controls": [
|
||||
{ "@trialTime": { } },
|
||||
{
|
||||
"@root_panel": {
|
||||
"controls": [
|
||||
{ "@common_panel": { } },
|
||||
{ "@trial_expired_description_panel": { } }
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user