Request: Beat'em up "Walk Style"

berrybirdo

Warper
Member
Joined
Dec 3, 2015
Messages
3
Reaction score
0
Primarily Uses
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!
 

kachorritou

Warper
Member
Joined
Nov 30, 2015
Messages
4
Reaction score
0
First Language
spanish
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
 

Hisao Shou

Veteran
Veteran
Joined
Jan 8, 2015
Messages
156
Reaction score
22
Primarily Uses
I think you could simply replace up/down animations with right/left with photoshop or gimp or something...
 

NarikoStudios

Lover of Catgirls
Veteran
Joined
Nov 4, 2015
Messages
510
Reaction score
90
First Language
English
Primarily Uses
N/A
I tried to request this myself well I asked how it would work in a support topic
 

Kest

The Ecstasy of Gold
Veteran
Joined
Dec 4, 2014
Messages
148
Reaction score
24
First Language
English

berrybirdo

Warper
Member
Joined
Dec 3, 2015
Messages
3
Reaction score
0
Primarily Uses
Hi!


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

# 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!
 

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

Latest Threads

Latest Profile Posts

Don't forget, aspiring writers: Personality isn't what your characters do, it is WHY they do it.
Hello! I would like to know if there are any pluggings or any way to customize how battles look?
I was thinking that when you start the battle for it to appear the eyes of your characters and opponents sorta like Ace Attorney.
Sadly I don't know how that would be possible so I would be needing help! If you can help me in any way I would really apreciate it!
The biggest debate we need to complete on which is better, Waffles or Pancakes?
rux
How is it going? :D
Day 9 of giveaways! 8 prizes today :D

Forum statistics

Threads
106,051
Messages
1,018,549
Members
137,836
Latest member
T62352536256t362
Top