1
0
Fork 0
mirror of https://github.com/Orama-Interactive/Pixelorama.git synced 2025-01-18 17:19:50 +00:00
Commit graph

255 commits

Author SHA1 Message Date
Manolis Papadeas fe0fb7d21f v0.8.2-stable 2020-12-12 16:55:13 +02:00
Manolis Papadeas 359f0d473c Added Japanese translation 2020-12-12 15:05:03 +02:00
Manolis Papadeas 4ca4cbcc01 Added Turkish translation 2020-12-10 20:39:29 +02:00
Manolis Papadeas 5c200bf290 v0.8.2 - Release Candidate 1 2020-12-04 00:05:05 +02:00
Manolis Papadeas d7008362b5 Added a "Mirror View" option in the View menu
Which is used to flip the canvas horizontally and non-destructively. Closes #227
2020-11-23 18:53:21 +02:00
AbhinavKDev de4634e22d
Improved the tiling feature (#378)
* Improved tiling feature

* Removed some unwanted code

* Fixed the bug mentioned by overloaded

* Added the requests by overload

* changed the y value which was given x value before
2020-11-13 10:12:20 -08:00
OverloadedOrama e94bcf50e0 Made pxo saving a bit safer
It now first attempts to serialize the project data and turn them to JSON, and then opens the file. This is a lto safer because, if a crash happens in the serialization, the file is not already open, and therefore it does not get corrupt. Earlier, if a crash happened, the file would be empty. This meant that if that file existed previously, all of the data would be lost.
2020-10-20 03:27:38 +03:00
OverloadedOrama 320f1a4da2 Update v0.8.1 2020-10-14 16:15:30 +03:00
PinyaColada 64eb4f27ce
Cut option (#345)
* I Made the cut function, his respective shortcut <c-x> and the appearence of the function in the top
bar in edit.

* Update Main.tscn
2020-10-08 18:05:33 +03:00
OverloadedOrama 10b082434b Removed brush_button.png - May solve #339 2020-09-27 20:35:46 +03:00
OverloadedOrama 1fc7cc151d v0.8 - The multiple project & Web update! 2020-09-23 16:51:08 +03:00
OverloadedOrama d59ad5937d Enter v0.8 Release Candidate stage 2020-09-05 13:39:32 +03:00
OverloadedOrama 2af677016e Created an ImageEffect class
This will be the parent of all (or most) image effect dialog nodes. Currently only parent on FlipImageDialog, will change to be parent of the rest of the effects.
2020-08-25 19:07:12 +03:00
OverloadedOrama a65fc0e00c Added Romanian and Korean 2020-08-25 17:17:43 +03:00
Hugo Locurcio 0d1c64e5e7
Use the Dummy audio driver since Pixelorama doesn't play any sounds (#312)
This prevents Godot from appearing as an application playing sound
while Pixelorama is running. This also decreases CPU usage
(especially on macOS due to a known engine bug).
2020-08-23 00:20:44 +03:00
OverloadedOrama 92332cc52e Move Canvas related files to a "Canvas" folder under "UI" 2020-08-18 16:21:31 +03:00
OverloadedOrama 8734659da1 Added Hungarian, updated list of translators
Norwegian isn't working for some reason.
2020-08-10 03:26:55 +03:00
Martin Novák f3bce3857a
Replace godot-gifexporter with godot-gdgifexporter (#295)
Add exporting in a separate thread and a progress bar
Remove background color option from gif export
2020-08-07 08:13:04 +03:00
Martin Novák e4aa17b01c
Enable multi-threaded rendering (#294)
For access to VisualServer singleton from a thread
2020-08-07 08:10:14 +03:00
Martin Novák 6f645d996d
Refactor export dialog (#288)
* Split export code from export dialog to Export.gd autoload
Clean access to child nodes of export dialog

* Fix export variables set in Main.gd

* Fix more wrong variable assignments

Co-authored-by: alexhayoo <65853178+alexhayoo@users.noreply.github.com>
2020-07-31 23:26:52 +03:00
OverloadedOrama 0d1e45cfe4 Added a dialog for image flipping with options 2020-07-30 00:01:04 +03:00
OverloadedOrama 86ee5d1abf Enable file logging 2020-07-27 20:05:15 +03:00
OverloadedOrama 9fa91ffd8e Added SymmetryGuides
Two special guides - one horizontal and one vertical - that let you change the axis of symmetry for mirroring. On the next commit(s) I will make them visible only if mirroring is toggled on. Almost solves #133
2020-07-16 04:25:59 +03:00
Kinwailo 4a668f71f5
Refactoring tools (#281)
* Refactoring tools

* Remove unused code

* Fixed some inferring errors and added translations

* Attempt to fix some Script Errors found in the CI workflow

* Fix bucket crash.

* Fix static type convert.

Co-authored-by: OverloadedOrama <35376950+OverloadedOrama@users.noreply.github.com>
2020-07-09 15:22:17 +03:00
OverloadedOrama fb7c1a1874 Saving .png files is now possible in HTML5
Addresses #280. Huge thanks to https://github.com/Pukkah/HTML5-File-Exchange-for-Godot
2020-06-30 18:32:16 +03:00
OverloadedOrama 2371238ec0 Removed Import option from the file menu
The "Open" option will handle importing of .pxo files and image files from now on. The "ImportSprites" file dialog node and script are scheduled to be deleted too. Importing spritesheets option will return soon. Next thing I'm going to work on is a preview window that will appear when importing image files.
2020-06-12 01:11:58 +03:00
OverloadedOrama 58bab65518 Implemented zen mode
When zen mode is on, most parts of the UI are invisible, except the drawing canvas and  the top menu bar.
2020-06-09 19:15:25 +03:00
OverloadedOrama 736521246d Change guides when switching project 2020-06-05 16:21:19 +03:00
OverloadedOrama 4e111a7ac0 Created a Projects class
A Project class contains project-specific data like name, undo_redo, frames, layers, tags and brushes. These variables have been moved from Global. This is the first step towards multiple tab support, where each tab will be a different Project.
2020-06-04 21:05:36 +03:00
Kinwailo 30f8891f21
Move pixel perfect and mirror code to drawers class (#255) 2020-06-04 14:11:24 +03:00
OverloadedOrama 54b628f6cb Made a Frame class, no longer use multiple Canvases for multiple frames
The Canvas is now single node, instead of having multiple canvases for each frame. This should also be a performance optimization, since there are less canvas nodes, so there are less _input() calls. It should also fix a rare Undo/Redo issue with motion drawing and making lines. Could be unstable, needs more testing.

As a side effect, the guides are now the same for all frames, so this should also close #246.
2020-06-03 02:14:24 +03:00
OverloadedOrama 34bc528e97 Added AnimationTag class
Replaces nested Global.animation_tags arrays. Also replaced array.duplicate(true) with looping through the array and creating a new class for each array element, because duplicate(true) does not create new classes, unfortunately, which was causing issues with undo/redo.
2020-06-02 05:14:05 +03:00
OverloadedOrama df0032c515 Created a new Cel class, to handle cel information
Like the Layer class, it is used in place of Canvas.layers nested array mess. It hasn't been tested thoroughly yet, so there may be crashes.
2020-06-01 18:50:31 +03:00
OverloadedOrama a9ca858303 Use a new Layer class to handle layer information
This replaces the old Global.layers nested array mess, and makes the code easier to read and to understand.
2020-06-01 16:42:53 +03:00
OverloadedOrama 00a0ab882a Created DrawingAlgos.gd and moved a lot of drawing code there
Moved code from Global.gd and Canvas.gd to DrawingAlgos.gd. Will also move the fill_gaps and draw_brush methods of Canvas.gd next. Maybe even refactor the inside of them a bit to make them easier to read.
2020-05-29 03:16:44 +03:00
OverloadedOrama a3ec615b0a Updated splash screen - Added Wishdream's art
Congratulations to Wishdream for being the winner of the first splash screen art contest in our Discord server.
2020-05-15 16:20:23 +03:00
OverloadedOrama 7361e01b1d Added forgotten translations, bumped version to rc3 and small dialog UI changes 2020-05-11 20:07:16 +03:00
OverloadedOrama e1142212fd Changed the way Pixelorama's version is being split when loading a .pxo file
The old way weren't causing any issues, but it would have caused with double-digit version numbers. Also fixed backwards compatibility issue with 0.6.2 and previous versions.
2020-05-09 22:58:09 +03:00
OverloadedOrama 61fab1a7de [BREAKS COMPATIBILITY WITH GODOT <=3.1.1] Implemented Indonesian & Czech languages
Pixelorama now requires at least Godot 3.1.2 or 3.2.x to work, because TranslationServer.get_loaded_locales() was not included in older versions. If you're using an older version of Godot, please update. Godot 3.2.1 is the currently recommended version, until 3.2.2 is out.

Also updated the list of the translators.
2020-05-05 14:45:16 +03:00
OverloadedOrama 2f1e012b6a Fixed Windows and macOS native icon paths 2020-05-05 04:24:29 +03:00
Manolis Papadeas 1ad1ecb960
Asset renaming (#225)
* Renamed the Asset folder and subfolders to lowercase

* Fixed font loading issue

Co-authored-by: OverloadedOrama <manoschool@yahoo.com>
2020-05-05 03:53:58 +03:00
OverloadedOrama 9482b47825 Changed Palette and Layer TextureButtons into Buttons, massive asset renaming
Most asset filenames are now in snake_case
2020-05-03 03:13:08 +03:00
OverloadedOrama 28de4d56f6 Added "icons" and "splash_screen" folders into Assets/Graphics
Moved all the relative assets there, including the icon files which no longer are on the res:// folder. The main page of the repository should look much cleaner now.
2020-05-02 01:34:55 +03:00
OverloadedOrama c35e4b0613 Created a "UI" folder in src
And a Timeline folder in UI
2020-05-02 01:19:01 +03:00
OverloadedOrama 646fc19a70 Merged "Scripts" and "Prefabs" folders into "src"
Made a new "src" folder that will contain the source code files, like all the GDScript and scene files. Please read this for more details: https://www.gdquest.com/docs/guidelines/best-practices/godot-gdscript/

It made no sense to keep scenes separate from their scripts. More file organizing will follow soon.
2020-05-01 22:17:05 +03:00
OverloadedOrama 0ad8cc64cc Added timeline button events to the input map & some dark theme changes
You currently cannot change the bindings of the timeline buttons, but now that they are in the input map, it should prevent the shortcuts from being bound elsewhere.
2020-05-01 18:40:16 +03:00
novhack 840b83fee7 Add color switch shortcut to preferences. 2020-04-15 20:52:20 +02:00
OverloadedOrama 21dd3f2e2d Added a zoom tool
Makes it easier to zoom for people with tablets and touch screens in general
2020-04-13 05:07:52 +03:00
novhack 237b8c1507 Move open/save related code to a separate file. 2020-04-09 22:54:05 +02:00
novhack e6233a37d5 Add shortcuts binding to preferences. 2020-04-08 00:57:37 +02:00
novhack e8c6025c46 Add gif export plugin and extend export dialog with GIF animation support. 2020-04-06 18:51:47 +02:00
OverloadedOrama 4bfe199cf0 Changed default and min window sizes
The new default window size is 1280x720, and the new minimum window size is 1024x576.
2020-04-05 00:45:19 +03:00
OverloadedOrama 81f5fd52f4 You can now zoom in with the + key, and zoom out with -. 2020-03-29 18:26:02 +03:00
OverloadedOrama d974d3f76a Implemented Esperanto 2020-03-25 04:42:03 +02:00
OverloadedOrama 0619d0e1ad Opening and saving .pxo file should now work
This should be all of the functionality restored. This commit makes the branch stable, in theory.
2020-03-07 16:43:28 +02:00
OverloadedOrama ef9e906f19 Added Latvian translation
Closes #150
2020-02-11 16:03:25 +02:00
OverloadedOrama 93833ba06a Added Chinese Simplified 2020-02-08 00:10:33 +02:00
OverloadedOrama df085175ac Pixelorama now uses Godot 3.2
There shouldn't be any compatibility issues with 3.1 right now. This commit also closes #26
2020-01-29 19:03:26 +02:00
OverloadedOrama 14900ed5ab Remove custom brushes with the middle mouse button
And made the "X" button on the custom brushes a little smaller. Partially addresses #132
2020-01-28 00:22:04 +02:00
OverloadedOrama 6e198c6c60 Imported Spanish translation in the project settings 2020-01-22 20:20:58 +02:00
OverloadedOrama 2f61890a40 Updated imported translation files in the Project Settings 2020-01-21 23:03:42 +02:00
OverloadedOrama 48e871586c Added space for panning - Closes #110 2020-01-09 20:49:27 +02:00
Manolis Papadeas 77a55f2495
Merge branch 'master' into master 2020-01-08 17:01:59 +02:00
Marco fc1a30f12a Italian translation 2020-01-08 14:45:50 +01:00
OverloadedOrama 5a43bf33ee Added a VSplitContainer for Palettes and Layers 2020-01-08 01:41:46 +02:00
Hugo Locurcio 085b42a036
Use the 2D framebuffer allocation
This results in slightly increased performance and decreased
CPU/GPU usage.

This also prevents the "Directional shadow buffer status invalid" error
message from appearing in the console output when using a very old
graphics card.
2020-01-06 00:35:42 +01:00
OverloadedOrama fa3b2f649b Delete the contents of a selection when pressing "Delete" 2019-12-27 16:10:05 +02:00
OverloadedOrama 9b73e4f661 Edit palette fixes
- If the palette has colors, automatically select the first one
- When adding a new color button, take the color currently selected on the picker instead of white
- Fixes issues with drag&dropping color buttons. The color that was dragged remains selected.
2019-12-26 02:01:04 +02:00
OverloadedOrama ed2e757c11 Layer Opacity - Change alpha of each layer
Added a slider under the layer add/remove/etc buttons that changes the currently selected layer's transparency. It gets saved in .png and .pxo files, while respecting non-opaque pixels in the image too. Which means, their alpha values aren't being overwritten.
2019-12-24 23:51:08 +02:00
OverloadedOrama d35046d838 Translations - switched from a single .csv to gettext (multiple .po files)
See this for more info on gettext https://docs.godotengine.org/en/3.1/tutorials/i18n/localization_using_gettext.html
2019-12-24 01:47:43 +02:00
OverloadedOrama c840bed941 Enabled low processor usage 2019-12-23 21:29:45 +02:00
CheetoHead 888832b209 GPL importer update after Theme bug fix 2019-12-20 16:12:38 -05:00
CheetoHead 33551c4d81 Merge remote-tracking branch 'upstream/master' 2019-12-20 15:23:14 -05:00
CheetoHead 770c633db2 Added GPL importer, new palette classes for clarification 2019-12-20 15:22:52 -05:00
Michael Alexsander 8da4b78d30 Add brazilian portuguese translation 2019-12-20 13:25:02 -03:00
OverloadedOrama 80f7a0ca13 Added Shift+Ctrl+Z as a secondary shortcut for Redo 2019-12-19 17:07:26 +02:00
OverloadedOrama 69392ff34b Constrained angles on straight lines while pressing Ctrl 2019-12-19 15:50:41 +02:00
OverloadedOrama 7dd67e7130 Put Traditional Chinese to Preferences and changes font when choosing Chinese 2019-12-17 19:52:09 +02:00
OverloadedOrama bfcb52a2f0 Put Russian in preferences & in Project Settings 2019-12-17 13:10:42 +02:00
Overloaded dfc632e8f6
Re-added polish translation and description in project.godot 2019-12-17 04:12:54 +02:00
CheetoHead 388352467b Updated remove button to be disabled for default palettes 2019-12-16 10:48:23 -05:00
Dawid Niedźwiedzki bea101041b
Polish translation 2019-12-16 02:34:26 +01:00
Hugo Locurcio 0d1641fc64
Add a project description
The description will be displayed when hovering the project
in the Project Manager.
2019-12-15 21:40:17 +01:00
OverloadedOrama 00ef80e932 Fixed problem with drawing and filling gaps, created "shift" in Input Map
previous_mouse_pos is now used for regular drawing, while previous_mouse_pos_for_lines is used for straight lines
2019-12-15 14:07:28 +02:00
OverloadedOrama f3ab5960ba Imported German translation in the Project Settings 2019-12-15 13:44:53 +02:00
Overloaded 9453ac194c
Merge pull request #37 from Calinou/add-french-localization
Add French localization
2019-12-15 00:40:55 +02:00
Hugo Locurcio 0962d15174
Add French localization 2019-12-14 21:26:42 +01:00
Hugo Locurcio b0c6fb5769
Add a splash screen to replace the Godot logo
This is just a plain color, but it should feel more professional
at least :)
2019-12-14 20:16:22 +01:00
OverloadedOrama 634c459d08 v0.5 - The UI update
This commit fixes a bug with graphics tablets not being able to use undo and redo. v0.5 will be built from this commit.
2019-12-12 17:20:17 +02:00
OverloadedOrama ade2d05a1b Partial localization support - Greek Language
Also added a Preferences window, where the user can change Pixelorama's language. Note that the .csv's delimiter is Tab and not comma.
2019-12-07 17:45:48 +02:00
OverloadedOrama 0982cc7408 Made a theme and changed font to Roboto 2019-12-05 00:26:05 +02:00
OverloadedOrama 5f72e970c6 Added a custom color picker tool, which allows you to select a color from the canvas 2019-12-04 17:22:21 +02:00
OverloadedOrama 224316256c Added guides
- Added horizontal & vertical guides which can be dragged from their respective rulers
- Fixed bug when opening and importing files
2019-11-21 00:11:21 +02:00
Hugo Locurcio cfeb4213f5
Implement fullscreen toggle by pressing F11 or Alt + Enter 2019-11-19 22:33:37 +01:00
OverloadedOrama 7318db30ab Major UI changes - including new icons!
- New UI icons for the tools, layer and frame buttons.
- Removed clone, remove and move frame buttons. You can now right click on a frame button to do these actions instead.
- Added first, previous, next and last frame buttons to the timeline.
- Added rulers for the main canvas viewport.
- Window size bumped to 1152x648.
- Default FPS is now 6 instead of 1.
- Fill tool renamed to Bucket.
- Mouse default cursor shape for the canvas is the arrow instead of cross.
- Mouse default cursor shape for the mirror and onion skinning buttons is the pointing hand.
2019-11-19 23:23:43 +02:00
OverloadedOrama d66c501b5c v0.4 - Undo/Redo, mirrored drawing, lighten/darken tool and more!
In this commit:
- Added notification labels that appear when the user does an action (for undoing, redoing and saving)
- Fixed symmetry with custom brushes.
- In Main.gd, current_save_path and current_export_path get cleared when the user creates a new drawing or opens one.

v0.4 of Pixelorama is out! Check https://functionoverload590613498.wordpress.com/2019/11/13/pixelorama-v0-4-is-out/ for the full changelog.
2019-11-13 15:45:55 +02:00
OverloadedOrama c535ec801a Rename layers, layers & frames are now toggle-able buttons 2019-11-06 18:39:23 +02:00
OverloadedOrama 7b8c6bbf00 UndoRedo - Unstable with bugs
Started working on UndoRedo. Currently works with basic drawing/erasing/bucket filling as well as the rectangle selection tool, custom brushes and copying/pasting.

May not work with multiple layers and frames and it does not work with the rest of the tools and buttons. Also does not work when pressing both mouse buttons at the same time, or when the cursor is outside the canvas when drawing.
2019-10-29 23:22:38 +02:00
danielnaoexiste 918eec30ce git push origin master --force Added flip Horizontal/Vertical 2019-10-23 18:04:25 -03:00
OverloadedOrama c64c3408e8 Added two new tools, Paint all pixels of same color and lighten/darken
- Paint all pixels of same color tool added. Does what it says.
- Lighten/darken tool. It lightens by default, darkens when user is pressing Ctrl.
- Removed tool variables from main - stored everything in an array instead.
2019-10-23 02:54:29 +03:00
OverloadedOrama e18389d8c4 v0.3 - Custom brushes, rectangle selection and .pxo!
v0.3 of Pixelorama is out! Check https://functionoverload590613498.wordpress.com/2019/10/22/pixelorama-v0-3-is-out/ for the full changelog.
2019-10-22 14:27:07 +03:00
OverloadedOrama 4e4a526332 Custom brushes, crop image, split screen, about menu & asset re-organizing
- Added support for custom brushes. When you Ctrl-C a selection, it gets added to the list of custom brushes. Each mouse button can have a different brush, and the user can choose whether their color comes from the brush itself or the selected color in the tool options. They can also be resized based on the selected brush size.
- Custom brushes are also being saved on .pxo files.
- You can now crop images (per frame). All layers of that frame are taken into account and are affected.
- Added split screen support. The user can toggle between single screen and split screen, where a second canvas is being shown. Note that you cannot draw on the second canvas.
- Added an About Pixelorama selection on the new Help menu.
- Project assets are re-organized.
2019-09-25 22:59:48 +03:00
OverloadedOrama 2b710afd3b Added rectangle selection tool, copy & paste selection and Tile Mode
- New rectangle selection tool. Hold mouse button to create selection, release to finish it. You cannot draw outside of the selection.
- The selection can be moved around, and if Shift is pressed, selected content gets moved too. Currently cannot be moved outside the canvas.
- You can copy the selection with Ctrl + C, and paste it on a new selection with Ctrl + V.
- Added tile mode. Basically draws the canvas 8 more times in all directions.
2019-09-18 17:47:28 +03:00
OverloadedOrama dd9bfc1c33 Added Onion Skinning & Custom .pxo File
- Onion skinning for animations. Choose past and future steps and toggle blue-red mode.
- Custom .pxo file. If you save your project as a .pxo file, it remembers all of your frames, their layers, brush sizes, brush colors and color palletes!
- Ping-pong loop type. When the animation finishes, it plays backwards.
- Ability to import new frames in the timeline as additions, without deleting the previous frames.
2019-09-14 22:55:33 +03:00
OverloadedOrama f647a42752 Initial commit 2019-08-18 12:28:38 +03:00