agilenanax.blogg.se

Rpg maker mv yanfly battle engine low escape rate
Rpg maker mv yanfly battle engine low escape rate





rpg maker mv yanfly battle engine low escape rate

Scripts found through this list are made for RGSS3 (RMVXA). You can also leave a comment on this page. For any questions or inquiries, please refer to this topic on the VXAce forums. It is maintained by the staff and members of. max = - / frames, 2].max = - / frames, 2].max end #- # update_move_to #- def update_move_to = 0 if = || = 0 if = || value = - += > ? value : -value value = - += > ? value : -value end #- # move_forward #- def move_forward(distance = 24, frames = 12) direction = forward_direction move_direction(direction, distance, frames) end #- # move_backward #- def move_backward(distance = 24, frames = 12) direction = Direction.opposite(forward_direction) move_direction(direction, distance, frames) end #- # move_direction #- def move_direction(direction, distance = 24, frames = 12) case direction when 1 move_x = distance / -2 move_y = distance / 2 when 2 move_x = distance * 0 move_y = distance * 1 when 3 move_x = distance / -2 move_y = distance / 2 when 4 move_x = distance * -1 move_y = distance * 0 when 6 move_x = distance * 1 move_y = distance * 0 when 7 move_x = distance / -2 move_y = distance / -2 when 8 move_x = distance * 0 move_y = distance * -1 when 9 move_x = distance / 2 move_y = distance / -2 else return end destination_x = + move_x destination_y = + move_y create_move_to(destination_x, destination_y, frames) end #- # forward_direction #- def forward_direction return ($game_system.This page contains the RPG Maker VXAce Master Script List.

rpg maker mv yanfly battle engine low escape rate

#= #= # ? ¥ Direction #= module Direction #- # rrect #- def rrect(direction) case direction when 1 return 4 when 3 return 6 when 7 return 4 when 9 return 6 else return direction end end #- # self.opposite #- def self.opposite(direction) case direction when 1 return 6 when 2 return 8 when 3 return 4 when 4 return 6 when 6 return 4 when 7 return 6 when 8 return 2 when 9 return 4 else return direction end end end # Direction #= # ? ¥ Game_System #= class Game_System attr_accessor :party_direction end #= # ? ¥ Game_BattleCharacter #= class Game_BattleCharacter 0 move_backward(24, 6) unless = true end end #- # face_opposing_party #- def face_opposing_party direction = ($game_system.party_direction || YEA::VISUAL_BATTLERS::PARTY_DIRECTION) t_direction(rrect(direction)) rescue 0 end #- # new method: face_coordinate #- def face_coordinate(destination_x, destination_y) x1 = x2 = Integer(destination_x) y1 = Graphics.height - y2 = Graphics.height - Integer(destination_y) return if x1 = x2 and y1 = y2 #- angle = Integer(Math.atan2((y2-y1),(x2-x1)) * 1800 / Math::PI) if (0.225) = angle or (-225.0) = angle direction = 6 elsif (226.675) = angle direction = 9 elsif (676.1125) = angle direction = 8 elsif (1126.1575) = angle direction = 7 elsif (1576.1800) = angle or (-1800.-1576) = angle direction = 4 elsif (-1575.-1126) = angle direction = 1 elsif (-1125.-676) = angle direction = 2 elsif (-675.-226) = angle direction = 3 end #- t_direction(rrect(direction)) rescue 0 end #- # create_move_to #- def create_move_to(destination_x, destination_y, frames = 12) = destination_x = destination_y frames =. PARTY_LOCATION_FORMULA_X = "base_x + index * mod_x" PARTY_LOCATION_FORMULA_Y = "base_y + index * mod_y" end # VISUAL_BATTLERS end # YEA #= # ¥ Editting anything past this point may potentially result in causing # computer damage, incontinence, explosion of user's head, coma, death, and/or # halitosis so edit at your own risk. #= # ¥ Yanfly Engine Ace - Visual Battlers v1.01 # - Last Updated: 2012.07.24 # - Level: Easy # - Requires: n/a # ¥ Modified by: # - Yami # - Kread-Ex # - Archeia_Nessiah #= $imported = # Do not remove this.







Rpg maker mv yanfly battle engine low escape rate