Skip to content

Commit 9a6ba47

Browse files
committed
Add info about math expression support on numeric fields
1 parent 7bd0571 commit 9a6ba47

File tree

3 files changed

+26
-3
lines changed

3 files changed

+26
-3
lines changed

new-sprite.md

+14-3
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,20 @@ You can create a new sprite from *File > New* menu (<kbd>Ctrl+N</kbd> or <kbd>
44

55
![New sprite dialog](new-sprite/newsprite.png)
66

7-
Here you select the sprite dimension (in pixels), its
8-
[color mode](color-mode.md), and the default background color.
7+
Here you select the sprite:
8+
9+
* dimension (in pixels),
10+
* its [color mode](color-mode.md), and
11+
* the default background color.
12+
913
The sprite is created with a specific [palette by default](default-palette.md).
1014

15+
### Math in Numeric Fields
16+
17+
[Numeric fields](numeric-field.md) like *Width* and *Height* can evaluate little math expressions:
18+
19+
![Math demo in numeric field](numeric-field/math.gif)
20+
1121
## New Sprite from Selection
1222

1323
You can create a new sprite from the active selection using
@@ -19,4 +29,5 @@ You can create a new sprite from the active selection using
1929

2030
**SEE ALSO**
2131

22-
[Color Mode](color-mode.md)
32+
[Color Mode](color-mode.md) |
33+
[Default Palette](default-palette.md)

numeric-field.md

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# Numeric Field
2+
3+
Numeric fields on Aseprite can evaluate simple math expressions:
4+
5+
![Math demo in numeric field](numeric-field/math.gif)
6+
7+
---
8+
9+
**SEE ALSO**
10+
11+
[New Sprite](new-sprite.md) |
12+
[Issue #1762](https://github.com/aseprite/aseprite/issues/1762)

numeric-field/math.gif

14.5 KB
Loading

0 commit comments

Comments
 (0)