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
124
Reaction score
15
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
147
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 Posts

Latest Profile Posts

I really need to stop thinking there are new freebies just because someone made a new post in the freebies subforum lol.
AND just like that..... I got STEAM DLC up and working! YES!
Game making is like a marathon, except the last 1/4 is more like sprint... a very long and intense sprint.
Finally got to finish the demo for my project!
Another week has gone by. Maybe you made changes to your project/s. Maybe you didn't. Nonetheless, THAT IS NO EXCUSE TO NOT BACK THEM UP O_O!

Forum statistics

Threads
93,445
Messages
912,461
Members
122,970
Latest member
ineptalchemist
Top