Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updating examples with tilemaps #702

Merged
merged 4 commits into from
Sep 18, 2024
Merged

Updating examples with tilemaps #702

merged 4 commits into from
Sep 18, 2024

Conversation

HelperWesley
Copy link
Contributor

Updated examples:

top-down-rpg
-Used tilemap instead of tiled sprites for the level

multiplayer-platformer-pickup
-Used tilemap instead of tiled sprites for the level
-Removed 1 enemy object because it was jittering with the new tilemap object

duck-game
-Used tilemap instead of a single large png for the level and collision objects
-Updated deprecated condition/actions
-Updated and declared all variables

sokoban
-Used tilemap instead of tiled sprites for the level
-Updated deprecated condition/actions
-Updated and declared all variables

tower-defense-war
-Used tilemap instead of tiled sprites for the level

simple-platformer
-Used tilemap instead of tiled sprites for the level
-Updated and declared all variables

Updated examples:

top-down-rpg
multiplayer-platformer-pickup
duck-game
sokoban
tower-defense-war
simple-platformer
Copy link
Contributor

Images automagically compressed by Calibre's image-actions

Compression reduced images by 28.8%, saving 90.32 KB.

Filename Before After Improvement Visual comparison
examples/multiplayer-platformer-pickup/assets/world_tileset.png 15.24 KB 9.44 KB -38.1% View diff
examples/simple-platformer/assets/Background_Tileset.png 2.38 KB 1.48 KB -37.9% View diff
examples/simple-platformer/assets/World_Tileset.png 10.63 KB 6.11 KB -42.6% View diff
examples/sokoban/assets/Tilemap_Obstacles.png 3.93 KB 2.99 KB -24.0% View diff
examples/top-down-rpg/assets/TilesetFloor.png 28.91 KB 19.72 KB -31.8% View diff
examples/top-down-rpg/assets/TilesetWater.png 23.01 KB 13.39 KB -41.8% View diff
examples/tower-defense-war/assets/towerDefense_tilesheet.png 229.16 KB 169.82 KB -25.9% View diff

6004 images did not require optimisation.

HelperWesley and others added 2 commits September 17, 2024 14:04
Noticed an unused event in the top down rpg example, this commit removes it.
@D8H D8H merged commit a79c932 into main Sep 18, 2024
5 checks passed
@D8H D8H deleted the Updating-examples-with-tilemap branch September 18, 2024 11:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants