{ "type": "Button", "id": "GambleButton", "y": { "dynamic": true, "default": 20, "Portrait": "@iface.stepFunction.@view.y.b.-1175,@view.y.b.-710,0.6" }, "x": { "dynamic": true, "default": "@view.x.r.-185", "Portrait": -400 }, "scale": { "dynamic": true, "default": 1, "Portrait": 1.78 }, "onPress": "openGambleFeature", "onPressSound": "GambleButton", "visible": false, "areaWidth": 128, "areaHeight": 128, "atlas": "lndr_interface.json", "children": [{ "type": "SpineContainer", "spine": "gamble.json", "useGlobalScale": true, "initialAnimation": { "name": "gamble_attract", "loop": true, "loopDelay": 1, "play": true } }], "text": { "type": "Text", "y": 80, "size": 22, "text": "@translate.GAMBLE", "fill": ["#ffffff"], "font": "Arial", "fontWeight": "bold", "wordWrap": true, "wordWrapWidth": 250, "wordWrapLineHeight": 27, "lineJoin": "round", "miterLimit": 2, "thickness": 4, "stroke": "#000000" } }, { "type": "Button", "id": "CollectButton", "y": { "dynamic": true, "default": -180, "Portrait": "@iface.stepFunction.@view.y.b.-1175,@view.y.b.-710,0.6" }, "x": { "dynamic": true, "default": "@view.x.r.-185", "Portrait": 400 }, "scale": { "dynamic": true, "default": 1, "Portrait": 1.78 }, "onPress": "collectGambleFast", "onPressSound": "GambleCollectButton", "visible": false, "areaWidth": 345, "areaHeight": 67, "atlas": "lndr_interface.json", "textures": ["btn_collect_normal.png", "btn_collect_over.png", "btn_collect_down.png", "btn_collect_disabled.png"], "text": { "type": "Text", "y": 80, "size": 22, "text": "@translate.COLLECT", "fill": ["#ffffff"], "font": "Arial", "fontWeight": "bold", "wordWrap": true, "wordWrapWidth": 250, "wordWrapLineHeight": 27, "lineJoin": "round", "miterLimit": 2, "thickness": 4, "stroke": "#000000" } }