User Tag List

Results 1 to 5 of 5

Thread: [2.50] Eyeball Combos and Animation Skipping

  1. #1
    Gel
    Join Date
    Feb 2017
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    vBActivity - Stats
    Points
    272
    Level
    6
    vBActivity - Bars
    Lv. Percent
    9.04%

    Not A Bug [2.50] Eyeball Combos and Animation Skipping

    Ok, I did some digging both here and PZC for any kind of documentation or understanding on this subject, and while I don't think I can definitively say this is a bug in the strictest sense, it's almost certainly unintended behavior that might need a look.

    For the record, I'm using ZQuest 2.50 build 28 in Windows 10.

    I want to make an animated Eyeball A combo. Simple enough, it's done like so:


    The frames for each direction are laid out in order. However, due to me being contrary and somewhat lazy, I wanted each frame to have its directions listed in order:


    I figured that animation skip would do this quite nicely, just set it to 7 and let it pick up on frame 2 after the directional images for frame one.

    Nope, that would be easy.

    For some reason, selecting animation skip has the intended effect of making the game look for all directions in order before looking for the next frame of animation, but the game still makes room for the frames of animation selected, even though it also looks for that animation after each complete set of directions. So to correctly animate an eyeball combo using animation skip, you are required to do this:


    This doesn't seem to be intended behavior, it almost seems like ZQ is only half-implementing the skip by correctly ordering the directions but not disabling the buffer between directions meant for animation without the skip.

  2. #2
    Administrator DarkDragon's Avatar
    Join Date
    Oct 2001
    Posts
    6,228
    Mentioned
    70 Post(s)
    Tagged
    0 Thread(s)
    vBActivity - Stats
    Points
    11,027
    Level
    31
    vBActivity - Bars
    Lv. Percent
    8.4%
    How is the eyeball combo supposed to know the starting tile for each direction's animation?

    Currently the first frame is N + 4*i, where N is the combo's tile and i is the direction (i=0 for up, 1 for up-right, etc). The animation then obeys the x and y skip values for each direction.

    It sounds like you want to change the base frame for each direction to be N + i instead. But I'm not sure how ZC is supposed to figure this out without some extra information from the user (e.g. a "stride" parameter that is 4 by default, and that you want to set to 1).

    Is there really a need to support unusual tile layouts for these combos?

  3. #3
    Gel
    Join Date
    Feb 2017
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    vBActivity - Stats
    Points
    272
    Level
    6
    vBActivity - Bars
    Lv. Percent
    9.04%
    I don't know, really, it just seems really odd behavior for the animation skip property to create.
    What is animation skip on the eyeball combo supposed to do? Am I just doing it incorrectly? Or was it never intended to be used that way?

  4. #4
    Administrator DarkDragon's Avatar
    Join Date
    Oct 2001
    Posts
    6,228
    Mentioned
    70 Post(s)
    Tagged
    0 Thread(s)
    vBActivity - Stats
    Points
    11,027
    Level
    31
    vBActivity - Bars
    Lv. Percent
    8.4%
    The way to think about it is that the eyeball combo creates 8 different and independent animations.
    Each animation has a start tile. From that start tile, the animation proceeds normally (including skipping in the x and y direction).
    But the start tile is currently hardcoded to have a stride of 3. So that the north eyeball animation starts at the combo's tile, the north-east eyeball animation starts four to the right of the combo's tile, etc.

    The part you want to change is the start tile for the animations. Instead of starting at tile +0, +3, +6, etc. you want to tell ZC to start at +0, +1, +2, etc. There is no easy way of doing this currently, though on the future with scriptable combos it would be easy to add a parameter that tells ZC the stride length of the starting tiles.

  5. #5
    Gel
    Join Date
    Feb 2017
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    vBActivity - Stats
    Points
    272
    Level
    6
    vBActivity - Bars
    Lv. Percent
    9.04%
    I see. Thanks for the explanation. idontknow's tutorial is really the only thing I could find on the subject, and it didn't really touch on the skip. I'm guessing that the animation skip just doesn't really work with eyeballs, and I'm just going to have to animate them normally. It's not a big deal, I was more curious why it wasn't working. Thanks again for clearing that up.

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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