Jump to content

corrupted

Members
  • Posts

    6
  • Joined

  • Last visited

Everything posted by corrupted

  1. tried and it didn't work
  2. after trying a lot I managed the code looks like this: I simply added SpriteFrame = (int) Math.Floor ((timeIn / (CalculateAttackTime () / 13f))); above: SpriteAnimation = SpriteAnimations.Shoot;
  3. and how do I make my weapon frame have 6 animations and the shoot have 13 animations? I'm not good with C #
  4. in my code there is If (AnimatedTextures [SpriteAnimations.Shoot]! = null && item.ProjectileId! = Guid.Empty) which is the code for if the player is using a projectile. right? in this case it makes sense to use if (SpriteFrame> = 13) { SpriteFrame = 0; } because my shot frame has 13 frames.
  5. I edited and it worked, now I have a problem between the shot and "swords", the animation of the shot has 13 frames and the sword animation has 6 frames. The animation of the sword works perfectly, but the shot shows only the 6 frames. this is my code, i don't know what could be going wrong. Code:
  6. first sorry for the bad english. I'm using LPC Graphics, I added the 13 side frames and it works perfectly, even the paperdoll works. the problem is that the attack, shoot, cast animations only move 4 frames. the animation when walking works perfectly and the idle too. Sprite Draw: Other modifications:
×
×
  • Create New...