-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
71 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
# Level management | ||
|
||
## XSB format | ||
|
||
| Tile | Symbol | | ||
| ---------------- | ----------- | | ||
| Wall | `#` | | ||
| Player | `@` | | ||
| Player on target | `+` | | ||
| Crate | `$` | | ||
| Crate on target | `*` | | ||
| Target | `.` | | ||
| Floor | ` `/`-`/`_` | | ||
|
||
## Import | ||
|
||
Supports importing levels in XSB format (support run-length encoding) from files or system clipboard: | ||
|
||
- Import from file: User can drag single or multiple level files in XSB format into the window. | ||
- Import from clipboard: If the level in XSB format is already in the clipboard, it can be imported by input action. | ||
|
||
The levels will be standardized first to prevent repeated import of the same or similar levels. The standardized levels are only used for deduplication, and the final imported levels are not standardized. | ||
|
||
Levels that meet the following conditions are considered similar: | ||
|
||
- The starting positions of the player characters are different, but in the same closed area. | ||
- After rotation and inversion. | ||
- The difference is only in the decorations that are inaccessible to the character. These decorations can make the level more beautiful, but do not affect the solution of the level. | ||
|
||
## Export | ||
|
||
Supports exporting the current level to the system clipboard in XSB format. | ||
|
||
## Supported special level types | ||
|
||
- [ ] Circular levels. | ||
- [x] Levels with decorative outside elements. | ||
- [x] Interior empty rows. | ||
- [ ] Not closed levels. | ||
|
||
## See also | ||
|
||
- <http://www.sokobano.de/wiki/index.php?title=Level_format> |