Request: Beat'em up "Walk Style"

Hi!

Is it posible to create a Beat'em up "Walk Style"? I mean, I want to make my "héroes and npc" to move in 4 ways direction (up, left, right, down) but only use the (left, right) frames/animation, like in the "beat'em up" games.

I could do it with the character sprite sheet, but I'd want to keep the direction they're facing when I press up or down...

Thanks in advance!
i'm also looking for this, remember that the characters actually use the standing position as a movement and it will look odd in a beat em up style game for walking, i hope somebody resolve to use a standing animation or frame when the character is standing
I think you could simply replace up/down animations with right/left with photoshop or gimp or something...
I tried to request this myself well I asked how it would work in a support topic
i'm also looking for this, remember that the characters actually use the standing position as a movement and it will look odd in a beat em up style game for walking, i hope somebody resolve to use a standing animation or frame when the character is standing
This might help you http://galvs-scripts.com/category/rmmv-plugins/mv-audiovisual-effects/#post-1432
Hi!


I found an script for VX ACE that creates a "Beat'em Up Walk Style" as I needed:

Spoiler
# Only allow player and events to face left or right
# If they're set to direction fix, they can change,
# otherwise they default back to their last 'valid' direction
# If not facing left or right to start with, and
# not having direction fix, choose a random direction
class Sprite_Character < Sprite_Base 
  #-------------------------------------------------------------------------- 
  # * Update Transfer Origin Rectangle 
  #-------------------------------------------------------------------------- 
  def update_src_rect   
    # Only face left/right unless on a ladder or direction_fix   
    if @character.ladder? || @character.direction_fix || [4,6].include?(@character.direction)     
      @sprite_direction = @character.direction   
    elsif @old_direction      
      @sprite_direction = @old_direction   
    elsif !@sprite_direction     
      @sprite_direction = [4,6][rand(2)]   
    end   
    @old_direction = @sprite_direction if [4,6].include?(@sprite_direction)   
    if @tile_id == 0     
      index = @character.character_index     
      pattern = @character.pattern < 3 ? @character.pattern : 1     
      sx = (index % 4 * 3 + pattern) * @cw     
      sy = (index / 4 * 4 + (@sprite_direction - 2) / 2) * @ch     
      self.src_rect.set(sx, sy, @cw, @ch)   
    end 
  end
end





But as I would like to start a new Project with MV... Can someone help me to convert it to JavaScript as a Plugin?


Thanks in advance!

Original thread: https://forums.rpgmakerweb.com/threads/request-beatem-up-walk-style.52144/