extends BulletType
field | type | default | note |
---|---|---|---|
trailMult | float | 1.0 | |
trailSize | float | 4.0 |
public ArtilleryBulletType(float speed, float damage, String bulletSprite){ super(speed, damage, bulletSprite); collidesTiles = false; collides = false; collidesAir = false; scaleVelocity = true; hitShake = 1f; hitSound = Sounds.explosion; shootEffect = Fx.shootBig; trailEffect = Fx.artilleryTrail; shrinkX = 0.15f; shrinkY = 0.63f; //for trail: /* trailLength = 27; trailWidth = 3.5f; trailEffect = Fx.none; trailColor = Pal.bulletYellowBack; trailInterp = Interp.slope; shrinkX = 0.8f; shrinkY = 0.3f; */ } public ArtilleryBulletType(float speed, float damage){ this(speed, damage, "shell"); } public ArtilleryBulletType(){ this(1f, 1f, "shell"); }