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
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
Emmanouil Papadeas
b87a8e2ab8 Fix cel copying not working with indexed mode 2024-11-22 21:00:38 +02:00
Emmanouil Papadeas
2d28136449
Implement indexed mode (#1136)
* Create a custom PixeloramaImage class, initial support for indexed mode

* Convert opened projects and images to indexed mode

* Use shaders for RGB to Indexed conversion and vice versa

* Add `is_indexed` variable in PixeloramaImage

* Basic undo/redo support for indexed mode when drawing

* Make image effects respect indexed mode

* Move code from image effects to ShaderImageEffect instead

* Bucket tool works with indexed mode

* Move and selection tools works with indexed mode

* Brushes respect indexed mode

* Add color_mode variable and some helper methods in Project

Replace hard-coded cases of Image.FORMAT_RGBA8 with `Project.get_image_format()` just in case we want to add more formats in the future

* Add a helper new_empty_image() method to Project

* Set new images to indexed if the project is indexed

* Change color modes from the Image menu

* Fix open image to replace cel

* Load/save indices in pxo files

* Merging layers works with indexed mode

* Layer effects respect indexed mode

* Add an `other_image` parameter to `PixeloramaImage.add_data_to_dictionary()`

* Scale image works with indexed mode

* Resizing works with indexed mode

* Fix non-shader rotation not working with indexed mode

* Minor refactor of PixeloramaImage's set_pixelv_custom()

* Make the text tool work with indexed mode

* Remove print from PixeloramaImage

* Rename "PixeloramaImage" to "ImageExtended"

* Add docstrings in ImageExtended

* Set color mode from the create new image dialog

* Update Translations.pot

* Show the color mode in the project properties dialog
2024-11-20 14:41:37 +02:00
Emmanouil Papadeas
14a13a2161 Add user data for cels, frames and tags
Projects and layers are next, once I add project and layer setting dialogs respectively.
2024-04-04 01:27:50 +03:00
Emmanouil Papadeas
64983b0404 Some static typing improvements 2024-03-22 03:07:21 +02:00
Emmanouil Papadeas
359f509d57 Make the opacity slider affect layer opacity instead of cel opacity
And move cel opacity inside the cel properties.
2023-12-06 03:44:55 +02:00
Emmanouil Papadeas
c0a8202145 Add cel properties and z-index to individual cels 2023-12-06 03:22:33 +02:00
Emmanouil Papadeas
a627cff107 Only have one CelButton scene instead of using inheritance 2023-12-05 00:40:16 +02:00
Emmanouil Papadeas
41fdba266a Organize layer and cel class files by putting them in folders 2023-12-05 00:33:26 +02:00