The information in this article is for Terraria v126.96.36.199.
The gore class probably doesn't need much attention, but it is responsible for handling gibs, those delightful little chunks of destroyed bunnies and nasty monsters. It is a very straightforward class and should be easy to use.
One note, you can also call gores to have a special effect somewhere (changing the sun texture...), or an extra button (like in Yorai's Visible Accesory's.
Whether the gore is marked for deletion
The alpha blending value of the gore
How much light the gore emits?
The location of gore in the world
How rotated the gore's sprite is
How large the gore's sprite is
Whether the gore sticks to the walls, etc
A timer for how much longer the gore has until it disappears
Which sprite to use for the gore
The gore's velocity in the world
Static Properties Edit
public Color GetAlpha(Color newColor)
Gets the alpha blending value of the gore
Returns the alpha as a Color value
public void Update()
Updates this piece of gore.
Static Methods Edit
public static int NewGore(
[float Scale = 1f]
Creates a new piece of gore in the world with the specified parameters.
Returns the index of Main.gore for the new gore object
Ad blocker interference detected!
Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers
Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.