Skip to content

Commit 1feee33

Browse files
committed
Fix font size
1 parent c0c7c37 commit 1feee33

File tree

1 file changed

+269
-1
lines changed

1 file changed

+269
-1
lines changed

examples/multiplayer-bounce-puzzle/multiplayer-bounce-puzzle.json

Lines changed: 269 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@
5353
"authorUsernames": [],
5454
"categories": [],
5555
"playableDevices": [
56+
"mobile",
5657
"mobile"
5758
],
5859
"extensionProperties": [],
@@ -465,7 +466,7 @@
465466
"assetStoreId": "5faf2b0415c271fa6e747283ed36297a95f04d2b6c477a7b011775fa6fb444ee",
466467
"name": "LobbyButton",
467468
"type": "PanelSpriteButton::PanelSpriteButton",
468-
"variant": "Red Button With Shadow",
469+
"variant": "Big Red Button With Shadow",
469470
"variables": [],
470471
"effects": [],
471472
"behaviors": [],
@@ -20664,6 +20665,273 @@
2066420665
}
2066520666
],
2066620667
"variants": [
20668+
{
20669+
"areaMaxX": 192,
20670+
"areaMaxY": 69,
20671+
"areaMaxZ": 64,
20672+
"areaMinX": 0,
20673+
"areaMinY": 0,
20674+
"areaMinZ": 0,
20675+
"name": "Big Red Button With Shadow",
20676+
"objects": [
20677+
{
20678+
"assetStoreId": "",
20679+
"bold": false,
20680+
"italic": false,
20681+
"name": "Label",
20682+
"smoothed": true,
20683+
"type": "TextObject::Text",
20684+
"underlined": false,
20685+
"variables": [],
20686+
"effects": [],
20687+
"behaviors": [
20688+
{
20689+
"name": "Anchor",
20690+
"type": "AnchorBehavior::AnchorBehavior",
20691+
"bottomEdgeAnchor": 2,
20692+
"leftEdgeAnchor": 1,
20693+
"relativeToOriginalWindowSize": true,
20694+
"rightEdgeAnchor": 2,
20695+
"topEdgeAnchor": 1,
20696+
"useLegacyBottomAndRightAnchors": false
20697+
}
20698+
],
20699+
"string": "BUTTON",
20700+
"font": "CantoraOne-Regular.ttf",
20701+
"textAlignment": "center",
20702+
"characterSize": 60,
20703+
"color": {
20704+
"b": 255,
20705+
"g": 255,
20706+
"r": 255
20707+
},
20708+
"content": {
20709+
"bold": false,
20710+
"isOutlineEnabled": false,
20711+
"isShadowEnabled": false,
20712+
"italic": false,
20713+
"outlineColor": "255;255;255",
20714+
"outlineThickness": 2,
20715+
"shadowAngle": 90,
20716+
"shadowBlurRadius": 2,
20717+
"shadowColor": "0;0;0",
20718+
"shadowDistance": 4,
20719+
"shadowOpacity": 127,
20720+
"smoothed": true,
20721+
"underlined": false,
20722+
"text": "BUTTON",
20723+
"font": "CantoraOne-Regular.ttf",
20724+
"textAlignment": "center",
20725+
"verticalTextAlignment": "center",
20726+
"characterSize": 60,
20727+
"color": "255;255;255"
20728+
}
20729+
},
20730+
{
20731+
"assetStoreId": "",
20732+
"bottomMargin": 16,
20733+
"height": 69,
20734+
"leftMargin": 16,
20735+
"name": "Idle",
20736+
"rightMargin": 16,
20737+
"texture": "Red Button With Shadow_Idle.png",
20738+
"tiled": false,
20739+
"topMargin": 16,
20740+
"type": "PanelSpriteObject::PanelSprite",
20741+
"width": 192,
20742+
"variables": [
20743+
{
20744+
"folded": true,
20745+
"name": "State",
20746+
"type": "string",
20747+
"value": "Idle"
20748+
}
20749+
],
20750+
"effects": [],
20751+
"behaviors": [
20752+
{
20753+
"name": "Anchor",
20754+
"type": "AnchorBehavior::AnchorBehavior",
20755+
"bottomEdgeAnchor": 2,
20756+
"leftEdgeAnchor": 1,
20757+
"relativeToOriginalWindowSize": true,
20758+
"rightEdgeAnchor": 2,
20759+
"topEdgeAnchor": 1,
20760+
"useLegacyBottomAndRightAnchors": false
20761+
},
20762+
{
20763+
"name": "ButtonFSM",
20764+
"type": "PanelSpriteButton::ButtonFSM",
20765+
"serializedBehavior": {
20766+
"name": "ButtonFSM",
20767+
"type": "PanelSpriteButton::ButtonFSM",
20768+
"ShouldCheckHovering": true
20769+
}
20770+
}
20771+
]
20772+
},
20773+
{
20774+
"assetStoreId": "",
20775+
"bottomMargin": 16,
20776+
"height": 69,
20777+
"leftMargin": 16,
20778+
"name": "Hovered",
20779+
"rightMargin": 16,
20780+
"texture": "Red Button With Shadow_Hovered.png",
20781+
"tiled": false,
20782+
"topMargin": 16,
20783+
"type": "PanelSpriteObject::PanelSprite",
20784+
"width": 192,
20785+
"variables": [],
20786+
"effects": [],
20787+
"behaviors": [
20788+
{
20789+
"name": "Anchor",
20790+
"type": "AnchorBehavior::AnchorBehavior",
20791+
"bottomEdgeAnchor": 2,
20792+
"leftEdgeAnchor": 1,
20793+
"relativeToOriginalWindowSize": true,
20794+
"rightEdgeAnchor": 2,
20795+
"topEdgeAnchor": 1,
20796+
"useLegacyBottomAndRightAnchors": false
20797+
},
20798+
{
20799+
"name": "Tween",
20800+
"type": "Tween::TweenBehavior",
20801+
"serializedBehavior": {
20802+
"name": "Tween",
20803+
"type": "Tween::TweenBehavior"
20804+
}
20805+
}
20806+
]
20807+
},
20808+
{
20809+
"assetStoreId": "",
20810+
"bottomMargin": 16,
20811+
"height": 69,
20812+
"leftMargin": 16,
20813+
"name": "Pressed",
20814+
"rightMargin": 16,
20815+
"texture": "Red Button With Shadow_Pressed.png",
20816+
"tiled": false,
20817+
"topMargin": 16,
20818+
"type": "PanelSpriteObject::PanelSprite",
20819+
"width": 192,
20820+
"variables": [],
20821+
"effects": [],
20822+
"behaviors": [
20823+
{
20824+
"name": "Anchor",
20825+
"type": "AnchorBehavior::AnchorBehavior",
20826+
"bottomEdgeAnchor": 2,
20827+
"leftEdgeAnchor": 1,
20828+
"relativeToOriginalWindowSize": true,
20829+
"rightEdgeAnchor": 2,
20830+
"topEdgeAnchor": 1,
20831+
"useLegacyBottomAndRightAnchors": false
20832+
}
20833+
]
20834+
}
20835+
],
20836+
"objectsFolderStructure": {
20837+
"folderName": "__ROOT",
20838+
"children": [
20839+
{
20840+
"objectName": "Label"
20841+
},
20842+
{
20843+
"objectName": "Idle"
20844+
},
20845+
{
20846+
"objectName": "Hovered"
20847+
},
20848+
{
20849+
"objectName": "Pressed"
20850+
}
20851+
]
20852+
},
20853+
"objectsGroups": [
20854+
{
20855+
"name": "Background",
20856+
"objects": [
20857+
{
20858+
"name": "Idle"
20859+
},
20860+
{
20861+
"name": "Hovered"
20862+
},
20863+
{
20864+
"name": "Pressed"
20865+
}
20866+
]
20867+
}
20868+
],
20869+
"layers": [
20870+
{
20871+
"ambientLightColorB": 200,
20872+
"ambientLightColorG": 200,
20873+
"ambientLightColorR": 200,
20874+
"camera3DFarPlaneDistance": 10000,
20875+
"camera3DFieldOfView": 45,
20876+
"camera3DNearPlaneDistance": 3,
20877+
"cameraType": "",
20878+
"followBaseLayerCamera": false,
20879+
"isLightingLayer": false,
20880+
"isLocked": false,
20881+
"name": "",
20882+
"renderingType": "",
20883+
"visibility": true,
20884+
"cameras": [
20885+
{
20886+
"defaultSize": true,
20887+
"defaultViewport": true,
20888+
"height": 0,
20889+
"viewportBottom": 1,
20890+
"viewportLeft": 0,
20891+
"viewportRight": 1,
20892+
"viewportTop": 0,
20893+
"width": 0
20894+
}
20895+
],
20896+
"effects": []
20897+
}
20898+
],
20899+
"instances": [
20900+
{
20901+
"angle": 0,
20902+
"customSize": false,
20903+
"depth": 1,
20904+
"height": 64,
20905+
"layer": "",
20906+
"name": "Idle",
20907+
"persistentUuid": "24882334-eec8-403e-8bf1-70fc928a46e6",
20908+
"width": 64,
20909+
"x": 0,
20910+
"y": 0,
20911+
"zOrder": 1,
20912+
"numberProperties": [],
20913+
"stringProperties": [],
20914+
"initialVariables": []
20915+
},
20916+
{
20917+
"angle": 0,
20918+
"customSize": true,
20919+
"depth": 1,
20920+
"height": 60,
20921+
"keepRatio": true,
20922+
"layer": "",
20923+
"name": "Label",
20924+
"persistentUuid": "1a9eba11-e70c-4a1a-88b8-ed6f52e3d4dc",
20925+
"width": 188,
20926+
"x": 2,
20927+
"y": 32,
20928+
"zOrder": 2,
20929+
"numberProperties": [],
20930+
"stringProperties": [],
20931+
"initialVariables": []
20932+
}
20933+
]
20934+
},
2066720935
{
2066820936
"areaMaxX": 192,
2066920937
"areaMaxY": 64,

0 commit comments

Comments
 (0)