RMParadise

It seems you either have yet to login or are not a member of RMP. If you are not yet a member, please feel free to sign up so that you can unlock every feature our forums have to offer. If you have yet to login, please do so soon.

A Paradise for RPGMakers.

Welcome everyone to RMP, your very own RPGMaker Paradise.
If you are reading this, that means that you are one of the select few who have been invited to experience our site as a Beta User.
Being a Beta User only requires that you report any bugs and/or problems upon finding them.
You get the chance to have free roam over the boards before they are public and are further up in line for promotions (which will be happening very soon, so stay on your best behavior).
Check out the thread for the RMP Beta Contest. Lets get some new content rolling.
Chat
Back to Top

    Event Position: Fine Tuning

    Share
    avatar
    Vlue
    I'm a new member :)
    I'm a new member :)

    Registered on Registered on : 2012-05-28
    Posts Posts : 30
    Rep. Points Rep. Points : 13

    Event Position: Fine Tuning

    Post by Vlue on Tue Jun 05, 2012 11:01 pm

    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
    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.
    avatar
    Nethaera
    Administrator
    Administrator

    Registered on Registered on : 2012-05-31
    Posts Posts : 67
    Rep. Points Rep. Points : 8

    Re: Event Position: Fine Tuning

    Post by Nethaera on Wed Jun 06, 2012 1:08 am

    This is awesome!


    _________________
    avatar
    DawningStar
    I'm a new member :)
    I'm a new member :)

    Registered on Registered on : 2012-05-29
    Posts Posts : 65
    Rep. Points Rep. Points : 9

    Re: Event Position: Fine Tuning

    Post by DawningStar on Wed Jun 06, 2012 1:15 am

    This is amazing! Thank you so much! :3

    Back when i first started making games this stupid issue was always pestering me... So much that I eventually stopped places items on top on one another all together! I really appreciate you uploading this mod! :D
    avatar
    Hyde
    Administrator
    Administrator

    Registered on Registered on : 2012-05-18
    Posts Posts : 101
    Rep. Points Rep. Points : 6

    Re: Event Position: Fine Tuning

    Post by Hyde on Wed Jun 06, 2012 1:44 am

    Oh wow Vlue, you have outdone yourself this time. Fantastic script!


    _________________

    avatar
    Reisen
    Moderator
    Moderator

    Registered on Registered on : 2012-05-25
    Posts Posts : 44
    Rep. Points Rep. Points : 7

    Re: Event Position: Fine Tuning

    Post by Reisen on Wed Jun 06, 2012 3:02 am

    Yup. This is totally gonna be useful, thanks Vlue :3


    _________________
    avatar
    Sepulchrum
    I'm a new member :)
    I'm a new member :)

    Registered on Registered on : 2012-06-04
    Posts Posts : 11
    Rep. Points Rep. Points : 6

    Re: Event Position: Fine Tuning

    Post by Sepulchrum on Wed Jun 06, 2012 8:30 am

    Sweet. Another reason to not change from RPG Maker to some other engine.

    Sponsored content

    Re: Event Position: Fine Tuning

    Post by Sponsored content


      Current date/time is Thu Dec 13, 2018 7:11 am