YED Sideview Battler sprite displacement issue <RESOLVED>

Discussion in 'Javascript/Plugin Support' started by marbeltoast, Oct 5, 2019.

Thread Status:
Not open for further replies.
  1. marbeltoast

    marbeltoast Your future fish emporer Veteran

    Messages:
    61
    Likes Received:
    20
    First Language:
    English
    Primarily Uses:
    RMMV
    Hey all!


    I'm using YED sideview battler to add more than 3 frames of animation to my game, but I'm having a problem with sprite placement on the screen.

    The first two frames of animation work as intended, but once frame number three comes up, the entire sprite shifts 256 pixels (the width of each frame) to the right, and another 256 for frame 4, and so on until the image is completely off the screen. It's like they're sliding on a banana peel; it would be funny if it weren't such an issue. However, the sprite will return to the correct position once the animation begins again.

    Additional info:
    Code:
    <Sideview Battler: $fishfolk>
    <Sideview Battler Size: 256, 256>
    <Sideview Battler Frames: 6>
    <Sideview Battler Speed: 6>
    
    <Sideview Battler Motion>
    Name: Walk
    Index: 0
    Loop
    Frames: 6
    Speed: 7
    </Sideview Battler Motion>
    
    <Sideview Battler Motion>
    Name: Wait
    Index: 0
    Loop
    Frames: 6
    Speed: 7
    </Sideview Battler Motion>
    
    <Sideview Battler Motion>
    Name: Chant
    Index: 0
    Loop
    Frames: 6
    Speed: 7
    </Sideview Battler Motion>
    
    <Sideview Battler Motion>
    Name: Guard
    Index: 0
    Loop
    Frames: 6
    Speed: 7
    </Sideview Battler Motion>
    
    <Sideview Battler Motion>
    Name: Damage
    Index: 5
    Loop
    Frames: 1
    Speed: 7
    </Sideview Battler Motion>
    
    <Sideview Battler Motion>
    Name: Evade
    Index: 0
    Loop
    Frames: 6
    Speed: 7
    </Sideview Battler Motion>
    
    <Sideview Battler Motion>
    Name: Thurst
    Index: 1
    Loop
    Frames: 6
    Speed: 7
    </Sideview Battler Motion>
    
    <Sideview Battler Motion>
    Name: Swing
    Index: 1
    Loop
    Frames: 6
    Speed: 7
    </Sideview Battler Motion>
    
    <Sideview Battler Motion>
    Name: Missle
    Index: 1
    Loop
    Frames: 6
    Speed: 7
    </Sideview Battler Motion>
    
    <Sideview Battler Motion>
    Name: Skill
    Index: 1
    Loop
    Frames: 6
    Speed: 7
    </Sideview Battler Motion>
    
    <Sideview Battler Motion>
    Name: Spell
    Index: 1
    Loop
    Frames: 6
    Speed: 7
    </Sideview Battler Motion>
    
    <Sideview Battler Motion>
    Name: Item
    Index: 0
    Loop
    Frames: 6
    Speed: 7
    </Sideview Battler Motion>
    
    <Sideview Battler Motion>
    Name: Escape
    Index: 0
    Loop
    Frames: 6
    Speed: 7
    </Sideview Battler Motion>
    
    <Sideview Battler Motion>
    Name: Victory
    Index: 4
    Loop
    Frames: 2
    Speed: 10
    </Sideview Battler Motion>
    
    <Sideview Battler Motion>
    Name: Dying
    Index: 3
    Loop
    Frames: 6
    Speed: 7
    </Sideview Battler Motion>
    
    <Sideview Battler Motion>
    Name: Abnormal
    Index: 3
    Loop
    Frames: 6
    Speed: 7
    </Sideview Battler Motion>
    
    <Sideview Battler Motion>
    Name: Sleep
    Index: 3
    Loop
    Frames: 6
    Speed: 7
    </Sideview Battler Motion>
    
    <Sideview Battler Motion>
    Name: Dead
    Index: 2
    Frames: 4
    Speed: 7
    </Sideview Battler Motion>

    I have tried to use 64 pixel frames instead of 256, and here's where it gets weird. Instead of shifting once it reaches frame 3, it stays in the same place as far as frame 5, and shifts on frame 6 by 64 pixels.

    I know very, very little about javascript.

    I have all the prerequisite plugins, being yanfly's core engine, the three battler animation packs, and yanfly's animated sideview enemies. Each functioned correctly without Sideview battler installed, so the problem is definitely with that.

    Lastly, I have seen that at least one other dev has encountered the same problem in the past (albeit they had the sprite move right for every single frame) so this is not an isolated issue.


    Any help at all with keeping my sprites from slipping on infinite banana peels would be much appreciated. Thanks for reading!
     
    #1
  2. zerobeat032

    zerobeat032 Directional NPC Veteran

    Messages:
    164
    Likes Received:
    83
    Location:
    St. Louis, Missouri
    First Language:
    English
    Primarily Uses:
    RMMV
    I was having a few issues with the plugin myself and so I had the following comissioned for me... https://127.0.0.1/banned.url/compatibility-yedyep-svenemies

    I'm not EXACTLY sure if this will help your issue. but I did notice now when I turn it off my enemy battlers do something similar to way your describing. and when it's on, it stops. so try this out and see if that helps.
     
    #2
    marbeltoast likes this.
  3. marbeltoast

    marbeltoast Your future fish emporer Veteran

    Messages:
    61
    Likes Received:
    20
    First Language:
    English
    Primarily Uses:
    RMMV
    #3
    zerobeat032 likes this.
  4. Kes

    Kes Global Moderators Global Mod

    Messages:
    20,925
    Likes Received:
    10,638
    First Language:
    English
    Primarily Uses:
    RMVXA

    This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

     
    #4
Thread Status:
Not open for further replies.

Share This Page