API Changelog
1.2.3
Changed:
- Refactored
hsvcolor generation functions from$SEto$Graphics$SE.hsv(float h, float s, float v, int a) -> colorto$Graphics.hsv(float h, float s, float v, int a) -> color$SE.hsv(float h, float s, float v) -> colorto$Graphics.hsv(float h, float s, float v) -> color
1.2.2
Added:
lighttype- New namespaces and associated functions and constants
$Graphics$Math
1.2.0
Added:
- New types
scriptsave_config
- Constants
- Scope constants that evaluate to
int$SE.PROJECT=0$SE.LAYER=1$SE.FRAME=2$SE.CEL=3
- Save type constants that evaluate to
int$SE.NATIVE=0$SE.PNG_SHEET=1$SE.PNG_SEPARATE=2$SE.GIF=3$SE.MP4=4
- Dimension constants that evaluate to
bool$SE.HORZ=true$SE.VERT=false
- Added
layerfunctions; for somelayer L…-
L.get_name() -> string -
L.set_name(string);
-
- Added
projectfunctions; for someproject P…-
P.get_width() -> int -
P.get_height() -> int -
P.get_layer(string) -> layer -
P.get_save_config() -> save_config -
P.save_as(save_config);
-
- Added global functions
-
$SE.read_script(string) -> script -
$SE.new_save_config(string[], string, int) -> save_config -
$SE.transform(project, script, bool, bool) -> project -
$SE.transform(project, script) -> project -
$SE.new_project(int, int, bool) -> project
-
- Scope constants that evaluate to
Changed:
- Renamed
layerfunctions; for somelayer L…- Renamed
L.get_frame(int)toL.get_cel(int) - Renamed
L.set_frame(int, image)toL.set_cel(int, image) - Renamed
L.wipe_frame(int, image)toL.wipe_cel(int, image) - Renamed
L.edit_frame(int, image)toL.edit_cel(int, image) - Renamed
L.link_frames()toL.link_cels() - Renamed
L.unlink_frames()toL.unlink_cels() - Renamed
L.disable_layer()toL.disable() - Renamed
L.enable_layer()toL.enable()
- Renamed
1.1.0
Removed:
- Removed the property
mutableof the typepalette
Changed:
- API references to
LAYER-FRAMEhave been renamed toCEL; no changed behaviour
0.5.0
Added:
projectframe duration functions:-
P.get_frame_duration(int i) -> float -
P.get_frame_durations() -> float[] -
P.set_frame_duration(int i, float frame_duration);
-
Changed:
- Separated selection from scope in color actions
- Modified
scopeenumeration:0: PROJECT 1: LAYER 2: FRAME 3: LAYER_FRAME - Changed
projectcolor action function signatures:-
P.palettize(palette pal, int scope, bool include_disabled, bool ignore_selection); -
P.extract_to_pal(palette pal, int scope, bool include_disabled, bool ignore_selection); -
P.hsv_shift(int scope, bool include_disabled, bool ignore_selection, int h_shift, N s_shift, N v_shift); -
P.color_script(int scope, bool include_disabled, bool ignore_selection, string script_path);
-
- Modified
0.4.2
Note: This update completely redesigned the API and altered the syntax of every API function. Scripts that utilize API functions that were written for versions 0.4.0 or 0.4.1 will need to be rewritten in order to execute on subsequent versions of Stipple Effect.
Added:
palettetype- Global namespace
$SE projectcolor action functions:-
P.palettize(palette pal, int scope, bool include_disabled); -
P.extract_to_pal(palette pal, int scope, bool include_disabled); -
P.hsv_shift(int scope, bool include_disabled, int h_shift, float s_shift, float v_shift); -
P.color_script(int scope, bool include_disabled, string script_path);
-
Changed:
- Renamed
set_frame_contenttoset_frame - Renamed
get_frame_contenttoget_frame
0.4.0 - The Scripting Update
- Initial release of the scripting API