Sprites#
A sprite is a .gs file in the root of the project directory, all other .gs files
(which are inside sub-directories of the project directory, or outside of the project
directory, are not sprites.) are header files.
Properties#
Sprite properties can be set using statements similar to blocks which set those properties at runtime.
Note
These statements are top-level, outside any declaration block.
Sprite default X position#
set_x 100;
Sprite default Y position#
set_y 100;
Sprite default size#
set_size 100;
Sprite default direction#
point_in_direction 100;
Sprite default volume#
set_volume 100;
Set sprite default visibility to hidden#
Hide sprite by default.
hide;
Set Sprite default rotation style to left-right#
set_rotation_style_left_right;
Set Sprite default rotation style to all around#
set_rotation_style_all_around;
Set Sprite default rotation style to don't rotate#
set_rotation_style_do_not_rotate;