Files
Bubberstation/code/modules/asset_cache/assets/particle_editor.dm
SkyratBot 8d1c87a394 [MIRROR] Particle editor [MDB IGNORE] (#17584)
* Particle editor (#71110)

## About The Pull Request
Demo: https://streamable.com/wnj3mf

Features:
- Full support for most gradients/vectors/numbers/generators/transforms
( I might have forgotten some of the more esoteric ones)
- A "tutorial" section that explains the different rand/generation types
and how physics works with pictures
- Button for viewing what each var does
- Selecting a particle type to set immediately
- The generator types use defines now

Not included:
Color matrix support for color generators (I'm sorry but hell no)

Special thanks to @ jlsnow301 for explaining js things to me

## Why It's Good For The Game

Making cool stuf

## Changelog
🆑
refactor: Added a particle editor to VV dropdown which can be used by
coders and admins to edit particle values on the fly easily.
/🆑

Co-authored-by: TiviPlus <572233640+TiviPlus@ users.noreply.com>

* Particle editor

Co-authored-by: TiviPlus <57223640+TiviPlus@users.noreply.github.com>
Co-authored-by: TiviPlus <572233640+TiviPlus@ users.noreply.com>
2022-11-20 00:33:34 +00:00

18 lines
791 B
Plaintext

/datum/asset/simple/particle_editor
assets = list(
"motion" = 'icons/ui_icons/particle_editor/motion.png',
"uniform" = 'icons/ui_icons/particle_editor/uniform_rand.png',
"normal" ='icons/ui_icons/particle_editor/normal_rand.png',
"linear" = 'icons/ui_icons/particle_editor/linear_rand.png',
"square_rand" = 'icons/ui_icons/particle_editor/square_rand.png',
"num" = 'icons/ui_icons/particle_editor/num_gen.png',
"vector" = 'icons/ui_icons/particle_editor/vector_gen.png',
"box" = 'icons/ui_icons/particle_editor/box_gen.png',
"circle" = 'icons/ui_icons/particle_editor/circle_gen.png',
"sphere" = 'icons/ui_icons/particle_editor/sphere_gen.png',
"square" = 'icons/ui_icons/particle_editor/square_gen.png',
"cube" = 'icons/ui_icons/particle_editor/cube_gen.png',
)