Status
Not open for further replies.

marbeltoast

Your future fish empress
Veteran
Joined
Nov 11, 2018
Messages
95
Reaction score
32
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!
 

zerobeat032

Cloaked Wanderer...
Veteran
Joined
Mar 28, 2014
Messages
360
Reaction score
588
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://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.
 

Kes

Veteran
Veteran
Joined
Aug 3, 2012
Messages
22,305
Reaction score
11,734
First Language
English
Primarily Uses
RMVXA
[closed]IgnoreMe[/closed]
 
Status
Not open for further replies.

Latest Threads

Latest Profile Posts

Zaj
Okay anothe stupid question from me. Why is when everyone's explaining the scripts in the scriptlets, it chnge into green. how do i know when do i code without knowing whether its turning green or not
So I realized that I really just don't have enough time to make videos. However I don't mind clicking stream and just letting people watch me work on my game. I don't really have a good microphone... okay it's a $20 headset so it's terrible, and I have no web cam. So the stream would largely be royalty free music and me working, with minor interaction. I guess the question is, would that actually interest anybody?
Child base test two, flappin' their arms like it's VX Ace.
ChildTest-02.gif
Zaj
Hi quick question. Is it possible for me to make a custom VXAce script without learning some bulkiness of Ruby?

Forum statistics

Threads
111,325
Messages
1,060,201
Members
144,638
Latest member
Larshpe
Top