mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-01-02 13:02:38 +00:00
* 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>
16 lines
410 B
Plaintext
16 lines
410 B
Plaintext
//generator types
|
|
#define GEN_NUM "num"
|
|
#define GEN_VECTOR "vector"
|
|
#define GEN_BOX "box"
|
|
#define GEN_COLOR "color"
|
|
#define GEN_CIRCLE "circle"
|
|
#define GEN_SPHERE "sphere"
|
|
#define GEN_SQUARE "square"
|
|
#define GEN_CUBE "cube"
|
|
|
|
///particle editor var modifiers
|
|
#define P_DATA_GENERATOR "generator"
|
|
#define P_DATA_ICON_ADD "icon_add"
|
|
#define P_DATA_ICON_REMOVE "icon_remove"
|
|
#define P_DATA_ICON_WEIGHT "icon_edit"
|