LOGIN
SEARCH
PROFILE
keys: ↑ ↓
LOGOUT
INDEX
MEMBERS
keys: ↑ ↓
HOME
PORTAL
PLAY ALONG
PLAY with WORDS
PLAY with GRAPHICS
PLAY with SOUNDS
PLAY with CODES
PLAY with PROJECTS
keys: ← →
Guest Access
Register:
Members:



View previous topic View next topic Go down Message [Page 1 of 1]

ACTIVATED
ACTIVATED
#1 Beat'em up movement Empty Beat'em up movement
Loading

shogun3

avatar
ACTIVATED
ACTIVATED
ACTIVATED
profile
Here is a very simple and useful script of mine to be used with XAS in order to create beat'em ups, with characters only facing left or right.
Code:

class Game_Character
  def turn_down
      if $game_switches[6]
        unless @direction_fix
      @direction = 2
      @stop_count = 0
    else
end
end
end
  def turn_up
      if $game_switches[6]
        unless @direction_fix
        @direction = 8
      @stop_count = 0
    else
    end
    end
end
end
class Game_Player < Game_Character
  def move_by_input
    return unless movable?
    return if $game_map.interpreter.running?
    case Input.dir8
    when 1; move_lower_left
    when 2; move_down
    when 3; move_lower_right
    when 4; move_left
    when 6; move_right
    when 7; move_upper_left
    when 8; move_up
    when 9; move_upper_right
    end
  end
  end
ACTIVATED
Show Signature
ACTIVATED
EVENTALIST
EVENTALIST
#2 Beat'em up movement Empty Re: Beat'em up movement
Loading

mr_wiggles

mr_wiggles
EVENTALIST
 EVENTALIST
EVENTALIST
profile
Cool, its sometimes the little things that make all the diffrence in how a game handles. Not saying those little things are easy, cause don't get me wrong i've had code 10 lines long and be quite confusing.

It's cool that you where able to look threw the system and find the nessesary edits to make your goal a reality, and then to share that with anyone else that was looking. Nice job.
EVENTALIST
Show Signature
EVENTALIST

View previous topic View next topic Back to top Message [Page 1 of 1]

 

Chatbox system disabled
Personal messaging disabled