Skip to content

Terraria Specific Implementation Concerns

Andrew Reade edited this page Jun 11, 2026 · 1 revision

Glowmasking

Terraria has a system for drawing an additional sprite on top of existing item sprites which always draws Fully Bright. This system is not exposed to mod developers as of 1.4.4. The LunarEarthMoverDrawLayer and the PostDrawInWorld methods in each earthmover show what has to be done in order to acheive this effect on your own.

Vector2.One

9 Times out of 10, when you see Vector2.One, this is because a given position was 1 or 2 pixels off of where it needed to be. Real classics of programming.

Clone this wiki locally