The optional endPadding level option defines the amount of horizontal space (measured as a GridX value) to append to the end of each spawn chunk or preset.
{
"opts": {
"endPadding": <GridX>
}
}
By default, when this option is not specified, an endPadding of 8.89 GridX
is added to the end of every chunk. This is about the equivalent of a single bomb’s width, and is meant to prevent consecutive spawn chunks from appearing on top of each other.
Example Level JSON #
Overlapping chunks (endPadding = 0) #
{
"items": [
{
"type": "chunk",
"data": {
"0": [
{
"key": "c",
"gridY": 50
}
]
}
}
],
"opts": {
"endPadding": 0,
"repeat": -1
}
}
Evenly spaced infinite bomb columns #
{
"items": [
{
"type": "chunk",
"data": {
"0": [
{
"key": "bc",
"missing": [13, 15],
"maxRandomXOffset": 8
},
{
"key": "c",
"gridY": 98
}
]
}
}
],
"opts": {
"endPadding": 30,
"repeat": -1
}
}