Hello everyone, I am sorry to come across as such a noob.
I am wanting my player/ship to slow to a stop when moving from tile-to-tile...kinda like a skid/inertia.
I find the movement rather sudden and the sudden stop when the destination is jarring, I'd like to be able to soften it if possible?
you could event it and set the event movement to slow down bit by bit.
and reset when full stopped (this mostly works with an autorun event).
if the player controls it, than it needs a plugin to slow speed up and slow down.
no idea how to do it effectively aside from that though.
but have some idea's that I can work out, but cannot promise that.
I believe there was a plugin to accelerate speed and slows down over X frames.
Thank you for your help, I even tried using A.I but it was broken. If you were to help me I am sure I could find some way to repay you, either with some art or even a payment of some sort. Thank you
Thank you for trying! The slow-down/skid 'feels' absolutely perfect but when I hold down the key to move the movement feels rather jerky. It's nearly there though!
Also, I should mention, my game has every player in a ship, but what i mean is, instead of using people graphics I am simply using ship graphics as my game is set at sea 😀
They will never get out of their tiny boats.
Can I just say, thank you so much for your time on this, I really do appreciate you trying to help me so much. I just checked the plugin and it doesn't seem to work. I am sorry, I am starting to feel I am wasting your time here, so I won't be offended if your attentions are needed elsewhere. 🙂
Emm, just a question, how do you skid to stop in a grid based movement system?
Because the player can't stop between grids, like a pixel movement system.
For example you hold a direction key to move, then release it, there could be several situations:
1) The character just start moving from Grid A to B
2) The character already/almost in Grid B
3) Somewhere between A and B
For 1), you can make it move slower every frame until it is very slow, so it has the effect you desired;
For 2), nothing seems to happen, unless you want to force it to move another step forward to say, Grid C;
For 3), the effect is not too obvious, depends on the progress of the movement.
I am starting to think it's actually impossible to implement. It feels like the engine is simply rejecting the idea of this. I appreciate all of the help so far, so thank you to all that have tried to help me.
Strange it works in my project, with some minor issues that can't be prevented.
It works like this:
In RPG maker if you press an arrow character's x and y changes instantly but realX and realY stay the same. if realX is not equal to x or realY is not equal to y, the character moving animation kicks in and depending on speed param it moves character every few pixels each frame.
I'f player made 60% of its way I modify the speed to a lower one unless player stil holds arrow button.
So of course as you mentioned if player releases the button exactly at the right time, the skid will not kick in. but if player presses button and then releases it or releases the button earler than moving 60% of the way, the slow down will happen.
Second way it works is when mouse button or touch is used, then the $gameTemp.DestinationX and Y are set. I then base on these number to determine when slowdown should happen.
Make sure you turn off all the plugins you are using when testing mine. Interference is possible so let me know with which plugins it interferes.
EDIT: When I copied the code to the forum I missed a closing bracket }. Added it now, sorry. Please try now.
Wow! That is the closest I have yet seen to what I am after. I have tested both controls and they both work, mouse seems to work consistently but buttons do have the occasional jarring-dead-stop. I am evry impressed with what you have done, thank you so much. 🙂