1
0
Fork 0
mirror of https://github.com/Orama-Interactive/Pixelorama.git synced 2025-03-15 15:55:18 +00:00
Commit graph

25 commits

Author SHA1 Message Date
Emmanouil Papadeas
07f3d6e82d Add logic for checking if two tiles are equal with transformations applied to them
There is currently no exposed way to apply transformations to tiles.
2024-11-29 19:12:44 +02:00
Emmanouil Papadeas
3fa117ffb5 Refactor CelTileMap to eventually support alternative tiles
Such as rotated and flipped tiles
2024-11-29 19:12:44 +02:00
Emmanouil Papadeas
ac74703552 Manual mode should update other cels that have the same tileset 2024-11-29 19:12:44 +02:00
Emmanouil Papadeas
3a8e5942d2 Make manual tile editing mode automatically update all other image portions that have the same tile index 2024-11-29 19:12:44 +02:00
Emmanouil Papadeas
4f5c469db5 Fix out of bounds issues when undoing/redoing when the place tiles mode is enabled 2024-11-29 19:12:44 +02:00
Emmanouil Papadeas
ca5c6d811e Resize indices on project resize 2024-11-29 19:12:44 +02:00
Emmanouil Papadeas
33b76d334f Save and load to/from pxo files 2024-11-29 19:12:43 +02:00
Emmanouil Papadeas
491b706475 Prevent from setting tile indices out of bounds of the canvas 2024-11-29 19:12:43 +02:00
Emmanouil Papadeas
eb9599976a Place tiles mode works with eraser and color picker tools 2024-11-29 19:12:43 +02:00
Emmanouil Papadeas
1755879047 Undo/redo now removes tiles and re-indexes tilemap tiles 2024-11-29 19:12:43 +02:00
Emmanouil Papadeas
349abccf2a Implement placing tiles for pencil tool
Still needs undo support
2024-11-29 19:12:43 +02:00
Emmanouil Papadeas
46122c4793 Tileset panel UI improvements 2024-11-29 19:12:43 +02:00
Emmanouil Papadeas
9a1f802a26 Properly update the tileset when using any tool 2024-11-29 19:12:43 +02:00
Emmanouil Papadeas
f881186b31 Improve tileset panel UI updating logic 2024-11-29 19:12:43 +02:00
Emmanouil Papadeas
a170a0fc95 Prevent from drawing on empty image portions on manual mode. 2024-11-29 19:12:43 +02:00
Emmanouil Papadeas
d182c08cf8 Make the manual mode work, kind of 2024-11-29 19:12:43 +02:00
Emmanouil Papadeas
516d339f41 Properly implement the auto tile editing mode
Should work well now.
2024-11-29 19:12:43 +02:00
Emmanouil Papadeas
67d4eb67c1 Don't delete tiles that have been added using the stack mode 2024-11-29 19:11:22 +02:00
Emmanouil Papadeas
8f46338d50 Change tile editing mode from the UI 2024-11-29 19:11:22 +02:00
Emmanouil Papadeas
4340f69821 Make manual mode work when the tileset is empty 2024-11-29 19:11:22 +02:00
Emmanouil Papadeas
c45fdbd3ef Improve tileset editing logic 2024-11-29 19:11:22 +02:00
Emmanouil Papadeas
63e1e88f66 Support ImageExtended 2024-11-29 19:11:22 +02:00
Emmanouil Papadeas
f61103cac3 Add a tileset panel
Code is a bit meh, needs to be written better.
2024-11-29 19:11:22 +02:00
Emmanouil Papadeas
68eea6e141 Implement all draw modes (untested) 2024-11-29 19:11:22 +02:00
Emmanouil Papadeas
3db12ddf03 Initial work for tilemap layers 2024-11-29 19:11:22 +02:00