mirror of
https://github.com/storytold/AniCraft.git
synced 2026-12-01 10:34:28 +01:00
chore: merge main into fix/backlog-web-build
This commit is contained in:
commit
9fbe4a9f79
40 files changed
+1563
-166
No files matched your search
@@ -34,18 +34,20 @@ Animator and Designer, plus your own saved workspaces and Reset.
|
||||
| Find and Replace | **Edit › Find and Replace** (**Ctrl+F**). |
|
||||
| Publish Settings | **File › Publish Settings…** (**Ctrl+Shift+F12**). |
|
||||
|
||||
Not in AniCraft yet: Components, Code Snippets, the Assets panel, and moving the Tools panel.
|
||||
The Tools panel moves like the others: drag the dotted grip at its top. Not in AniCraft yet:
|
||||
Components, Code Snippets and the Assets panel.
|
||||
See [The workspace](workspace.md) for a tour.
|
||||
|
||||
## Tools and their keys
|
||||
|
||||
Each tool has the key you already know.
|
||||
Most tools have the key you already know.
|
||||
|
||||
| Tool | Key | Notes |
|
||||
|---|---|---|
|
||||
| Selection | **V** | Selects raw strokes and fills with the dot pattern; drag an edge to bend it. |
|
||||
| Subselection | **A** | Points and handles, on raw drawings and drawing objects. |
|
||||
| Free Transform | **Q** | Scale, skew (drag the line between two handles), rotate and move; Shift and Alt as you'd expect. Drag the white circle to move the transformation point, double-click it to centre it; a rotated instance's box turns with it. |
|
||||
| Asset Warp | **Shift+Q** | Pins that bend a shape or a bitmap. |
|
||||
| Gradient Transform | **F** | Its own button (no flyouts yet). Gradient and bitmap fills, with Lock Fill. |
|
||||
| Width | **U** | Variable-width strokes, with profiles in Properties. |
|
||||
| Bone | **M** | Joins symbol instances into an armature, or draws bones inside a shape. |
|
||||
@@ -54,6 +56,7 @@ Each tool has the key you already know.
|
||||
| Text | **T** | Static, dynamic and input text. |
|
||||
| Pencil | **Shift+Y** | Smooth, Straighten and Ink modes. |
|
||||
| Brush | **B** | Like Animate's Classic Brush: paints filled shapes, with pen pressure. |
|
||||
| Paint Brush | **Y** | Draws a line in the stroke colour; its width follows pen pressure. |
|
||||
| Eraser | **E** | Five erase modes and the Faucet. |
|
||||
| Rectangle | **R** | With corner radius. |
|
||||
| Oval | **O** | |
|
||||
@@ -67,9 +70,9 @@ Each tool has the key you already know.
|
||||
| Zoom | **Z** | |
|
||||
| Object Drawing | **J** | Toggles between merge drawing and drawing objects. |
|
||||
|
||||
Not in AniCraft yet: the Lasso, Polygon and Magic Wand tools, the 3D tools,
|
||||
Asset Warp, the Paint Brush and Fluid Brush, Deco and the Spray Brush. More on the tools in
|
||||
[Drawing](drawing.md).
|
||||
Not in AniCraft yet: the Lasso, Polygon and Magic Wand tools, the 3D tools, the Fluid Brush,
|
||||
Deco and the Spray Brush. More on the tools in [Drawing](drawing.md); Asset Warp is in
|
||||
[Masks, guides, camera and bones](masks-guides-camera-bones.md#asset-warp).
|
||||
|
||||
## Keys that work as in Animate
|
||||
|
||||
@@ -81,6 +84,7 @@ Asset Warp, the Paint Brush and Fluid Brush, Deco and the Spray Brush. More on t
|
||||
| Clear keyframe | **Shift+F6** | Insert › Timeline › Clear Keyframe |
|
||||
| Insert blank keyframe | **F7** | Insert › Timeline › Blank Keyframe |
|
||||
| Convert to symbol | **F8** | Modify › Convert to Symbol… |
|
||||
| Document Settings | **Ctrl+J** | Modify › Document Settings |
|
||||
| Actions panel | **F9** | Window › Actions |
|
||||
| Play and stop | **Enter** | Control › Play |
|
||||
| Previous and next frame | **,** and **.** | Control |
|
||||
@@ -104,6 +108,8 @@ Asset Warp, the Paint Brush and Fluid Brush, Deco and the Spray Brush. More on t
|
||||
| Add shape hint | **Ctrl+Shift+H** | Modify › Shape › Add Shape Hint |
|
||||
| Find and Replace, Find Next | **Ctrl+F**, **F3** | Edit › Find and Replace |
|
||||
| Movie Explorer | **Alt+F3** | Window › Movie Explorer |
|
||||
| Library, Timeline, Tools and Properties panels | **Ctrl+L**, **Ctrl+Alt+T**, **Ctrl+F2**, **Ctrl+F3** | Window |
|
||||
| Hide and show panels | **F4** | Window › Hide Panels |
|
||||
| Snap to objects | **Ctrl+Shift+/** | View › Snapping › Snap to Objects |
|
||||
| Zoom in and out | **Ctrl+=**, **Ctrl+-** | View |
|
||||
| Preferences (Windows and Linux) | **Ctrl+U** | Edit › Preferences… |
|
||||
@@ -115,14 +121,12 @@ frame, and **Shift+PageUp** and **Shift+PageDown** for the previous and next sce
|
||||
|
||||
### Keys that differ
|
||||
|
||||
* **Ctrl+K** opens AniCraft's command palette, which finds any command by name. Align is always on
|
||||
the right, and on **Ctrl+Alt+1** to **6**.
|
||||
* **Ctrl+K** opens AniCraft's command palette, which finds any command by name. The Align panel
|
||||
has no key by default; aligning is on **Ctrl+Alt+1** to **6**.
|
||||
* **Ctrl+G** and **Ctrl+Shift+G** group and ungroup, as in Animate. A drawing object that
|
||||
mixes colours, such as the result of a Union, is a group in AniCraft: double-click it to edit
|
||||
inside.
|
||||
* **Ctrl+F8** (New Symbol): not there yet. Draw something and convert it with **F8**.
|
||||
* **Ctrl+J** (Document Settings): it is **Modify › Document Settings**, with no key by default.
|
||||
* Panel toggles such as **Ctrl+L** for the Library have no key yet; use the **Window** menu.
|
||||
* **Ctrl+0** fits the stage in the window and **Ctrl+1** shows it at 100 %.
|
||||
|
||||
Any key can be changed in **Help › Keyboard Shortcuts** (**Ctrl+Alt+Shift+K**, as in Animate), so you can bring back a habit
|
||||
@@ -143,8 +147,8 @@ Press **J** for Object Drawing to draw shapes that stay separate. Scripts and th
|
||||
draw objects unless told otherwise.
|
||||
|
||||
This behaviour was rebuilt to match Animate closely, and the remaining differences are tracked in
|
||||
issue 42 on [GitHub issues](https://github.com/storytold/AniCraft/issues). One known gap:
|
||||
variable-width strokes don't take part in merging yet.
|
||||
issue 42 on [GitHub issues](https://github.com/storytold/AniCraft/issues). Variable-width
|
||||
strokes merge too: a piece cut from one keeps the widths it had there.
|
||||
|
||||
### Classic, motion and shape tweens
|
||||
|
||||
@@ -192,16 +196,24 @@ ActionScript 1.0 and 2.0, and scripts placed on instances. See [Interactivity](i
|
||||
formats you choose at once. See [Exporting and publishing](exporting-and-publish.md).
|
||||
* **Test Movie** (**Ctrl+Enter**) opens in its own window with an Output panel; **Esc** closes it.
|
||||
|
||||
## More that works as in Animate
|
||||
|
||||
| In Animate | In AniCraft |
|
||||
|---|---|
|
||||
| Several documents in tabs | A tab for each open document, below the menu bar. See [Document tabs](workspace.md#document-tabs). |
|
||||
| Saved workspaces | **Window › Workspace › Save Workspace…** and **Manage Workspaces…**. See [Workspaces](workspace.md#workspaces). |
|
||||
| Envelope | **Modify › Transform › Envelope**. The bent artwork is plain shapes afterwards, so there is no Delete Envelope. See [Envelope](drawing.md#envelope). |
|
||||
| Brush modes, pressure and brush presets | The Brush's options in Properties: five paint modes, with Paint Selection and Paint Inside, and a pressure curve. **Window › Brush Library** keeps the built-in brushes and your own. See [The Brush](drawing.md#the-brush). |
|
||||
| Bone springs and joint translation | **Properties › Bone**. One armature can mix symbol instances and shapes. See [Bone properties](masks-guides-camera-bones.md#bone-properties). |
|
||||
| Styles on single characters | Select characters with the Text tool and style them. See [Styling words and characters](text.md#styling-words-and-characters). |
|
||||
| Text on a path | **Modify › Text › Attach Text to Path**. See [Text on a path](text.md#text-on-a-path). |
|
||||
|
||||
## Not in AniCraft yet
|
||||
|
||||
Besides the tools and keys above, these are still to come:
|
||||
|
||||
* saved workspaces and several open documents at once;
|
||||
* Envelope and Delete Envelope, and editing a multi-colour drawing object without opening it;
|
||||
* editing a multi-colour drawing object without opening it;
|
||||
* motion tweens and bones from Animate documents;
|
||||
* spring and joint translation for bones, and armatures mixing symbols and shapes;
|
||||
* the Brush's Paint Selection and Paint Inside modes, pressure curves and a brush library;
|
||||
* per-character text styles and text on a path;
|
||||
* full screen and zoom in Test Movie;
|
||||
* shared libraries;
|
||||
* SWF, AIR and other runtime targets.
|
||||
|
||||
+25
-4
@@ -19,13 +19,16 @@ your hand.
|
||||
| Selection | **V** | Select, move and bend artwork |
|
||||
| Subselection | **A** | Edit points and curve handles |
|
||||
| Free Transform | **Q** | Scale, skew, rotate and move |
|
||||
| Asset Warp | **Shift+Q** | Bend a shape or a bitmap with pins |
|
||||
| Gradient Transform | **F** | Move, turn and stretch a gradient or bitmap fill |
|
||||
| Width | **U** | Vary a line's thickness along it |
|
||||
| Bone | **M** | Join symbol instances into a poseable armature |
|
||||
| Bind | **Shift+M** | Choose which points of a shape follow which bone |
|
||||
| Pen | **P** | Draw precise curves point by point |
|
||||
| Text | **T** | Type text on the stage |
|
||||
| Pencil | **Shift+Y** | Draw freehand lines |
|
||||
| Brush | **B** | Paint filled shapes |
|
||||
| Paint Brush | **Y** | Draw lines whose width follows pen pressure |
|
||||
| Eraser | **E** | Rub out lines and fills |
|
||||
| Rectangle | **R** | Draw rectangles and squares |
|
||||
| Oval | **O** | Draw ovals and circles |
|
||||
@@ -42,7 +45,7 @@ While a drawing tool is in your hand, its options appear at the top of **Propert
|
||||
and stroke, line style, and the tool's own settings. You can change any of these keys in the
|
||||
shortcut editor (**Ctrl+Alt+Shift+K**).
|
||||
|
||||
The Bone and Camera tools are covered in
|
||||
The Bone, Bind, Asset Warp and Camera tools are covered in
|
||||
[Masks, guides, camera and bones](masks-guides-camera-bones.md), and the Text tool in
|
||||
[Text](text.md).
|
||||
|
||||
@@ -66,8 +69,8 @@ you don't want, and fill the spaces.
|
||||
that never cut or merge, and they're easy to move, stack and edit one at a time.
|
||||
|
||||
To switch between them, press **J**, or tick **Object drawing** in the tool's options in
|
||||
Properties. The setting applies to the Rectangle, Oval, PolyStar, Line, Pen, Pencil and Brush
|
||||
tools.
|
||||
Properties. The setting applies to the Rectangle, Oval, PolyStar, Line, Pen, Pencil, Brush and
|
||||
Paint Brush tools.
|
||||
|
||||
The Eraser only erases merged drawing. Drawing objects, symbols and text are left alone by
|
||||
it. To turn a drawing object back into merged drawing, select it and choose **Modify › Break
|
||||
@@ -94,7 +97,9 @@ With the **Selection** tool (**V**) on merged drawing:
|
||||
* **Drag a marquee** to select the parts of fills and lines under it, cut at the marquee's
|
||||
edges, plus any objects it touches (symbol instances, groups, drawing objects, text and
|
||||
bitmaps are taken whole). **Shift** adds more. If you click away without
|
||||
changing anything, the drawing is whole again.
|
||||
changing anything, the drawing is whole again. To take only the objects that are wholly
|
||||
inside the marquee, turn off **The marquee takes objects it touches** in
|
||||
[Preferences](preferences-shortcuts-accessibility.md#stage).
|
||||
* **Drag an unselected line** or the edge of a fill to **bend** it into a curve through the
|
||||
pointer. Its ends stay put, and a straight edge bends into one even arc wherever you grab it.
|
||||
* **Ctrl-drag** (**⌘-drag** on a Mac) a line or the edge of a fill to add a **corner point**
|
||||
@@ -176,6 +181,22 @@ the tip sweeps. A click paints a single dab. The options set the **Size** (or pr
|
||||
The last three never cover lines. With
|
||||
a pen tablet, pressure sets the width, from 10 % to the full size.
|
||||
|
||||
**Pressure.** Under **Pressure**, tick **Size**, **Opacity** or both to choose what the pen's
|
||||
pressure changes. **Curve** shapes the response: pick one of the presets beside it, or drag
|
||||
the points of the curve (drag elsewhere on it to add a point, double-click a point to remove
|
||||
it). Without a pen, **Speed as pressure** makes a faster stroke thinner.
|
||||
|
||||
**Brushes.** The **Brush** menu in the options picks a ready-made brush, such as Ink Pen,
|
||||
Marker or Chalk. **Library…** beside it, or **Window › Brush Library**, shows every brush with
|
||||
a preview. To keep a brush of your own, set it up in Properties, type a name in the Brush
|
||||
Library and click **Save Brush**. Right-click a brush of yours to rename or delete it;
|
||||
**Import…** and **Export…** move your brushes between computers as a brush set file.
|
||||
|
||||
**The Paint Brush** (**Y**) draws a line in the stroke colour instead of a filled shape. Its
|
||||
width follows the pen's pressure and the brush's tapers, and you can reshape it afterwards
|
||||
with the Width tool (see [Variable-width lines](#variable-width-lines)). It uses the same
|
||||
brushes and pressure settings, and **[** and **]** change its size.
|
||||
|
||||
**Texture and scatter.** **Texture** lets a paper grain show through the paint, like charcoal
|
||||
on rough paper; the grain stays put on the stage, so strokes laid over each other share it.
|
||||
**Scatter** throws dabs either side of the stroke and varies their size, for spatter and
|
||||
|
||||
@@ -437,7 +437,9 @@ Lottie animations carry no sound. See [Exporting and Publish](exporting-and-publ
|
||||
|
||||
## Not yet
|
||||
|
||||
* Picking a colour from a bitmap's pixels with the Eyedropper.
|
||||
* Picking a colour from a bitmap's pixels with the Eyedropper tool (it picks up whole fills).
|
||||
The eyedropper of an open colour picker does take the colour of a pixel: see
|
||||
[Choosing colours](drawing.md#choosing-colours).
|
||||
* Panning beyond what the envelope does.
|
||||
* Convert Audio to Keyframes on the camera or an armature layer, a filter's values, or with a
|
||||
classic tween between the keys; the sound's own effect (a fade) isn't counted in its
|
||||
|
||||
@@ -202,7 +202,8 @@ function onTick(e:Event):void {
|
||||
* Event bubbling, mouse listeners on the stage, and event fields such as `stageX` and
|
||||
`charCode`.
|
||||
* `getChildByName`, stage properties, sound and timers from scripts.
|
||||
* `Event.CHANGE` and other text field events, `htmlText` and text formatting from scripts.
|
||||
* Text field events other than `Event.CHANGE`, and text formatting from scripts other than
|
||||
`htmlText`.
|
||||
* ActionScript 1.0 and 2.0, and scripts attached to instances in older documents.
|
||||
* `navigateToURL` and other calls that reach outside the movie are ignored and noted in Output.
|
||||
|
||||
|
||||
@@ -126,6 +126,11 @@ portable copy, `data/themes` beside the app). To check a file without opening An
|
||||
Both settings are also in **View › Stage Rendering**, so you can switch without opening
|
||||
Preferences.
|
||||
|
||||
* **Selection**: **The marquee takes objects it touches** is on to begin with: a box dragged
|
||||
with the Selection tool selects every symbol instance, group, drawing object, text and bitmap
|
||||
it reaches. Turn it off to select only the objects that are wholly inside the box. Shapes
|
||||
drawn without Object Drawing are cut at the box's edges either way.
|
||||
|
||||
* **Window graphics**: how the whole window is drawn. **Automatic** (the default) tries the best
|
||||
way for your computer first and the next one if it doesn't work. If the window flickers or
|
||||
goes black, choose another way: **DirectX 12**, **Vulkan** or **OpenGL** on Windows, **Metal**
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# Command reference
|
||||
|
||||
Everything you can do in AniCraft is a command: the menus, the shortcuts, the command palette (**Ctrl+K**, macOS **⌘K**), `anicraft-cli` and AI assistants over MCP all run the same 406 commands, listed here by menu. The id is what scripts and [working headless](../working-headless.md) use; the parameters are what a command takes as JSON. Commands that change the document are one undo step each. Your own shortcuts (**Help › Keyboard Shortcuts**) replace the defaults shown here; see the [shortcut reference](shortcuts.md).
|
||||
Everything you can do in AniCraft is a command: the menus, the shortcuts, the command palette (**Ctrl+K**, macOS **⌘K**), `anicraft-cli` and AI assistants over MCP all run the same 407 commands, listed here by menu. The id is what scripts and [working headless](../working-headless.md) use; the parameters are what a command takes as JSON. Commands that change the document are one undo step each. Your own shortcuts (**Help › Keyboard Shortcuts**) replace the defaults shown here; see the [shortcut reference](shortcuts.md).
|
||||
|
||||
This page is generated from the command registry, so it always matches the version of AniCraft it came with.
|
||||
|
||||
@@ -581,8 +581,10 @@ These commands have no menu item: the panels, the stage and the timeline use the
|
||||
Parameters: ``{index, at} moves this scene's guide `index` (as view.aids lists them) to `at`; refused while guides are locked``
|
||||
- **Delete Guide** `view.guide_delete` · changes the document
|
||||
Parameters: ``{index} removes this scene's guide `index`; refused while guides are locked``
|
||||
- **Marquee Takes Touched Objects** `view.select_touching`
|
||||
Parameters: `{on?: bool} (default: toggle) the marquee takes the objects it only touches (on, as AniCraft starts) or only the objects wholly inside it; kept with the preferences`
|
||||
- **Rulers, Grid and Guides** `view.aids`
|
||||
Parameters: `{} whether the rulers, grid and guides show and snap, whether selection edges are hidden, the grid's and guides' settings, and this scene's guides [{axis, at}, ..]`
|
||||
Parameters: `{} whether the rulers, grid and guides show and snap, whether selection edges are hidden, whether the marquee takes objects it only touches (select_touching), the grid's and guides' settings, and this scene's guides [{axis, at}, ..]`
|
||||
- **Combine Objects** `modify.combine` · changes the document
|
||||
Parameters: `{op: union|intersect|punch|crop} combines the selected shapes on the active layer, bottom to top as they are stacked (ADR 0073). union: one drawing object of everything (a group of the merged pieces when they have more than one colour or keep lines); intersect: the area every one covers, in the topmost's fill and stroke; punch: the topmost's area cut out of each of the others; crop: each of the others cut to the topmost's area. Punch and crop remove the topmost. A result of one fill (or one line) is a drawing object, one of several is a group of raw shapes → {op, created}`
|
||||
- **List Library** `library.items`
|
||||
@@ -636,7 +638,7 @@ These commands have no menu item: the panels, the stage and the timeline use the
|
||||
- **Move Point** `raw.move_point` · changes the document
|
||||
Parameters: ``{x, y, to_x, to_y, with?: [[x, y], ..], points?: [[id, cmd], ..], snap?, slop?, merge?: bool} moves the corner or end at (x, y), with every raw shape that shares it, to (to_x, to_y), snapped within `snap` to points, lines and fill edges (while Snap to Objects is on); the anchors at `with` move by as much; returns the points to pass on while a drag goes on``
|
||||
- **Select Parts** `raw.select_rect` · changes the document
|
||||
Parameters: `{x0, y0, x1, y1, add?: bool} the marquee, on every visible, unlocked layer: the parts of raw fills and strokes under the rectangle (cut at its edges, per layer) and the objects it touches`
|
||||
Parameters: ``{x0, y0, x1, y1, add?: bool, touch?: bool} the marquee, on every visible, unlocked layer: the parts of raw fills and strokes under the rectangle (cut at its edges, per layer) and the objects it touches, or with `touch` false only the objects wholly inside it (default: as view.select_touching is set)``
|
||||
- **Merge Shapes** `raw.merge` · changes the document
|
||||
Parameters: `{ids?: [..]} the raw shapes (default: the selection) merge again with the raw shapes they touch, in place`
|
||||
- **Selection Tool Target** `raw.hit`
|
||||
|
||||
Reference in new issue
Block a user