Closed jbunke closed 1 week ago
save_config
$SE.new_save_config(string[] folder, string filename, int save_type) -> save_config
save_config.set_scale_up(int scale_up);
save_config.set_frames_per_dim(int fpd);
save_config.set_lower(int lower);
- Sets lower frame bound and save mode to boundedsave_config.set_upper(int upper);
- Sets upper frame bound and save mode to boundedsave_config.set_fps(int fps);
save_config.unbounded();
- Saves all framessave_config.set_save_type(int save_type);
save_config.set_filename(string name);
save_config.set_folder(string[] folder);
save_config.set_prefix(string prefix);
save_config.set_suffix(string suffix);
save_config.set_count_from(int count_from);
save_config.set_dim(bool dim);
project.get_save_config() -> save_config
$SE.VERT
= false
$SE.HORZ
= true
Change:
get_frame()
and related functions that set or accessimage
objects toget_cel()
; deprecate previous name but ensure backwards compatibilityproject.color_script(int, bool, bool, string);
toproject.color_script(int, bool, bool, script);
Add:
New types
save_config
script
project
Expressions
project.get_width() -> int
project.get_height() -> int
project.get_layer(string) -> layer
- Get layer from its name; returns lowest matching layer, throws runtime error if there is no matchStatements
project.save_as(save_config);
- Throws runtime error if save config is incompatible with this project. For example, saving a subset of frames that is not applicable to the project in question because it is out of rangelayer
Expressions
layer.get_name() -> string
Statements
layer.set_name(string);
Global namespace (
$SE
)Expressions
$SE.transform(project, script, bool, bool) -> project
- Creates a new project by calling a preview script on the first argument project; sets it to the active Stipple Effect project and returns it$SE.new_project(int, int, bool) -> project
$SE.read_script(string) -> script
Constants for enums
$SE.PROJECT
$SE.LAYER
$SE.FRAME
$SE.CEL
Documentation