Event Position: Fine Tuning v1.0
By V.M.
Introduction
You know what's boring? Having to conform to the guidelines set before you!
Really though, this adds a feature to fine tune the x, y position of an event's sprite through a script call in set move route
Screenshots
Lonely Couple Before:
Happy Couple After:
Typical Boring Line Up:
Fine Tuned Boring Line Up:
Stupid Stool:
Good Stool:
How to Use
Place script in.
In any set move route command, use the script call, @shakechar = [true, x, y] where x and y are equal to the number of pixels to be offset.
Script
By V.M.
Introduction
You know what's boring? Having to conform to the guidelines set before you!
Really though, this adds a feature to fine tune the x, y position of an event's sprite through a script call in set move route
Screenshots
Lonely Couple Before:
Happy Couple After:
Typical Boring Line Up:
Fine Tuned Boring Line Up:
Stupid Stool:
Good Stool:
How to Use
Place script in.
In any set move route command, use the script call, @shakechar = [true, x, y] where x and y are equal to the number of pixels to be offset.
Script
- Code:
## Event Position: Fine Tuning ##
# Fine tune the x, y position of event's sprites!
#
# Usage: Script call, @shakechar = [true, x, y] within set move route
# x and y are equal to the number of pixels to be offset
#------#
#-- Script by: V.M of D.T
#--- Free to use in any project with credit given
class Game_CharacterBase
alias shake_init_public_members init_public_members
def init_public_members
shake_init_public_members
@shakechar = [false, 0, 0]
end
def screen_x
if @shakechar[0] == false || @shakechar[1] == nil then
$game_map.adjust_x(@real_x) * 32 + 16 else
$game_map.adjust_x(@real_x) * 32 + 16 + @shakechar[1] end
end
def screen_y
if @shakechar[0] == false || @shakechar[2] == nil then
$game_map.adjust_y(@real_y) * 32 + 32 - shift_y - jump_height else
$game_map.adjust_y(@real_y) * 32 + 32 - shift_y - jump_height + @shakechar[2] end
end
end
FAQ
None At The Moment
Credit and Thanks
- By V.M. of D.T.
- Free to use in any project with credit given
Author's Notes
I spent more time on the screenshots then the actual minor edit to add this one. Time well spent.