User Tag List

Results 1 to 4 of 4

Thread: Animated Sword Beams

  1. #1
    Friends Furever XMuppetSB's Avatar
    Join Date
    Dec 2005
    Location
    San Antonio, Texas
    Age
    34
    Posts
    1,932
    Mentioned
    6 Post(s)
    Tagged
    1 Thread(s)
    vBActivity - Stats
    Points
    6,326
    Level
    24
    vBActivity - Bars
    Lv. Percent
    52.17%

    Sick Bug Animated Sword Beams

    In 2.5, it is now possible to have animated sword beams. However, the default sword beam sprites are the same as the default sword stab sprites, so you would have to define separate weapon sprites for sword beams and set animation frames and animation speed for them.

    The only problem is, if you have animated sword beams, then the beam impact sprite would be offset by the number of animation frames plus 1, whereas if the sword beam is not animated, the impact sprite would come right after the L/R beam sprite. So for instance, if you have a sword beam sprite with 4 animation frames, the offset of the beam impact would be 5; or if the beam has 8 animation frames, the offset of the beam impact would be 9. This also applies to enemy sword beams.

    Also, if Link is facing left when he fires a beam from his sword and the beam animated, then the animation frames would be flipped horizontally. The animation frame flipping does not seem to happen with any other direction, however.
    Last edited by Tamamo; 11-04-2015 at 11:36 AM.

  2. #2
    Friends Furever XMuppetSB's Avatar
    Join Date
    Dec 2005
    Location
    San Antonio, Texas
    Age
    34
    Posts
    1,932
    Mentioned
    6 Post(s)
    Tagged
    1 Thread(s)
    vBActivity - Stats
    Points
    6,326
    Level
    24
    vBActivity - Bars
    Lv. Percent
    52.17%
    I forgot to mention this, but if Link is facing down when firing the sword beam, the sword beam animation is rotated at a 180 degree angle. And yes, this problem, as well as the other two problems mentioned above are still present in 2.50.1 RC2. As for the beam impact sprite offset, why not fix it to where the beam impact sprite comes after the last animation frame of the sword beam itself, instead of being offset by the number of animation frames plus 1.
    And in future versions (in other words, a rewrite), perhaps it would be nice if we could define a separate sword beam impact sprite for each sword.

  3. #3
    Friends Furever XMuppetSB's Avatar
    Join Date
    Dec 2005
    Location
    San Antonio, Texas
    Age
    34
    Posts
    1,932
    Mentioned
    6 Post(s)
    Tagged
    1 Thread(s)
    vBActivity - Stats
    Points
    6,326
    Level
    24
    vBActivity - Bars
    Lv. Percent
    52.17%
    Has anybody else tested out the animated sword beams? I tried this again in RC3, and I'm still seeing all the issues listed above. But then again, I've got a feeling that the animated sword beams were probably implemented in a rather half-assed way in the first place.

  4. #4
    Here lies mero. Died by his own dumbassitude.
    Join Date
    May 2011
    Posts
    929
    Mentioned
    102 Post(s)
    Tagged
    2 Thread(s)
    vBActivity - Stats
    Points
    5,527
    Level
    23
    vBActivity - Bars
    Lv. Percent
    13.96%
    Strange the beam impact sprite is actually the number of frames * 2 offset the OriginalTile.
    It's been fixed now, I hope.

Thread Information

Users Browsing this Thread

There are currently 2 users browsing this thread. (0 members and 2 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Armageddon Games is a game development group founded in 1997. We are extremely passionate about our work and our inspirations are mostly drawn from games of the 8-bit and 16-bit era.
Social