Change sprite graphic automatically depending on movement

Greenhorn

Villager
Member
Joined
Feb 10, 2014
Messages
17
Reaction score
0
Primarily Uses
I'm using inter alia the scripts Diagonal Movement, Character Control and Multi Frames by Victor Sant and they are working great with my High Fantasy Sprites.

But when I want to add a "Set move route" event to make a cutscene, I have to change the graphics manually every time the sprites walk or run. If there are many and extensive cutscenes, that's a lot of work and also it can be very confusing.

I would like to know if it's possible to change the sprite graphic automatically depending on the movement speed:

  •  $Sprite[f8] <-- should be automatically used with normal movement speed (1-4)
  •  $Sprite[f8][dsh] <-- should be automatically used with fast movement speed (5-6)

Is it possible to get an adequate script? This would be very helpful.

Thanks.

Edit:

Cleaned up the post a bit.
 
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
Are they the actual names of your spritesheets?


Does this apply to ALL events as well, or just to the player?
 

Greenhorn

Villager
Member
Joined
Feb 10, 2014
Messages
17
Reaction score
0
Primarily Uses
I removed this free movement script and the vertical/horizontal/diagonal issue is fixed now at least. That's good.

But It would be great if the graphic changes automatically depending on the movement speed. Is that possible?

Are they the actual names of your spritesheets?
Yes, they are. Here now an existing example (downloaded that sprite from www.pioneervalleygames.com):

  •  $Free_11[f8] <-- should be used with normal movement speed (1-4)
  •  $Free_11[f8][diag] <-- should be used with normal movement speed (1-4)
  •  $Free_11[f8][dsh] <-- should be used with fast movement speed (5-6)
  •  $Free_11[f8][diag][dsh] <-- should be used with fast movement speed (5-6)


Does this apply to ALL events as well, or just to the player?
Well, the vertical/horizontal/diagonal issue is fixed.

The little movement speed problem/issue is still not fixed and affects all events and the player when I want to add a "Set move route" event.

If I control the hero everything working fine.

Edit:

removed problem No.2
 
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
Maybe one issue per topic might be a bit easier to handle.
 

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

Latest Threads

Latest Profile Posts

People3_5 and People3_8 added!

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.

Forum statistics

Threads
105,868
Messages
1,017,081
Members
137,582
Latest member
Spartacraft
Top