Fabu ♡
Terrarian
--------------------------------------------------------
I DON'T NEED HELP WITH THIS ANYMORE
--------------------------------------------------------
I created an animated projectile, but I get this error:I DON'T NEED HELP WITH THIS ANYMORE
--------------------------------------------------------
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:
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.
Last edited: