Added files from bc.zip

This commit is contained in:
DevLarge 2021-01-04 17:54:42 +01:00
parent bc758a0e35
commit 5d054ecd8a
6084 changed files with 12853 additions and 0 deletions

View File

@ -0,0 +1,9 @@
{
"parent":"builtin/sound",
"conditionStart":"false",
"conditionEnd":"true",
"arguments":[
"'random.levelup'",
"false"
]
}

View File

@ -0,0 +1,122 @@
{
"renders": [
"sco_background",
{
"image": {
"parent": "builtin/text",
"text": "'Gathering Mana!'",
"position_type": "TOP_LEFT",
"offset_pos": "TOP_LEFT",
"colour": "0xFF_E2_68_64",
"position": { "x": "170", "y": "30" }
}
},
{
"image": {
"parent": "builtin/text",
"text": "'Loading:'",
"position_type": "TOP_LEFT",
"offset_pos": "TOP_LEFT",
"colour": "0xFF_E2_68_64",
"position": { "x": "170", "y": "50" }
}
},
{
"image": {
"parent": "builtin/text",
"text": "'Black Clover - Stellar'",
"position_type": "TOP_LEFT",
"offset_pos": "TOP_LEFT",
"colour": "0xFF_E5_00_00",
"position": { "x": "170", "y": "60" }
}
},
"sco_logo",
{
"image": {
"parent": "text_percentage_scrolling",
"position_type": "TOP_LEFT",
"offset_pos": "TOP_LEFT",
"colour": "0xFF_B0_B0_B0",
"position": { "x": "215", "y": "50" }
}
},
{
"image": {
"parent": "sample/bottom_bar",
"colour": "0xFF_00_00_00",
"position": { "width": "screen_width" }
}
},
{
"image": {
"parent": "sample/bottom_bar",
"colour": "0xFF_96_96_96"
}
},
{
"image": {
"parent": "builtin/text",
"image": "textures/font/ascii.png",
"position_type": "TOP_LEFT",
"offset_pos": "TOP_LEFT",
"text": "memory_used() + ' MiB / ' + memory_total() + ' MiB'",
"position": {
"x": 170, "y": 20
},
"colour": "0xFF_96_96_96"
}
},
{
"image": {
"parent": "builtin/text",
"image": "textures/font/ascii.png",
"position_type": "BOTTOM_RIGHT",
"offset_pos": "BOTTOM_RIGHT",
"text": "floor(time * 10) / 10.0 + 's'",
"position": {
"x": 25, "y": 15
},
"colour": "0x00_00_00_00"
}
}
],
"functions": [
],
"variables": {
"max_scroll_count": "screen_height / (2 * 16)",
"scroll_text": "status + (is_reloading ? '' : (' - ' + sub_status))"
},
"factories":[
{
"parent": "builtin/change",
"change": "scroll_text",
"variables": {
"factory_age" : "factory_count - factory_index"
},
"kept_variables": {
"factory_status": "scroll_text"
},
"to_create": {
"should_render": "factory_age < max_scroll_count",
"image": {
"parent": "builtin/text",
"image": "textures/font/ascii.png",
"position_type": "BOTTOM_LEFT",
"offset_pos": "BOTTOM_LEFT",
"text": "factory_status + (factory_age == 1 ? ( is_reloading ? ' - ' + sub_status : '') : '')",
"position": {
"x": "30",
"y": "(factory_index - factory_count) * 16 - 4"
},
"colour": "0xFF_E5_00_00 | (0x01_01_01 * (0x00 + 0xFF * factory_age / max_scroll_count).max(0x20))"
}
}
}
],
"actions":[
]
}

View File

@ -0,0 +1,14 @@
{
"name":"interpolate",
"function":"",
"arguments":[
"min",
"max",
"time",
"",
"smoothen_start",
"smoothen_end"
]
}
// Usage: interpolate(0,15,10,1)
// Would interpolate between 0 and 15 over 10 seconds, from time, using smoothen as the power for each end

View File

@ -0,0 +1,4 @@
{
"name": "item_rotation",
"function": "time * 50"
}

View File

@ -0,0 +1,17 @@
{
"parent": "builtin/image",
"position_type": "CENTER",
"offset_pos": "CENTER",
"texture": {
"x": "0",
"y": "0",
"width": "4",
"height": "1"
},
"position": {
"x": "0",
"y": "-16",
"width": "256",
"height": "64"
}
}

View File

@ -0,0 +1,10 @@
{
"parent": "sample/block_4_wide",
"texture": {
"width": "4 * percentage"
},
"position": {
"x": "percentage * 128 - 128",
"width": "256 * percentage"
}
}

View File

@ -0,0 +1,4 @@
{
"parent":"sample/block_4_wide_percentage",
"image":"textures/blocks/cake_inner.png"
}

View File

@ -0,0 +1,4 @@
{
"parent":"sample/block_4_wide",
"image":"textures/blocks/cake_side.png"
}

View File

@ -0,0 +1,19 @@
{
"parent": "builtin/image",
"image": "customloadingscreen:textures/generic/white.png",
"position_type": "BOTTOM_LEFT",
"offset_pos": "BOTTOM_LEFT",
"colour": "0xFF_77_77_FF",
"position": {
"x": "0",
"y": "0",
"width": "screen_width * percentage",
"height": "5"
},
"texture": {
"x": "0",
"y": "0",
"width": "1",
"height": "1"
}
}

View File

@ -0,0 +1,10 @@
{
"parent": "sample/item",
"image": "textures/items/cake.png",
"position": {
"x": "-32",
"y": "-32",
"width": "64",
"height": "64"
}
}

View File

@ -0,0 +1,5 @@
{
"parent":"sample/cake",
"position_type":"BOTTOM_LEFT",
"offset_pos":"CENTER"
}

View File

@ -0,0 +1,5 @@
{
"parent":"sample/cake",
"position_type":"BOTTOM_RIGHT",
"offset_pos":"CENTER"
}

View File

@ -0,0 +1,5 @@
{
"parent":"sample/cake",
"position_type":"TOP_LEFT",
"offset_pos":"CENTER"
}

View File

@ -0,0 +1,5 @@
{
"parent":"sample/cake",
"position_type":"TOP_RIGHT",
"offset_pos":"CENTER"
}

View File

@ -0,0 +1,19 @@
{
"parent": "builtin/image",
"image": "textures/textures/concrete_white.png",
"position_type": "CENTER",
"offset_pos": "CENTER",
"colour": "0x00_00_00_00",
"position": {
"x": "0",
"y": "0",
"width": "64 * 16",
"height": "64 * 16"
},
"texture": {
"x": "0",
"y": "0",
"width": "64",
"height": "64"
}
}

View File

@ -0,0 +1,18 @@
{
"parent": "builtin/image",
"image": "customloadingscreen:textures/generic/darkened_blur_horizontal_strip.png",
"position_type": "CENTER",
"offset_pos": "CENTER",
"position": {
"x": "0",
"y": "0",
"width": "screen_width",
"height": "100"
},
"texture": {
"x": "0",
"y": "0",
"width": "1",
"height": "1"
}
}

View File

@ -0,0 +1,11 @@
{
"parent": "builtin/image",
"texture": {
"x": "0",
"y": "0",
"width": "1",
"height": "1"
},
"shouldRender": "true",
"frame": "0"
}

View File

@ -0,0 +1,13 @@
{
"parent":"sample/loading_bar_standard",
"position":{
"y":"20",
"height":"20",
"width":"super * 2"
},
"texture":{
"x": "0",
"y": "70 / 256.0",
"height": "10 / 256.0"
}
}

View File

@ -0,0 +1,14 @@
{
"parent":"sample/loading_bar_standard_percentage",
"position":{
"x":"super * 2",
"y":"20",
"height":"20",
"width":"super * 2"
},
"texture":{
"x":"0",
"y":"80 / 256.0",
"height":"10 / 256.0"
}
}

View File

@ -0,0 +1,6 @@
{
"parent": "sample/loading_bar_standard",
"texture": {
"y": "10 / 256.0"
}
}

View File

@ -0,0 +1,6 @@
{
"parent":"sample/loading_bar_standard_percentage",
"texture": {
"y": "15 / 256.0"
}
}

View File

@ -0,0 +1,18 @@
{
"parent": "builtin/image",
"image": "customloadingscreen:textures/progress_bars.png",
"position_type": "CENTER",
"offset_pos": "CENTER",
"position": {
"x": "0",
"y": "50",
"width": "182",
"height": "5"
},
"texture": {
"x": "0",
"y": "0",
"width": "182 / 256.0",
"height": "5 / 256.0"
}
}

View File

@ -0,0 +1,18 @@
{
"parent": "builtin/image",
"image": "customloadingscreen:textures/progress_bars.png",
"position_type": "CENTER",
"offset_pos": "CENTER",
"position": {
"x": "(percentage * 91) - 91",
"y": "50",
"width": "percentage * 182",
"height": "5"
},
"texture": {
"x": "0",
"y": "5 / 256.0",
"width": "percentage * 182 / 256.0",
"height": "5 / 256.0"
}
}

View File

@ -0,0 +1,18 @@
{
"parent": "builtin/image",
"image":"textures/gui/title/mojang.png",
"position_type":"CENTER",
"offset_pos":"CENTER",
"texture":{
"x":"0",
"y":"0",
"width":"1",
"height":"1"
},
"position":{
"x":"0",
"y":"0",
"width":"256",
"height":"256"
}
}

View File

@ -0,0 +1,4 @@
{
"parent": "builtin/panorama",
"image": "textures/gui/title/background/panorama_x.png"
}

View File

@ -0,0 +1,19 @@
{
"parent": "builtin/image",
"image": "sco:menu/background_1.png",
"position_type": "CENTER",
"offset_pos": "CENTER",
"colour": "0x00_00_00_00",
"position": {
"x": "0",
"y": "0",
"width": "64 * 16",
"height": "64 * 16"
},
"texture": {
"x": "0",
"y": "0",
"width": "1",
"height": "1"
}
}

View File

@ -0,0 +1,18 @@
{
"parent": "builtin/image",
"image":"sco:menu/logo_sco_2.png",
"position_type":"TOP_RIGHT",
"offset_pos":"TOP_RIGHT",
"texture":{
"x":"0",
"y":"0",
"width":"1",
"height":"1"
},
"position":{
"x":"0",
"y":"20",
"width":"144",
"height":"81"
}
}

View File

@ -0,0 +1,12 @@
{
"parent": "builtin/text",
"image": "textures/font/ascii.png",
"position_type": "CENTER",
"offset_pos": "CENTER",
"text": "error_message",
"position": {
"x": "0",
"y": "40"
},
"colour":"0xFF_FF_44_44"
}

View File

@ -0,0 +1,14 @@
{
"parent": "builtin/text",
"image": "textures/font/ascii.png",
"position_type": "CENTER",
"offset_pos": "CENTER",
"text": "(floor(percentage * 100)) + '%'",
"position": {
"x": "0",
"y": "40",
"width": "0",
"height": "0"
},
"colour":"0xFF000000"
}

View File

@ -0,0 +1,10 @@
{
"parent": "sample/text_percentage",
"position_type": "BOTTOM_LEFT",
"offset_pos": "BOTTOM_LEFT",
"position": {
"x": "5",
"y": "-20"
},
"colour": "0x00_00_00_00"
}

View File

@ -0,0 +1,7 @@
{
"parent": "sample/text_percentage",
"position": {
"y": "-10"
},
"colour": "0xFFFFFFFF"
}

View File

@ -0,0 +1,14 @@
{
"parent": "builtin/text",
"image": "textures/font/ascii.png",
"position_type": "CENTER",
"offset_pos": "CENTER",
"text": "is_reloading ? status : (status + ': ' + sub_status)",
"position": {
"x": "0",
"y": "30",
"width": "0",
"height": "0"
},
"colour":"0xFF_00_00_00"
}

View File

@ -0,0 +1,7 @@
{
"parent": "sample/text_status",
"position": {
"y": "-20"
},
"colour": "0xFF_FF_FF_FF"
}

View File

@ -0,0 +1,14 @@
{
"parent": "builtin/text",
"image": "textures/font/ascii.png",
"position_type": "CENTER",
"offset_pos": "CENTER",
"text": "is_reloading ? sub_status : ''",
"position": {
"x": "0",
"y": "60",
"width": "0",
"height": "0"
},
"colour":"0xFF_00_00_00"
}

View File

@ -0,0 +1,7 @@
{
"parent": "sample/text_sub_status",
"position": {
"y": "0"
},
"colour": "0xFF_FF_FF_FF"
}

View File

@ -0,0 +1,6 @@
{
"image": "sample/cake_bottom_left",
"instructions": [
"sample/item_rotate_clockwise"
]
}

View File

@ -0,0 +1,6 @@
{
"image": "sample/cake_bottom_right",
"instructions": [
"sample/item_rotate_anti_clockwise"
]
}

View File

@ -0,0 +1,6 @@
{
"image": "sample/cake_top_left",
"instructions": [
"sample/item_rotate_clockwise"
]
}

View File

@ -0,0 +1,6 @@
{
"image": "sample/cake_top_right",
"instructions": [
"sample/item_rotate_anti_clockwise"
]
}

View File

@ -0,0 +1,7 @@
{
"parent":"builtin/rotate",
"angle": "item_rotation",
"x": "0",
"y": "0",
"z": "-1"
}

View File

@ -0,0 +1,7 @@
{
"parent":"builtin/rotate",
"angle": "item_rotation",
"x": "0",
"y": "0",
"z": "1"
}

Some files were not shown because too many files have changed in this diff Show More