part_type_colour1

Sets a particle type to be a single colour throughout its lifespan.

Syntax:

GML Code Example

part_type_colour1(ind, colour1);


Argument Description
ind The index of the particle type to change.
colour1 The single colour to make the particle type.


Returns: N/A


Description

This function is used to set a particle type to be a single colour for the total duration of the lifetime of each individual particle.


Example:

GML Code Example

part_type_colour1(global.Snow_Part, c_white);

The above code will set all particles created of the particle type indexed in the global variable "Snow_Part" to be white only.





No Examples Submitted

Does this page need better examples? Be the first to Submit

No Edits Suggested

Is this page unclear or not descriptive enough? Suggest an edit to the page and with enough upvotes your changes will be made.

No Questions Have Been Ask

Do you have a question about this page? Ask it Here