git repos / blockattack-game

commit 325b4507

Poul Sander · 2021-11-16 19:59
325b4507160aa8f7df2ee54b4eda1d93c6414846 patch · browse files
parent 516d5b9f11db8d8e468c65d21129e88f3c1ca269

Explain the sample files

Changed files

M Game/mods/1.3.0.bricks_unpacked.data/README.md before
diff --git a/Game/mods/1.3.0.bricks_unpacked.data/README.md b/Game/mods/1.3.0.bricks_unpacked.data/README.md index ce488a7..426f305 100644 --- a/Game/mods/1.3.0.bricks_unpacked.data/README.md +++ b/Game/mods/1.3.0.bricks_unpacked.data/README.md
@@ -42,7 +42,17 @@ This allows you to override individual sprites from blockattack.data without rep
## Sprites
As mentioned sprites can be overridden. The documentation for Saland Adventures https://salandgame.github.io/development_info/sprites/ also applies to Block Attack - Rise of the Blocks.
+## Example
+The example example mod features the following:
+textures/ball_*.png just overwrites files in blockattack.data
+
+The example mod add one new texture "textures/bricks130.png" or just "bricks130".
+
+The sprite file "sprites/bricks1.3.0.sprite" uses the "bricks130" texture.
+
+The mod file "modinfo/1.3.0.bricks.json" refers the sprite file so that it takes priority.
+
## Tips
-Use lowercase letters for all filenames. This prevents surprises when developing on case insensitive filesystems.
+Use lowercase letters for all filenames. This prevents surprises when developing on case insensitive file systems.
Create new sprite files rather than overwriting an existing one. Failure to do so might result in mod conflicts.