Fandom

Surfpup's tConfig Mod Wiki

Gore Class

124pages on
this wiki
Add New Page
Comments4 Share
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.

Chests

Placeholder!

Read More


PropertiesEdit

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 PropertiesEdit

Name Type Description
None N/A N/A

MethodsEdit

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 MethodsEdit

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

NotesEdit

None yet

Classes in Terraria

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

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.