Skip to content

Instantly share code, notes, and snippets.

@AlexIIL
Created September 18, 2015 15:33
Show Gist options
  • Save AlexIIL/0fabea571de082ea5846 to your computer and use it in GitHub Desktop.
Save AlexIIL/0fabea571de082ea5846 to your computer and use it in GitHub Desktop.
Image with an RPG loading bar
[
{
"resourceLocation": "ums:textures/loading.png",
"positionType": "TOP_LEFT",
"type": "STATIC",
"texture": {
"x": 0,
"y": 0,
"width": 256,
"height": 256
},
"position": {
"x": 0,
"y": 0,
"width": 0,
"height": 0
}
},
{
"resourceLocation": "textures/font/ascii.png",
"positionType": "CENTER",
"type": "DYNAMIC_TEXT_STATUS",
"position": {
"x": 0,
"y": -80,
"width": 0,
"height": 0
},
"colour": "FFFFFF"
},
{
"resourceLocation": "ums:textures/loadingbar.png",
"positionType": "CENTER",
"type": "STATIC",
"texture": {
"x": 0,
"y": 0,
"width": 256,
"height": 128
},
"position": {
"x": 0,
"y": -100,
"width": 300,
"height": 15
}
},
{
"resourceLocation": "ums:textures/loadingbar.png",
"positionType": "CENTER",
"type": "DYNAMIC_PERCENTAGE",
"texture": {
"x": 0,
"y": 128,
"width": 256,
"height": 128
},
"position": {
"x": 0,
"y": -100,
"width": 300,
"height": 15
}
},
{
"resourceLocation": "textures/font/ascii.png",
"positionType": "CENTER",
"type": "DYNAMIC_TEXT_PERCENTAGE",
"position": {
"x": 0,
"y": -101,
"width": 0,
"height": 0
},
"colour": "FFFFFF"
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment