Commit Graph

322 Commits

Author SHA1 Message Date
David Capello
8e61313f0e Add shortcut for Sprite > Sprite Size 2021-05-13 11:07:25 -03:00
David Capello
8e9dcd76ad Add "New..." submenu to layer menu popup in the timeline 2021-05-11 19:12:19 -03:00
David Capello
44437e0d1f Add new ConvertLayer command ("Layer > Convert To" menu item)
Now we have an easy way to convert between:
  Background <-> Layers <-> Tilemaps

Deprecated (they are kept only for backward compatibility):
  BackgroundFromLayer
  LayerFromBackground
2021-02-23 11:32:08 -03:00
David Capello
b6987a0262 New "Layer > Convert" submenu
This will be a place to put new options to convert images to tilemaps
and viceversa.
2021-02-22 16:50:31 -03:00
David Capello
289a6ab864 Merge branch 'master' into beta 2021-01-29 12:19:43 -03:00
David Capello
045e3ad473 Restore location of ColorQuantization option in the palette menu
Just to avoid confusion right now and to avoid deprecating
documentation in a minor release.
2021-01-15 12:23:10 -03:00
David Capello
d3f3858859 Minor change "save_as_preset" -> "saveAsPreset"
This new camelCase style is prefered since the introduction of the Lua
scripting API.
2021-01-05 11:41:26 -03:00
mezz
78fc63c3f8
Organize the palette load/save menu 2021-01-04 09:53:20 -10:00
mezz
98a0bcb2d7
Add palette option to save as preset
This works the same as saving a palette normally, but opens the file dialogue to the default palette preset directory.
2020-12-29 19:56:02 -10:00
David Capello
d73a67dde7 Revert "Swap "auto" mode to first place (Space+1) and "manual" to Space+2"
This reverts commit 2d0227e8b2.
2020-11-03 19:02:44 -03:00
David Capello
2d0227e8b2 Swap "auto" mode to first place (Space+1) and "manual" to Space+2 2020-10-26 17:58:01 -03:00
David Capello
8b1f887720 Show tile numbers when moving tilemaps 2020-10-13 18:12:29 -03:00
David Capello
3fbdd40f24 Add skew transformation (fix #71)
This is the first version of the feature, it still needs some
fixes (e.g. avoid skew transform when the pivot is in the same side of
the skew handle which can calculate a division by zero).
2020-09-18 19:29:43 -03:00
David Capello
676c582ede Minor change in gui.xml comments 2020-09-02 18:03:07 -03:00
David Capello
2ffac6803c Merge branch 'beta' into tilemap-editor 2020-08-06 10:47:06 -03:00
David Capello
4e08d12f28 Merge branch 'master' into beta 2020-08-06 10:46:32 -03:00
David Capello
5edf30687b Add File > Scripts > Rescan option to rescan the available scripts
https://community.aseprite.org/t/6170/6
2020-08-03 13:51:40 -03:00
David Capello
515dace441 Merge branch 'beta' into tilemap-editor 2020-07-13 17:32:42 -03:00
David Capello
ae02600a63 Add FullscreenMode command (fix #464) 2020-06-24 21:34:55 -03:00
David Capello
bd1723313a Merge branch 'master' into tilemap-editor 2020-06-12 11:33:55 -03:00
David Capello
2f472f0760 [steam] Add possibility to take screenshots and add them to the Steam library
Requests:
https://community.aseprite.org/t/6067
https://steamcommunity.com/app/431730/discussions/0/1482109512300945388/
https://steamcommunity.com/app/431730/discussions/0/1495615865218665223/
https://steamcommunity.com/app/431730/discussions/0/1708438376933048578/
2020-06-11 14:18:13 -03:00
David Capello
a80af2b304 Merge branch 'master' into tilemap-editor 2020-05-18 20:24:22 -03:00
David Capello
2af6a0493e Fix recent list of files menu
This is a problem introduced with the plugin groups, but now we use a
group to store the list of recent files. With this commit we fixed
some bugs in the impl of menu groups.
2020-04-08 17:50:17 -03:00
David Capello
298c2e24e8 Add possibility to put plugin:newCommand{} in specific menu locations identified as "groups" (#1949) 2020-04-02 23:18:08 -03:00
David Capello
7319309630 Merge branch 'master' into tilemap-editor 2020-03-17 00:25:24 -03:00
David Capello
a0882ba443 Move PACKAGE/VERSION, etc. to new ver-lib
* As we moved the VERSION macro to a .c file, we don't have to
  recompile the whole project when we change the version number.
* Removed the version number from gui.xml
* Removed the invalid first menu item that might appear in the root
  menu when the gui.xml version is outdated in debug mode.
2020-03-16 10:31:32 -03:00
David Capello
776b7862d3 Add Space+N/Tab/1,2,3 to handle tilemap modes
* Space+N to create new tilemaps
* Space+Tab to switch the tileset visibility
* Space+1,2,3 to change to manual/auto/stack tileset modes
2020-02-17 16:36:18 -03:00
David Capello
12e1b4d934 Add dialog to create new tilemaps selecting the tileset specs 2020-02-17 09:06:01 -03:00
David Capello
26139c4ae2 Add tilemap layers (#977)
This is the first commit with a simple tilemap editor. Still buggy but
functional in several ways. Several changes were made:

* NewLayer command can receive a tilemap=true to create a new tilemap
  layer
* New ToggleTilesMode command added to switch between the palette and
  the tileset in the ColorBar (the ColorBar was expanded to show
  colors or tilesets with a generic AbstractPaletteViewAdapter)
* All commands to create new layers were moved to Layer >
  New... submenu
* There are a new tileset chunk to save tilesets in .aseprite files,
  and a new kind of cels to save tilemaps
* Added doc::LayerTilemap, doc::Tileset, etc. and several other types
  to handle tilesets/tilemaps in the doc layer.
* Added doc::Grid class with grid specifications that indicates how a
  tilemap <-> tileset must be drawn
* Added and expanded cel operations to work with tilemaps and
  conversions between regular LayerImage cels <-> LayerTilemap cels
  (e.g. copy cels in the timeline between layer types)
2020-02-17 09:06:00 -03:00
David Capello
b7f41b811a Add Screenshot command 2019-12-05 12:05:18 -03:00
David Capello
1c8b8051a8 Rename FrameTag -> Tag 2019-10-01 14:55:08 -03:00
David Capello
75636afd64 Preserve cel links when we copy/move a range of cels/frames
This is a common solution in the DocApi wrapper that takes cares of
the duplicated cels that we're copying with copyCel() and that are
linked in the source, so then it maps the links into the destination.
Solving this in DocApi we fixed the problem on the timeline
drag-and-drop (doc_range_ops), copy/paste clipboard ranges, and merged
the code in NewFrame to duplicate (linked) cels.

We've also added 3 variants of Duplicate Cels with this change:
- Duplicate Cels: Copies the whole cel block without linking to
  previous cels.
- Duplicate Linked Cels: Copies the whole cel block linking all cels to
  previous cels.
- Duplicate Cels w/Layer Mode: Depending on the layer mode (continuous
  or not) the cels will be linked or not (this is how "duplicate
  linked cels" was working before, and was added just in case for
  backward compatibility).

Fixes: http://steamcommunity.com/app/431730/discussions/1/142261352649813598/
2019-09-26 19:09:23 -03:00
David Capello
8d4c68fe17 Remove duplicate menu options (prefer "Edit > Paste Special" to paste the clipboard as something new) 2019-07-02 15:34:26 -03:00
David Capello
757fadeaf0 Add New Layer via Cut/Copy commands (fix #1567) 2019-07-02 15:28:05 -03:00
David Capello
fe4106457f Add "Edit > Paste Special > Paste As New Sprite" option (fix #1024) 2019-06-28 18:51:14 -03:00
David Capello
ff6538a68e Add Edit > Paste Special > Paste As New (Reference) Layer (fix #672, fix #1748) 2019-06-27 15:34:56 -03:00
David Capello
54883012bb Put "Reopen Closed File" and "Clear Recent Files" options inside "File > Open Recent" menu 2019-05-27 23:53:57 -03:00
David Capello
cdb98d4cd5 Add File > Reopen Closed File command 2019-05-27 23:53:57 -03:00
David Capello
33dc3fd354 Update slice tool shortcut to Shift+C and change ScrollCenter to Shift+Z 2019-05-06 14:16:28 -03:00
David Capello
bbba80c809 Modify Canvas Size to be more "tool like" (easier to change the edges size, C keyboard shortcut) 2019-04-22 15:57:45 -03:00
David Capello
0a27425d77 Add possibility to play animation with the Enter Pad key 2019-04-13 18:14:29 -03:00
David N Campo
f24eb75298 Add --trim-by-grid CLI option 2019-03-22 10:55:26 -03:00
David Capello
9cf408541f Add Edit > FXs > Outline command (fix #371, #1198) 2019-03-11 15:35:22 -03:00
David N Campo
91c5ed8fd4 Add key mapping commands for symmetry
Now it is possible to associate symmetry with a selected shortcut.
2018-12-19 15:41:20 -03:00
David Capello
3a77321597 Add "intersect" selection mode
Discussions:
https://community.aseprite.org/t/intersectional-selection/801
https://community.aseprite.org/t/feature-request-intersect-with-selection-tool/1797
2018-10-26 14:04:08 -03:00
David Capello
967c819a18 Add GotoFirst/LastFrameInTag commands 2018-10-26 10:29:42 -03:00
David Capello
b0eea5cc50 Add possibility to flatten visible/selected layers (fix #1226)
Discussion:
* https://github.com/aseprite/aseprite/issues/1226
* https://community.aseprite.org/t/wish-flatten-selected-layers/163
2018-09-18 00:19:24 -03:00
David Capello
798d6df5ff Add File > Scripts menu 2018-09-05 13:35:13 -03:00
David Capello
e82847987f Remove link to donate page in Help menu 2018-09-05 11:28:20 -03:00
Gaspar Capello
93d0b94929 Enhancement new layer below (issue #1822) 2018-08-30 13:31:48 -03:00