Sprite behavior animation trouble

MeepingMeep

Villager
Member
Joined
Jun 16, 2014
Messages
6
Reaction score
0
Primarily Uses
I am having the hardest time trying to figure out how to animate characters with the behavior tab sprite icons.

Yes I know that the 3x4 grids have to do with turned direction and such...and I even managed to make NPC animations work okay.

The problem I am having is trying to put behavior animation of my main character during an event, for some reason that is not working and instead either changes the sprite graphic to different character sprites altogether, or makes it so my character is appear idle while moving after the event has ended

I've looked up numerous topics about this issue with google searches but nothing seems to help

Maybe I'm just not understanding, and if so I would need to be told in a very...VERY basic fashion, else I'll end up just going 'HUH?'....as I am very new to all of this.

Any help available? Would be appreciated.
 

YoraeRasante

Veteran
Veteran
Joined
Jun 6, 2014
Messages
1,643
Reaction score
420
First Language
Portuguese
Primarily Uses
RMMV
could you show us the route you are making the character walk?
are you sure you are making it go back to the normal char/is undoing any animation fix you applied?
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
It would probably help if you actually SHOW us your event, and the spritesheet you are using. ;)


How to take a Screenshot:


You've heard people say to take a screenshot, but how does one take a screenshot of their game? Simple, while the game is running, hit the Prt Scr button on your keyboard, which is located right next to your F12 key. If you're using a laptop, you might have to use the Fn key in combination with the Prt Scr key to get it to work.

Now that you've pressed the button, it's time to paste this screenshot into an image editing software. If you don't have anything fancy such as Adobe Photoshop, GIMP or Paint.NET, no worries; you can use MS Paint instead. Open up your image editing software, create a new file, and then hit ctrl+v on your keyboard, or simply right click on the screen and select paste. This should instantly paste the screenshot into your image editing software. You can go ahead and crop the image to suit your needs, or if you don't even know what that means, you can just upload it as it is.

Save the image as a PNG, or if you really need to, as a high quality JPG.


How to upload the image to the forums


Now that you have you have an image on your computer you'd like to show us, how can you get it to show up on the forums? Firstly, you need to find an image hosting site, photobucket.com or imageshack.us are popular ones. If you have another image uploading website, great - use that one! Either way, upload it to the site, and then get the direct link. Don't get the resized link, or the thumbnail link, but the direct URL. You'll know you have the direct URL if the URL ends with the file extension you saved your image in (which will hopefully be .png).



Once you have this direct URL to your image, simply use the IMG tags in your forum post and paste the URL in between them. If this image is big, please leave the image in spoiler tags.

IMG tags:
 

RyokuHasu

Developer
Veteran
Joined
Jun 23, 2012
Messages
274
Reaction score
37
First Language
English
Primarily Uses
Shaz, you made me crap myself when I saw THAT MUCH blue text at once. lol
 

MeepingMeep

Villager
Member
Joined
Jun 16, 2014
Messages
6
Reaction score
0
Primarily Uses
All right so I got a screen shot to show in more detail the problem I am having.

I just put everything in a simple room to display the very basic concept of the issue.

Screenshot: http://i169.photobucket.com/albums/u230/MelodyKitten/000.png

To do the actual animation of the main character sprite (the purple haired girl) I am using a custom script I got from the forums to make the inputting of animation from the 3x4 behavior grids easier

Using this method doing the actual animation isn't the problem...the problem is at the ending of it all.

In this case, if the purple haired girl walks up to the NPC and talks to him, she'll do the programmed animation just fine (In this case it's her tilting her head down in thought), but the problem I am having is AFTER the event is over and the purple haired girl can walk around again she is 100% idle. She still moves, but her sprite graphic doesn't show the movement, she just slides across the ground all stiff.

Naturally I assume this has to do with the final line of the event? The one in pink that is trying to change her sprite graphic back to the purple haired girl from 'actor 5'.

So that is where I need help, how do I make it so when the event is all over the main sprite character goes back to normal AND isn't stuck in the idle animation?

I tried doing weird things like switches etc, least I think I've tried that...as stated I am VERY new to all of this, so if anyone has the solution it would have to be explained VERY basic to me, else I won't understand it at all.
 
Last edited by a moderator:

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
Shaz, you made me crap myself when I saw THAT MUCH blue text at once. lol
I know, right? Quote me as if you're going to make a post and see how much I REALLY typed in there!


OP, I really can't offer you much help as I come across this problem myself and just find other ways of doing things. What script are you using that allows you to change it? Please provide links. Have you placed it/them at the correct location - under Materials, where it says (insert here)? Are you using the RTP spritesheet?
 
Last edited by a moderator:

MeepingMeep

Villager
Member
Joined
Jun 16, 2014
Messages
6
Reaction score
0
Primarily Uses
I am using one of Galv's scripts called 'move route extras': http://galvs-scripts.com/category/rmvxa-scripts/event-utility/#post-772

And not sure what RTP is, so I may or may not. No idea. Just know I can't change her back and it's frustrating XD

And yes, the script is in the correct location. Read / watched youtube videos all about that stuff already, so know I am doing that part right.
 
Last edited by a moderator:

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
RTP = default resources. If the character sheet you're using was already provided with the engine and you didn't import it, you're using the RTP.
 

MeepingMeep

Villager
Member
Joined
Jun 16, 2014
Messages
6
Reaction score
0
Primarily Uses
Oh, gotcha, then yes I am, only custom scripts I have are word wrapping and this one that helps me do the animations in the 3x4 grids.
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
Galv's script is what I'd normally point people to, and most times it seems to do the trick.

Try doing a move route that sets Walking Anim back ON at the end of your event.

