C#C
C#6mo ago
V1

terraria tile animation

im trying to have a tile be animated, and that works, but the tile does not blend with itself, i cannot figure out how to fix this myself, i do not have my animated code due to undoing it, but heres the regular, non-animated code

using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
using Microsoft.Xna.Framework;
using tiletest1.Content.Items;

namespace tiletest1.Content.Tiles
{
public class NorfairGlowingStone : ModTile
{
public override void SetStaticDefaults()
{
// Properties
Main.tileSolid[Type] = true;
Main.tileMergeDirt[Type] = true;
Main.tileBlockLight[Type] = true;

// Set map display color and name
AddMapEntry(new Color(100, 100, 255), CreateMapEntryName());

// Set drop and visuals
RegisterItemDrop(ModContent.ItemType<NorfairGlowingStoneItem>());
DustType = DustID.BlueCrystalShard;

// Optional mining settings
MineResist = 1.2f; // how resistant it is to mining
MinPick = 0; // no pickaxe power required
}
}
}
Was this page helpful?