Host typegenerated
Sprite
A 2D image drawn in the game world, and how it is colored.
5 members · engine 0.1.0
Sprite.color_multiply: ColorAnother color the image is multiplied by, on top oftint.Sprite.color_offset: ColorA color added on top of the image, which can make it brighter or flash white. Keep itsaat 0, or the image's transparent edges become visible.Sprite.layer: numberDrawing order: higher numbers are drawn in front of lower ones.Sprite.shader_params: ShaderParamsFour numbers the sprite's shader reads, asx,y,zandw. What each one does is up to the shader: how far a dissolve has got, how bright a flash is.Sprite.tint: ColorA color the image is multiplied by. White leaves it unchanged; loweringafades it out.
- Source
- docs/generated/decay-api.json
- Schema
- v1
- Engine version
- 0.1.0
- Source commit
909aca81368b