Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

8 frame movement problem

Im sure this has been resolved, but I think it was lost in the hack or archived at .net or something.
When using the idle/8 way movement script/script edit respectively, it appears that for some reason the 7th frame when walking to the side skips completely, give the appearance of some kind of limp or something. Its weird. It works fine in the front and rear views. Did I overlook something?
 
Um, there is no 8 way movement script. You go into Sprite_Character and change the width from 4 frames to 8, then you go into Game_Character_2 and change line 23 to adjust the speed of the frames. Two small edits, I thought everyone knew that. That's why its called a script EDIT, not a script.
 
ryanwh said:
Um, there is no 8 way movement script. You go into Sprite_Character and change the width from 4 frames to 8, then you go into Game_Character_2 and change line 23 to adjust the speed of the frames. Two small edits, I thought everyone knew that. That's why its called a script EDIT, not a script.
I was just trying to help. Maybe it is a problem with the graphic, since you don't seem to want to post the edit you made. Check if the 7th frame is the same as the 6th frame.
 
Your script cuts the top half of the chars off. I dont have or want diagonal animations. I just want 8 horizontal frames, how do I get that script to just do that and nothing else cus it seemed to fix the frame skip problem.
 
ryanwh said:
I dont have or want diagonal animations. I just want 8 horizontal frames, how do I get that script to just do that and nothing else cus it seemed to fix the frame skip problem.

Read the script FAQ.
Script FAQ":3gw5wx0x said:
FAQ
Q: Does this allow for 4 directional movement AND multiple animations?
A: No. I only set this script up for 8 directions. Later, maybe

Q: Is this a finished script?
A: No. Still needs work: Walking backwards, event commands, etc.
 
And both scripts suggested can change the number of frames of animation.

Including 8 frames.

If not mine, then try fotz's. That one's a test-bed of almost every movement & map/movement related script (except SBABS and Fog of War).
 
Um... it's the 10th script in the Custom Movement System spoiler. But... here you go, a direct copy. :D

New Pixelmovement Script
http://hometown.aol.com/Der%20VVulfman/ ... s/DEMO.PNG[/IMG]http://hometown.aol.com/Der%20VVulfman/Files/RMXP/RMXP-ORG/Forum_Icons/FORUMS.PNG[/IMG]
by f0tz!baerchen (04-06-2006)
Allows you to move characters based on pixel location, not on the 32x32 tiles. Includes caterpillar system, 8-directional controls and more.​
 
More extra bells and whistles. I really just, you know, need 8 frame movement to work. Is it really that difficult a request or do I need to add diagonal charframes or pixel maps a hundred times over because the scripters can't be bothered. Forget it, he'll keep limping if these are the only options.
 

arev

Sponsor

calm down ryanwh :p
I made a small test, and it works as expected. I noticed that you didn'y mention about editing line 31 of Game_Character2, which should look like this:
Code:
@pattern = (@pattern % 8) + 1
to work with 8 frame + idle. if you have edited it, then its probably the sprite fault, but if you only edited those lines mentioned before, than that's the problem.
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top