Commit Graph

346 Commits

Author SHA1 Message Date
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
David Capello
4fe66f2ffb Change scripting language to Lua 2018-08-22 14:54:51 -03:00
David Capello
b6a9091763 Remove Ctrl+0/9 for ChangeColor because conflict with Ctrl+0 for FitScreen 2018-08-03 11:58:48 -03:00
David Capello
adb65ea64c Fix typo in gui.xml 2018-07-17 16:59:22 -03:00
David Capello
3ed516bc11 Add "Reverse Frames" in Frames popup menu (fix #1781) 2018-07-05 16:03:54 -03:00
David Capello
ac65b1291d Add Shift+Enter (PlayPreviewAnimation command) to play/stop animation in preview window (fix #1774) 2018-06-29 15:05:11 -03:00
David Capello
96ca735ed5 Add command to Stroke the selection bounds w/the foreground color 2018-05-30 18:05:18 -03:00
David Capello
291e9c7dde Add command to fill selection with foreground color (F key, related to #1387) 2018-05-30 16:53:20 -03:00
David Capello
6ae40b6c91 Show command to select normal map in the keyboard preferences 2018-03-12 14:00:56 -03:00
David Capello
c50a03640d Move SetColorSelector menu label for normal map to strings/en.ini file 2018-03-12 14:00:24 -03:00
David Capello
2f251c8a5a Merge branch 'normal-map-color-wheel' of https://github.com/robinjam/aseprite into robinjam-normal-map-color-wheel 2018-03-12 10:26:34 -03:00
David Capello
184736760a Add possibility to rotate ellipses and rectangles (fix #868) 2018-03-06 19:22:51 -03:00
David Capello
150b27862f Keyboard shortcuts to avoid selecting Paint Bucket and Gradient with G key 2017-12-06 09:55:07 -03:00
David Capello
ccee49c02b Move command friendly names to the strings file
Related to #124
2017-11-30 23:41:45 -03:00
David Capello
a754344cdc Unify selection-like tools tooltip strings 2017-10-23 11:15:10 -03:00
David Capello
36a44e6691 Move menus+tools strings to en.ini file (#124) 2017-10-11 18:24:01 -03:00
David Capello
cca9ff702a Add Brightness/Contrast menu option 2017-10-06 16:19:30 -03:00
David Capello
9c6f6f3114 Add LayerLock command 2017-10-03 15:34:07 -03:00
David Capello
f7b76058d3 Update version to 1.3-dev 2017-09-26 09:33:17 -03:00
David Capello
db2e582f23 Rename "Save File Copy As" -> "Export" 2017-09-22 13:07:48 -03:00
David Capello
0154a73d36 Add native macOS menus (fix #135)
* This implements the Cmd+H and Cmd+M keys too:
  https://community.aseprite.org/t/279
* Also Cmd+, has more priority on macOS than Cmd+K to open the
  preferences (so macOS menu shows Cmd+,)
2017-09-01 13:32:23 -03:00
David Capello
607c4d139e Add Cmd+K on macOS to open preferences (and remove old Ctrl+Shift+O) 2017-08-29 17:00:36 -03:00
David Capello
14427e98af Possibility to associate keyboard shorcuts to clear/link/unlink cels 2017-07-04 08:17:47 -03:00
David Capello
ab2fdb9a20 F4 shows fg color popup again
beta11 removed the palette editor but we still needed a way to show/hide the color popup.

Fix #1527
2017-07-03 17:41:10 -03:00
David Capello
84282764ee Merge branch 'master' 2017-06-22 17:49:59 -03:00
David Capello
8d693d1a08 Add Ctrl modifier to Shift+pencil to enable angle snap (#1387) 2017-06-22 17:49:26 -03:00
David Capello
7d1404de0a Unify palette editor with color selection (fix #1102)
Added a new A key shortcut (equal to F4) to switch between
selection/edition modes.
2017-06-22 17:44:34 -03:00
David Capello
239ac42378 Add Hue/Saturation filter (fix #1186)
Added new gfx::Hsl class to handle HSL color model(related to #707 and #1102)
2017-05-24 19:07:10 -03:00
David Capello
e3701940fb Add friendly names for ChangePixelFormat command 2017-05-19 10:23:26 -03:00
David Capello
cbee0862f3 Add a Color Mode conversion dialog with preview 2017-05-16 17:18:55 -03:00
David Capello
97bfaa21ec Add gradient tool (fix #418) 2017-05-04 10:38:34 -03:00
David Capello
097efa4cc2 Unify slice/move_slice tools 2017-04-12 15:40:27 -03:00
David Capello
add0c81260 Add guides/slices options in preference dialog
Also moved guide/slice colors to global preferences (instead of pref per document).
2017-03-25 01:01:59 -03:00
David Capello
f01e5ad5f3 Add Move Slice tool 2017-03-16 12:08:56 -03:00
David Capello
643cad5c97 Add basic implementation of slice tool (#721) to modify theme parts
It still need support to export to .aseprite-data as <slice> XML elements, and animation support.
2017-03-06 19:27:43 -03:00
David Capello
79f82cfbee Merge branch 'beta' into master
The next official release will be v1.2.
2017-01-30 16:02:21 -03:00
David Capello
e2595f3cce Add command to open/close layer groups (Shift+E) 2017-01-09 14:56:26 -03:00
David Capello
8691345f03 Add ContiguousFillCommand to switch Contiguous option with a shortcut 2017-01-09 13:04:00 -03:00
James Robinson
88d1165854 Add new color wheel for normal maps 2017-01-03 12:49:24 +00:00
David Capello
447b2701e4 Update version to 1.1.12-dev 2016-12-16 11:41:37 -03:00
David Capello
dc19c4b589 Merge branch 'master' into beta 2016-12-07 12:14:28 -03:00
David Capello
b5679a3f82 Add navigation through .md files on BrowserView 2016-12-07 01:12:54 -03:00
David Capello
c1e428544e Add minimal .md browser to show README/LICENSES files
Now we can see markdown files inside Aseprite. This is an initial
support (text only, separators, links only on headers and to external
URLs).

- Added a new docs/LICENSES.md file
- Removed old .txt licenses
2016-12-06 16:03:51 -03:00
David Capello
396f5fb78f Merge branch 'master' into beta 2016-12-02 19:13:08 -03:00
David Capello
7a0d6c7f9e Add command to change the layer opacity 2016-12-01 19:27:57 -03:00
David Capello
b2281636d6 Fix zoom 50% shortcut on regular US Mac keyboard 2016-12-01 18:11:52 -03:00
David Capello
9f06ce62b4 Update version to v1.1.10-dev 2016-10-27 12:38:39 -03:00
David Capello
bf4d6f1e4e Ask for a file when we add a new reference layer
Also the new reference layer is added centered in the sprite and scaling
it to make it fully visible in the canvas.
2016-10-12 14:41:58 -03:00
David Capello
1aa2a4137a Fix mnemonic char for "Add Reference Layer" 2016-10-12 14:28:46 -03:00
David Capello
7cf546c826 Add menu option to insert a reference layer 2016-10-04 19:55:30 -03:00
David Capello
28b1ee6625 Add "New Group" command to layer popup menu 2016-10-04 11:08:36 -03:00
David Capello
8b9c5f4f27 Merge branch 'timeline-thumbnails' into beta 2016-09-26 11:39:40 -03:00
David Capello
72ede7e642 Update to v1.1.9-dev 2016-09-23 11:10:45 -03:00
David Capello
ed8b8dfbd4 Add Alt+Shift+N keyboard shortcut for New Group 2016-09-23 11:07:39 -03:00
David Capello
1404b0ce7d Merge branch 'master' into beta 2016-09-16 16:02:26 -03:00
David Capello
1c7abd285e Add zoom/scroll buttons in ContextBar (including a new "Fit Screen" command) 2016-09-15 09:50:00 -03:00
David Capello
a104afc670 Merge branch 'master' into beta 2016-09-12 17:53:01 -03:00
David Capello
87a04f5c03 Add "View > Full Screen Mode" menu option 2016-09-12 12:16:29 -03:00
David Capello
5b8fcb576c Change F11 to F key to switch to the "advanced mode" 2016-09-12 11:41:58 -03:00
David Capello
20b726f73b Merge branch 'master' into beta 2016-08-31 19:53:52 -03:00
David Capello
97813251e1 Ungroup Eraser & Eyedropper tools
Several users don't find the eyedropper and they think it doesn't exist
at all. It'll be better to show this tool by default at the top toolbox
level to avoid confusion.
2016-08-22 20:53:57 -03:00
David Capello
3b5915a21a Update version to v1.1.8-dev 2016-07-31 20:25:01 -03:00
David Capello
d89d386185 Update version to 1.1.7-dev 2016-07-25 12:32:04 -03:00
Carlo 'zED' Caputo
57567af06b Add thumbnails in timeline (#340)
Reviewed-by: David Capello <davidcapello@gmail.com>
2016-07-25 10:00:00 -03:00
David Capello
f6fa39ba52 Merge NewGroup command into NewLayer command 2016-06-08 15:43:13 -03:00
David Capello
33d7f6509f Rename NewLayerGroup command -> NewGroup command 2016-06-08 15:20:11 -03:00
David Capello
2f91122c26 Rename layer folder/set -> layer group 2016-06-07 19:38:56 -03:00
David Capello
21afd4ecb5 Add new menu option to create a layer group 2016-06-07 19:06:36 -03:00
David Capello
4760a11348 Merge branch 'master' into beta 2016-06-06 18:02:30 -03:00
David Capello
0b8e3968df Update version to 1.2-dev 2016-05-24 12:58:06 -03:00
David Capello
05395c2437 Change ShowExtras shortcut to Cmd+H on OS X 2016-05-18 11:17:49 -03:00
David Capello
0f3252a80b Add CopyMerged command (Ctrl+Shift+C) (fix #824) 2016-05-17 12:59:48 -03:00
David Capello
dbb3cee178 Update version to 1.1.6-dev 2016-05-05 23:23:09 -03:00
David Capello
b60b76ff22 Add option to show layer edges 2016-05-03 16:23:38 -03:00
David Capello
5d1b33b02e Add Ctrl+Page Down/Up to move through tabs 2016-04-19 14:18:50 -03:00
David Capello
6c148c9bb6 Update version to 1.1.5-dev 2016-04-18 13:29:04 -03:00
David Capello
81fcbdab3d Update version to v1.1.4-dev 2016-04-11 13:02:49 -03:00