Changing a character's running graphic?

merineri

Warper
Member
Joined
Jun 14, 2015
Messages
1
Reaction score
0
First Language
English
Primarily Uses
Hi! Okay, basically, I want to know how to change my main character's graphic when they're running. For example: Say they're walking down a road, and a monster chases them. Instead of just having them move faster, how would I upload an entirely different run cycle when I hit shift? I just want to change their walking animation to something that looks like its sprinting (which i've already drawn) when i hit shift, but I don't know how to do that. Is there a way to do this already, or do I need a script?
 

2fruit

Lurker
Veteran
Joined
Sep 16, 2015
Messages
39
Reaction score
1
First Language
English
Primarily Uses
A scripts or a very complicated parallel process by the side would be needed. See rpg maker uses the character sheet for movement and like you said there is no graphic difference between normal and sprint. Since you have made a custom graphic, please make sure it is the right format like the defaults.

Not sure about the script but a parallel process could work by checking if the "Shift" key is being pressed and if so changes the character graphic to the sprint version. To do so, make a new event somewhere out of the way on the map. Make it a parallel process and below characters. In its contents have a conditional branch = "shift" key is pressed and if true add in the true branch Move command -> Player -> Change graphic to sprint version. In the false branch add also a Move command -> Player -> Change graphic back to normal. After the conditional branch, not in any of its branches, add a wait command of between 3-30 frames. If it doesn't seem to loop, put all the contents in a loop command.

This should work like this:

1. Player walks with normal graphic

2. Player presses the shift button, satisfying the condition and changes the player graphic to the sprint version.

3. Player lets go of the shift button, player graphic changes back to normal.
 

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

Latest Threads

Latest Posts

Latest Profile Posts

so hopefully tomorrow i get to go home from the hospital i've been here for 5 days already and it's driving me mad. I miss my family like crazy but at least I get to use my own toiletries and my own clothes. My mom is coming to visit soon i can't wait to see her cause i miss her the most. :kaojoy:
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

Forum statistics

Threads
105,868
Messages
1,017,078
Members
137,580
Latest member
Snavi
Top