The open source version of Push Box is released~ I ported the 15-level version of Push Box game released on Mihuan 7, and also made an open source version. In the open source version, you can:
1. Modify the material pictures at will
2. Modify the number of levels and level data at will
I hope someone can make a 100-level version, or a Chicken You Are Too Beautiful version ~
The following are open source tutorials and instructions (a certain level of JSON knowledge is required):
Download and unzip box.zip
Edit the mapdata json array at the beginning of images/pcob_inbin.js to edit the map data. You can add new levels (add new objects to the JSON array) or modify existing level definitions.
Replace the material files under images to modify the game UI
After editing, double-click WatchfacePackTool_64.exe to package. The specific JSON parameter definitions are as follows:
{
name: "1", ---- The name is useless
size: { col: 8, row: 8 }, ---- map size, needs to correspond to the element length of the following map set, with a maximum of 13*13
map: [---- map definition 0: This area has no content, refers to the empty space outside the wall 5: Wall 10: Open space, where you can walk 60: Where the player is, there can only be one on a map 80: Where the box is located
[0, 0, 5, 5, 5, 0, 0, 0],
[0, 0, 5, 10, 5, 0, 0, 0],
[0, 0, 5, 10, 5, 5, 5, 5],
[5, 5, 5, 80, 10, 80, 10, 5],
[5, 10, 10, 80, 60, 5, 5, 5],
[5, 5, 5, 5, 80, 5, 0, 0],
[0, 0, 0, 5, 10, 5, 0, 0],
[0, 0, 0, 5, 5, 5, 0, 0]
],
correct: [---- refers to the target location where the box needs to be moved, which should correspond to the number of boxes. The first one in the upper left corner is 0, 0
{ row: 1, col: 3 },
{ row: 3, col: 6 },
{ row: 4, col: 1 },
{ row: 6, col: 4 }
] }
The attached box-pushing open source version.bin is the finished 15-level box-pushing. Since Ling Feng is not here, the jumping watch face UI is still used.