ParticleType - Mtax-Development/GML-OOP GitHub Wiki

Description

Constructs a Particle Type resource storing particle configuration for creation within Particle Systems.

Specification

Destruction
Elements
ParticleType.destroy()
None

Properties

Name
Type
Default
Modifiable
ID
{int:particleType}
None
No
shape
pt_shape_pixel
No
sprite
undefined
No
sprite_animate
false
No
sprite_matchAnimation
false
No
sprite_randomize
false
No
scale
Scale(1, 1)
No
size
1
No
size_increase
0
No
size_wiggle
0
No
speed
1
No
speed_increase
0
No
speed_wiggle
0
No
direction
0
No
direction_increase
0
No
direction_wiggle
0
No
angle
0
No
angle_increase
0
No
angle_wiggle
0
No
angle_relative
false
No
gravity
0
No
gravity_direction
undefined
No
color
{int:color|Color2|Color3}
100
No
color_type
false
No
blend_additive
c_white
No
alpha
{real[]}
color
No
life
[1, undefined, undefined]
No
step_type
{ParticleType}
undefined
No
step_number
{int}
0
No
death_type
{ParticleType}
undefined
No
death_number
{int}
0
No

Events

Pre-execution
Post-execution
beforeCreation
afterCreation

Construction types

Name
Arguments
New constructor
Empty
Constructor copy
other {ParticleType}
⚠️ **GitHub.com Fallback** ⚠️