You also don't need multiple move routes. You can do it all in a single move route like this:

Code:
Set Move Route: Player (Wait)               Script: set_char("Behavior3",4,1,4)               Wait: 30 Frames (this is a move route command as well as an event command)               Script: set_char("Behavior3",4,2,4)               Wait: 30 Frames               Script: set_char("Behavior3",4,3,4)               Wait: 30 Frames               Walking Animation ON (at top right of move route commands)
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,365
Reaction score
7,674
First Language
German
Primarily Uses
RMMV
I have only looked at your screenshot, but what you should do is checking direction fix, removing it before any sprite change command and putting it back ON after the sprite change.


Without direction fix, the engine will override the current picture to face the actor when it's accessed, and that will cause problems if you're trying to keep a specific sprite.
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
It's Walking Animation that determines whether the character animates as they move. I have to admit, I didn't realize what the actual problem was until reading through the post with the screenshot a couple of times.


The changing of the sprites using the script is fine. Afterwards the PC doesn't animate while walking - just slides along the ground.
 

MeepingMeep

Villager
Member
Joined
Jun 16, 2014
Messages
6
Reaction score
0
Primarily Uses
Okay okay, so it seems you guys understand the issue I am having, unfortunately I still am not clear on what I did wrong.

So I need to set it to make the sprite walk again after the event...and I do that in the same move event area?

I mean I half understand, so will see if the advice you guys have given seems to help my matter. Literally just started learning this stuff like 3 days ago, never touched anything like this before ever, so it's been a rough ride.

Edit: I tried your method Shaz, adding the 'walking animation on' command as well and it still hasn't solved the issue.
 
Last edited by a moderator:

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
The bit of code I gave you up there should do it (if that IS the problem).


Just remove your current move routes and wait commands, and add a single new move route with all the commands I listed there. Then let us know if it works or not (and if it doesn't, post the screenshot showing the new setup).


Also, if it doesn't work, you could just zip up your project, load it up somewhere (not 4shared please - I can never download from there) and post a link here, so someone can grab your project and take a closer look. If you do that, make sure you set the starting spot right near the event that's causing the problem, so they don't need to go searching through maps or playing the game for 10 minutes to get to that point.
 
Last edited by a moderator:

MeepingMeep

Villager
Member
Joined
Jun 16, 2014
Messages
6
Reaction score
0
Primarily Uses
When I use the code setup the way you have it Shaz it creates more problems, not only is the main character sprite still just sliding across the floor, but when you move up, down, or right it changes the actor sprite completely.

Edit: So I'll use your code thingy Shaz, as seen here: http://i169.photobucket.com/albums/u230/MelodyKitten/0.png

and then what will happens is when the event is over, and I move downward, my sprite changes into something different, as seen here: http://i169.photobucket.com/albums/u230/MelodyKitten/00.png

The play test window on the right has the purple haired girl turn into a brown haired male, and if I move up then it turns into the blonde haired girl with the flowers in her hair, and then they are all STILL idle and just slide-moving across the floor.
 
Last edited by a moderator:

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
When you say "my sprite" - do you mean the player, or the event? What spritesheet are you using for the player?


Characters changing into other characters when they move is usually an issue with the contents and/or formatting of the spritesheet itself.


AT this point, I'd say zip up your project and let someone else take a look at it, because we're not getting anywhere fast with this method.
 

necrosharpe

Warper
Member
Joined
Jun 13, 2014
Messages
3
Reaction score
0
First Language
English
Primarily Uses
Thanks for posting this MeepingMeep: I am actually having a similar problem with my game. I have attempted to run an animation for an intro cutscene where the playable character (main actor) falls from the sky and  is approached by an NPC. This is all controlled through Galv's script.

I then use the standard move route controls supplied with RPG Ace to tell the main actor's sprite sheet to change from Damage1 to People4. I have double checked that direction fix is not checked at any point! 

The sprite just slides around (a little like the ghosts from FF6 if anyone one remembers them from the ghost train?). If I have any further joy I will post here! 
 

necrosharpe

Warper
Member
Joined
Jun 13, 2014
Messages
3
Reaction score
0
First Language
English
Primarily Uses
I may have just resolved the issue - I am afraid I can't fully explain it as I am at a very, very junior level of understanding scripts but I hope this helps. 

In Galv's script where he lists the script calls there is a reference "restore_char".

Once I had completed the animation set I added one final move route with the target as 'player' and added this script call. After that everything worked like a charm. I hope this helps. 
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
necrosharpe, please avoid double posting, as it is against the forum rules. You can review our forum rules here. Thank you.


Your problem has nothing to do with direction fix. It is more likely that you've messed around with Walking Animation (which RARELY needs to be changed) and have not reset it.


Since your problem is not the same, please start your own thread rather than distracting someone else's topic.
 

necrosharpe

Warper
Member
Joined
Jun 13, 2014
Messages
3
Reaction score
0
First Language
English
Primarily Uses
My apologies Shaz. If you can believe it I have never used a forum before.  :(    I have read the rules now, thanks for posting a link. 

I haven't touched any of the walking/stepping animations I saw on a separate forum post from a member who was having a similar issue with the script that the resolution was to check the direction fix box, but I may have misunderstood. Running the piece of script quoted above seemed to resolve the issue. My script looked similar to MeepingMeep's where I had 2 script calls to change the main actor's charset to the damage and then behaviour sheets. However once I called the original actor's sheet using the RPG maker's own tools it would remain stuck and wouldn't show movement. 

It may not resolve the whole of the problem, but hopefully that issue which MeepingMeep raised. Sorry if I have been a nuisance guys. 
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??

Forum statistics

Threads
105,862
Messages
1,017,045
Members
137,569
Latest member
Shtelsky
Top