|
TModLoader v1.4.4.9
TModLoader source code documentation
|
| int Terraria.Projectile.frame |
The frame number in the spritesheet that this projectile will be drawn with. Assign in M:Terraria.ModLoader.ModProjectile.AI based on the state of the projectile and F:Terraria.Projectile.frameCounter.
F:Terraria.Main.projFrames must be set in ModProjectile.SetStaticDefaults as well.
Example: projectile has 4 frames, then frame can have values between 0 and 3
The Basic Projectile Guideteaches how to animate projectiles.
Defaults to 0.
Definition at line 409 of file Projectile.cs.
Referenced by Terraria.Projectile.AI_152_SuperStarSlash(), Terraria.Projectile.AI_GetMyGroupIndexAndFillBlackList(), Terraria.Projectile.Damage(), Terraria.Projectile.SetDefaults(), and Terraria.Projectile.VanillaAI().