tModLoader Help with animating a projectile

Fabu ♡

Terrarian
--------------------------------------------------------

I DON'T NEED HELP WITH THIS ANYMORE

--------------------------------------------------------
I created an animated projectile, but I get this error:

error CS0115: 'FabusMod.Projectiles.RyuichimonjiSpirit.GetAnimation()': no suitable method found to override

This is the code of the Projectile:

Code:
using System;
using Microsoft.Xna.Framework;
using Terraria;
using Terraria.DataStructures;
using Terraria.ID;
using Terraria.ModLoader;

namespace FabusMod.Projectiles
{
    public class RyuichimonjiSpirit : ModProjectile
    {
        public override void SetDefaults()
        {
        projectile.width = 80;
        projectile.height = 38;
        projectile.friendly = true;
        projectile.melee = true;
        projectile.tileCollide = false;
        projectile.penetrate = 999;
        projectile.timeLeft = 5;
        projectile.light = 1.00f;
        projectile.extraUpdates = 1;
        projectile.ignoreWater = true;
        }
    
        public override DrawAnimation GetAnimation()
            {
            return new DrawAnimationVertical(70, 4);
            }
    }
}

And this is the sprite sheet:

4p9fEdT


If the image isn't loading, here's the download link for it:

https://www.file-upload.net/download-12643298/Untitled.png.html

I'd appreciate any help. :dryadpassionate:
 
Last edited:
If you don't mind my asking, how exactly did you go about resolving this issue? I'm having the same problem and can't find a way to fix it.
 
Back
Top Bottom