Turn In Place

Discussion in 'JS Plugin Releases (RMMV)' started by mjshi, May 11, 2016.

  1. mjshi

    mjshi Jack of Most Trades Veteran

    Messages:
    837
    Likes Received:
    657
    Location:
    USA
    First Language:
    English
    Primarily Uses:
    N/A
    Turn In Place v1.01
    by mjshi- OK for use in all projects with credit
    Get it here! (direct link)

    Allows the player to turn in place before moving.
    Great for when the player needs to cross busy roads~

    Inspired by Sirbilly's Turn & Move for RPG Maker VX Ace.

    Features
    - Player is now able to turn in place
    - Configurable delay before the player starts moving (default: 8 frames)
    - Player will no longer be hit by cars due to their inability to look both ways before crossing the street

    Installation
    Drag into plugin folder, configure in plugin manager

    Author's Note
    Currently, this plugin is incompatible with any 8 direction or pixel movement plugins.
    Perhaps I'll see to making it compatible if there is a high enough demand for it.

    Credit
    mjshi


    edit: oops, it seems that Soulpour has already made something similar... But! My code is more streamlined and uses default MV movement methods, so it's less likely to interfere with other plugins, and supports touch input... Or something like that xD
     
    Last edited: Jul 10, 2018
    #1
  2. mjshi

    mjshi Jack of Most Trades Veteran

    Messages:
    837
    Likes Received:
    657
    Location:
    USA
    First Language:
    English
    Primarily Uses:
    N/A
    Update v1.01


    - Fixed a bug that occurs with transfer events and event processing


    - Slightly changed the way the plugin handles turning, should have an even smaller impact on FPS now
     
    #2
  3. OneTrueMitch

    OneTrueMitch A Let's Player Veteran

    Messages:
    95
    Likes Received:
    20
    Location:
    Canada
    First Language:
    English
    A most excellently simple plugin that I will certainly use. Thanks!
     
    #3
  4. FroggyGames

    FroggyGames Veteran Veteran

    Messages:
    39
    Likes Received:
    13
    First Language:
    English
    Primarily Uses:
    N/A
    now my characters won't be hit by cars. But seriously, this is a great plugin.
     
    #4
  5. gRaViJa

    gRaViJa Veteran Veteran

    Messages:
    732
    Likes Received:
    265
    Location:
    Belgium
    First Language:
    Dutch
    Doesn't seem to work properly with other sprite dimensions
     
    #5
  6. mjshi

    mjshi Jack of Most Trades Veteran

    Messages:
    837
    Likes Received:
    657
    Location:
    USA
    First Language:
    English
    Primarily Uses:
    N/A
    Last edited by a moderator: Jun 10, 2016
    #6
  7. gRaViJa

    gRaViJa Veteran Veteran

    Messages:
    732
    Likes Received:
    265
    Location:
    Belgium
    First Language:
    Dutch


    Only seems to happen when using the mouse:


    [​IMG]
     
    #7
  8. McSundae

    McSundae Veteran Veteran

    Messages:
    213
    Likes Received:
    218
    Location:
    Germany
    First Language:
    German
    Forget this Post


    i wrote into the wrong thread, was meant to be into the talk to follower thread


    Sadly i cant get this to running,  i installed the newest versions of turn in place and this plugin. Wrote a simple message into the first common event which should be triggerd by this script :(


    Any ideas?
     
    Last edited by a moderator: Jun 26, 2016
    #8
  9. mjshi

    mjshi Jack of Most Trades Veteran

    Messages:
    837
    Likes Received:
    657
    Location:
    USA
    First Language:
    English
    Primarily Uses:
    N/A
    @McSundae Did you put Talk To Follower below Turn In Place? If so, you should be able to turn around and talk to the player's followers.


    edit @gRaViJa whoops, I realized I never responded to your last post... Sorry about that! I'm not sure what's causing that graphical issue, since I've opened a new project and made the sprite dimensions nonstandard (I used 60x90 to test). Your sprite- is it composed of two characters? Like, the character sheets for the top half isn't connected to the bottom half? If so, that may have something to do with the plugin you used to have the top and bottom halves act together. 
     
    Last edited by a moderator: Jun 26, 2016
    #9
  10. McSundae

    McSundae Veteran Veteran

    Messages:
    213
    Likes Received:
    218
    Location:
    Germany
    First Language:
    German
    Oh great - that was everything i need, thanks alot :)
     
    #10
  11. gRaViJa

    gRaViJa Veteran Veteran

    Messages:
    732
    Likes Received:
    265
    Location:
    Belgium
    First Language:
    Dutch
    Hey, I was on a trip so couldn't respond sooner. No, the sheet is a single file. Exact size is 384 x 512.
     
    #11
  12. mjshi

    mjshi Jack of Most Trades Veteran

    Messages:
    837
    Likes Received:
    657
    Location:
    USA
    First Language:
    English
    Primarily Uses:
    N/A
    I used the attached image (384x512) and am still unable to reproduce this bug on a new project, with the plugins in this order:


    [​IMG]


    This bug is highly likely caused by plugin incompatibilities. Are you sure you don't have movement plugins? And could you double check for sprite plugins?

    sheet.png
     
    #12
  13. gRaViJa

    gRaViJa Veteran Veteran

    Messages:
    732
    Likes Received:
    265
    Location:
    Belgium
    First Language:
    Dutch
    I think i know what the problem is. I only have a single character on the sheet (you can do this by adding $ to the name). Here's the sheet:


    [​IMG]


    I always used XP and I always use single character sheets in MV too so i forget to mention this.
     
    #13
  14. mjshi

    mjshi Jack of Most Trades Veteran

    Messages:
    837
    Likes Received:
    657
    Location:
    USA
    First Language:
    English
    Primarily Uses:
    N/A
    Ah. A quickfix for this would be to expand the character sheet by (4x) its width and (2x) its height. (that is, to not use single character sheets) Otherwise, I'll have to investigate this in detail, which may take awhile...


    edit @gRaViJa Still no luck. I have a character file named "$sheet.png" in the characters folder, and the image is this:

    $sheet.png
     
    Last edited by a moderator: Jun 30, 2016
    #14
  15. Myzma

    Myzma Veteran Veteran

    Messages:
    32
    Likes Received:
    1
    First Language:
    English
    I'd love to use this, but I need 8-directional movement for my game... ;-;
     
    Last edited by a moderator: Oct 28, 2016
    #15
    MaGicBush likes this.
  16. mjshi

    mjshi Jack of Most Trades Veteran

    Messages:
    837
    Likes Received:
    657
    Location:
    USA
    First Language:
    English
    Primarily Uses:
    N/A
    Unfortunately, 8 directional movement is implemented differently in different plugin scripts, and some are harder to be compatible with than others. You'd have to tell me the exact 8-directional movement plugin you're using, and anything I write for that is highly unlikely to work with any other 8 directional movement plugins. Also currently, you're the only person who has brought it up. It's unlikely that I'll write one, but you can link the movement plugin here and I'll take a look.
     
    #16
  17. Myzma

    Myzma Veteran Veteran

    Messages:
    32
    Likes Received:
    1
    First Language:
    English
    I'm using 




    I find it a shame that I can't use these two scripts simultaneously, as my game needs diagonal movement, but I'd love to have turning in place.
     
    #17
  18. mjshi

    mjshi Jack of Most Trades Veteran

    Messages:
    837
    Likes Received:
    657
    Location:
    USA
    First Language:
    English
    Primarily Uses:
    N/A
    The google drive link for downloading/viewing the plugin on his site appears to be broken, could you paste it onto Pastebin or some other text hosting site?
     
    #18
  19. Myzma

    Myzma Veteran Veteran

    Messages:
    32
    Likes Received:
    1
    First Language:
    English
    #19
  20. mjshi

    mjshi Jack of Most Trades Veteran

    Messages:
    837
    Likes Received:
    657
    Location:
    USA
    First Language:
    English
    Primarily Uses:
    N/A
    Yeah, I'm sorry-- I won't be able to write anything for you, specifically. There is no way to change Turn In Place to be compatible with that plugin because I can't adapt anything, I'd have to write a completely new plugin integrated specifically into Victor's diagonal movement. Again, I'm sorry I couldn't help >.<
     
    #20

Share This Page