024F
{{{games}}}
- Description
- Creates a corona
- Syntax
- {{{syntax1}}}
- Parameter
This creates a corona at the coordinate. It is nearly identical to opcode 04D5. This opcode has to be placed in a loop in order for the corona to appear. When the corona is placed in a loop, it begins to appear by fading in. Coronas are transparent and all their textures are from the particle.txd
file. When not placed in a loop anymore, it fades out and disappears. Coronas are mainly used as checkpoints in races in the games. Note that the first three parameters are placed at the end instead of in the beginning.
Sanny Builder example:
024F: create_corona_with_radius 1.0 type 6 lensflares 0 with_color 255 0 0 at_point 0.0 0.0 0.0
Note
The above format is more commonly used. The actual format of this opcode is in order:
024F=9,%1d% %2d% %3d% %4d% %5d% %6d% %7d% %8d% %9d%
The format to use depends on which INI file you use.
Types of Coronas
Values not listed in the table will crash the game. The following images all have a size of 1.0 with the color white.
Types of Lens Flare
Lens flare is the light scattering effect on the lens of a camera. The most noticeably obvious use of lens flare in the games is when the player looks toward the sun but not directly at the sun.
Lensflare | Description |
---|---|
0 | none |
1 | yellow |
2 | white |