Skip to content

Instantly share code, notes, and snippets.

@Rijam
Last active August 29, 2023 17:15
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Rijam/971b5252707860b65b582093580aa49c to your computer and use it in GitHub Desktop.
Save Rijam/971b5252707860b65b582093580aa49c to your computer and use it in GitHub Desktop.

Particle Orchestra Showcase

Sample Code

ParticleOrchestrator.RequestParticleSpawn(clientOnly: true, ParticleOrchestraType.Keybrand, new ParticleOrchestraSettings
{
	PositionInWorld = player.Center,
	MovementVector = Vector2.One
});

PositionInWorld and MovementVector are both Vector2 types. An additional constructor UniqueInfoPiece can be added and is int type.

Types

Vector2.One was used for the MovementVector in all of these demos. That is the reason some of the particles move down and to the right. The left and the right side aren't neccessarily the exact same instance, it's just to show what it looks like on solid white and black.

Keybrand

KeyBrand

FlameWaders

FlameWaders

StellarTune

StellarTune

WallOfFleshGoatMountFlames

WallOfFleshGoatMountFlames

BlackLightningHit

BlackLightningHit

RainbowRodHit

RainbowRodHit

BlackLightningSmall

BlackLightningSmall

StardustPunch

StardustPunch

PrincessWeapon

PrincessWeapon

PaladinsHammer

PaladinsHammer

NightsEdge

NightsEdge

SilverBulletSparkle

SilverBulletSparkle

TrueNightsEdge

TrueNightsEdge

Excalibur

Excalibur

TrueExcalibur

TrueExcalibur

TerraBlade

TerraBlade

ChlorophyteLeafCrystalPassive

ChlorophyteLeafCrystalPassive

ChlorophyteLeafCrystalShot

ChlorophyteLeafCrystalShot

UniqueInfoPiece controls the hue. 0 to 255 for the hue. 511 or above will make the color gray.

AshTreeShake

AshTreeShake

PetExchange

PetExchange

SlapHand

Doesn't actually look like anything, but it does play that comical slapping sound. Item_175

FlyMeal

Doesn't actually look like anything, but it does play that comical farting sound. Item_16

GasTrap

GasTrap6

Also makes that comical farting sound. Item_16

ItemTransfer

ItemTransfer

UniqueInfoPiece is the item ID for which item to show.

ShimmerArrow

ShimmerArrow

TownSlimeTransform

UniqueInfoPiece = 0

Used by the Nerdy Slime

TownSlimeTransform

UniqueInfoPiece = 1

Used by the Squire Slime

TownSlimeTransform1

UniqueInfoPiece = 2

Used by the Elder Slime

TownSlimeTransform2

LoadoutChange

LoadoutChange

Always spawns on the player no matter what the position is set to.

ShimmerBlock

ShimmerBlock

Digestion

Digestion

WaffleIron

Doesn't actually look like anything, but it does play a sound of the pan hitting enemies. Item_178

PooFly

PooFly

ShimmerTownNPC

ShimmerTownNPC

Also makes a magic shing sound. Item_29

ShimmerTownNPCSend

ShimmerTownNPCSend

Does not make any sound.

@its-truce
Copy link

thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment