Surfpup's tConfig Mod Wiki
Advertisement
The information in this article is for Terraria v1.0.6.1.


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.

Tiles 21

Placeholder!

Read More


Properties[]

Name Type Description
active bool Whether the gore is marked for deletion
alpha int The alpha blending value of the gore
light float How much light the gore emits?
position Vector2 The location of gore in the world
rotation float How rotated the gore's sprite is
scale float How large the gore's sprite is
sticky bool Whether the gore sticks to the walls, etc
timeLeft int A timer for how much longer the gore has until it disappears
type int Which sprite to use for the gore
velocity Vector2 The gore's velocity in the world

Static Properties[]

Name Type Description
None N/A N/A

Methods[]

Method Name Description
GetAlpha()
public Color GetAlpha(Color newColor)
{
}

Gets the alpha blending value of the gore

  • Returns the alpha as a Color value
Update()
public void Update()
{
}

Updates this piece of gore.

  • Returns no value

Static Methods[]

Method Name Description
NewGore()
public static int NewGore(
    Vector2 Position,
    Vector2 Velocity,
    int Type,
    [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

Notes[]

None yet

Classes in Terraria

Chest | Cloud | Collision | Dust | Gore | Item | Lighting | Liquid | Main | NPC | Player | Projectile | Recipe | Sign | Star | WorldGen

Advertisement