VE - Diagonal Movement

● ARCHIVED · READ-ONLY
Started by Victor Sant 41 posts Page 1 of 3 View original ↗
  1. victor-engine-script-title.png
    diagonal-movement-name.png





     


     This plugin allows you to setup diagonal movement for the player and events. It’s compatible with mouse click movement. You can define a sprite for the diagonal movement and trigger events diagonally.
     
    Download:
    Victor Engine - Diagonal Movement
     
     
    Credits:
    Author: Victor Sant
     
    Terms of Use
  2. Awesome victor! Question are you going to be making an animated batter plugin like you did for ace?
  3. The collisions are always locked to the 48x48 grid?
  4. Great!

    How can i make it work with a character set like this? (the picture's positions are not accurate)

  5. Hello Victor,

    Awesome plugin!

    One thing i noticed is that whenever the hero walks diagonally right from the start (ie standing still then directly walking diagonally), the hero will walk straight to the right / left a bit first before actually walking diagonally. Is this intentional?

    But anyway, thanks for this plugin!
  6. RogdagoR said:
    The collisions are always locked to the 48x48 grid?
    The plugin default rpg maker passability checks.

    Castagna said:
    Great!

    How can i make it work with a character set like this? (the picture's positions are not accurate)
    Your charset needs to be like this:

    afDo8Lk.png

    DustyCat Media said:
    One thing i noticed is that whenever the hero walks diagonally right from the start (ie standing still then directly walking diagonally), the hero will walk straight to the right / left a bit first before actually walking diagonally. Is this intentional?
    Are you using mouse click or the keyboard? With the keyboard it's quite hard to press both directional keys simultaneously, so the maker will see you pressing one key before the other. I tried sometimes and the timing must be perfect for it to walk diagonally from the start. With a joystick it might be easier.
  7. Very, very, very nice!!! Finally a diagonal movement that won't pass through the corners. Good job!!!
  8. Victor Sant said:
    The plugin default rpg maker passability checks.

    Your charset needs to be like this:



    Are you using mouse click or the keyboard? With the keyboard it's quite hard to press both directional keys simultaneously, so the maker will see you pressing one key before the other. I tried sometimes and the timing must be perfect for it to walk diagonally from the start. With a joystick it might be easier.
    Yeah, i use a joystick and it's a bit easier but still it need to be very precise. I don't know a lot about js but if there is a way to adjust the value of direction detection based on the joystick alignement degree (360°), that could give something very interesting. If not, that plugin still pretty flawless! I used it a lot and its pretty fine!
  9. solaris1111 said:
    Yeah, i use a joystick and it's a bit easier but still it need to be very precise. I don't know a lot about js but if there is a way to adjust the value of direction detection based on the joystick alignement degree (360°), that could give something very interesting. If not, that plugin still pretty flawless! I used it a lot and its pretty fine!
    This plugin uses the default maker 8 dir movement available on the maker (but that is not used except by a few event commands) and enables it for actors and events, This plugin don't change the default behavior of the diagonal movement.

    There was a plugin for analong movement somewhere that accomplish that.
  10. Its not what i meant but my english is bad. Im was still talking about 8dir. I was thinking avout a solution for the need to be very precise to walk diagonaly on the first move. I was more talking than asking. Have a nice day.
  11. solaris1111 said:
    Its not what i meant but my english is bad. Im was still talking about 8dir. I was thinking avout a solution for the need to be very precise to walk diagonaly on the first move. I was more talking than asking. Have a nice day.
    I think that the only thing that could solve that is a pixel movement plugin, the player will still moves to a direction first, but will only give a small step then start walk diagonally.
  12. Yes! That's a solution. I really need to make a decision if i go pixel or not.
  13. Hi Victor. I'd like to know if it's in your plan to make pixel movement. I know you did a great job on that with VX so i was wondering for MV. I know about orange pixel movement but if you tell me you'll do it, i'll wait for yours. 
  14. Absolutely. Although it's not on my short list, I'm pretty sure I will make a pixel movement plugin at some point. (because moving platform without pixel movement is very bad B)  )
  15. Hi Victor,

    Great plugin, thanks alot!, awesome that you even thought about the corner-passability.

    I already tested it in my own game, and it works fine except of a little lag when the player is moving diagonally. I don't know wether this is caused by an over-all slower speed of the character when moving diagonally, or by a heavy workload on the computer while moving diagonally.

    I'm not really familiar with scripting, but is there a way either to speed the diagonal movement up a little, or to cut the source code so that it only enables the directional movement without the additional stuff to reduce the workload, especially when playing on slower, mobile devices?

    Edit: Seems to be a matter of the workload on the cpu. The lag gets annoying for example when using the plugin in combination with masked's smooth-scroll plugin.
  16. Akrib said:
    Hi Victor,

    Great plugin, thanks alot!, awesome that you even thought about the corner-passability.

    I already tested it in my own game, and it works fine except of a little lag when the player is moving diagonally. I don't know wether this is caused by an over-all slower speed of the character when moving diagonally, or by a heavy workload on the computer while moving diagonally.

    I'm not really familiar with scripting, but is there a way either to speed the diagonal movement up a little, or to cut the source code so that it only enables the directional movement without the additional stuff to reduce the workload, especially when playing on slower, mobile devices?

    Edit: Seems to be a matter of the workload on the cpu. The lag gets annoying for example when using the plugin in combination with masked's smooth-scroll plugin.
    Try to use this plugin https://soulxregalia.wordpress.com/2015/11/24/rmv-camera-scroll-ex/

    instead of the smooth scroll plugin you have. It may solve the workload on your CPU, and may not clash with Victor's.
  17. Milena said:
    Try to use this plugin https://soulxregalia.wordpress.com/2015/11/24/rmv-camera-scroll-ex/

    instead of the smooth scroll plugin you have. It may solve the workload on your CPU, and may not clash with Victor's.
    Thanks a lot for the advise!, i'll give that a try. But it won't completely solve my problem, because the diagonal movement script is causing lag on my computer even without the scrolling script activated. It's just more extreme with the scrolling script enabled.
  18. I don't know how moving diagonally can cause an workload on your CPU. The plugin mostly just invoke methods that are already available on the maker but are unnused.

    Are you testing it on a fresh project only with the basic module and diagonal movement? And by how much does your FPS drop (press F2 during test play to see the FPS)

    Anyway, if you want just to walk diagonally with no additional resource (diagonal trigger, graphic change, digonal events and such) try looking for another plugin.

    All those features are the main point of this plugin, without them this plugin become pointless, since there are other plugins that already offer diagonal movement with no additional.
  19. Victor Sant said:
    I don't know how moving diagonally can cause an workload on your CPU. The plugin mostly just invoke methods that are already available on the maker but are unnused.

    Are you testing it on a fresh project only with the basic module and diagonal movement? And by how much does your FPS drop (press F2 during test play to see the FPS)

    Anyway, if you want just to walk diagonally with no additional resource (diagonal trigger, graphic change, digonal events and such) try looking for another plugin.

    All those features are the main point of this plugin, without them this plugin become pointless, since there are other plugins that already offer diagonal movement with no additional.
    Nevermind, sorry for all the fuss, i think i got it figured out now.

    Your plugin works just fine, but using it together with masked's smooth scrolling plugin causes some issues. I thought there was some lag even with the smooth scrolling disabled, but that seems to be just an effect of the player moving a little bit slower while walking diagonally (no framerate frops).
  20. Akrib said:
    Nevermind, sorry for all the fuss, i think i got it figured out now.

    Your plugin works just fine, but using it together with masked's smooth scrolling plugin causes some issues. I thought there was some lag even with the smooth scrolling disabled, but that seems to be just an effect of the player moving a little bit slower while walking diagonally (no framerate frops).
    The slight slower diagonal movement is a fix to the diagonal movement being actually faster than it should. (Whoever programed it missed the Pythagorean theorem classes :guffaw:  )