By George — February 11, 2018
Sets the maximum numbers of alternate color palettes that your character can use.
Argument | Type | Description |
---|
num | :real | The number of alternate color palettes to set. Must be a value between 6 and 16 |
Example, called from colors.gml:
set_num_palettes( 10 );
Categories: Functions, Programming, Workshop | Comments: 0
By George — February 11, 2018
Returns the y position (top side) of the current viewport.
Example, called from article1_update.gml:
if (y < view_get_yview()) {
instance_destroy();
}
Categories: Functions, Programming, Workshop | Comments: 0
By George — February 11, 2018
Returns the x position (left side) of the current viewport.
Example, called from article1_update.gml:
if (x < view_get_xview()) {
instance_destroy();
}
Categories: Functions, Programming, Workshop | Comments: 0
By George — February 11, 2018
Returns the height of the current viewport.
Example, called from article1_update.gml:
if (y > view_get_yview() + view_get_hview()) {
instance_destroy();
}
Categories: Functions, Programming, Workshop | Comments: 0
By George — February 11, 2018
Returns the width of the current viewport.
Example, called from article1_update.gml:
if (x > view_get_xview() + view_get_wview()) {
instance_destroy();
}
Categories: Functions, Programming, Workshop | Comments: 0