XP Script Request - Move Speed Ramping

Started by Heretic86, September 06, 2012, 08:16:46 pm

Previous topic - Next topic

Heretic86

The simplest way I can explain what this is would be to desribe a Car.  Cars accelerate and decelarate.  I took a crack at it and couldnt get it to work right.  What I was thinking was to be able to call a script like "event.speed_ramp(new_speed = n, dist)" and have dist default to 1 but be optional to gradually change speed over several steps.

I've found that using non whole number speeds for the player causes some issues in tilesets to appear to "tear" so it wouldn't be used for the player so much.  The intent would basically be for vehicles like boats, wagons, or cars.  Not sure if anything like this has been written already.
Current Scripts:
Heretic's Moving Platforms

Current Demos:
Collection of Art and 100% Compatible Scripts

(Script Demos are all still available in the Collection link above.  I lost some individual demos due to a server crash.)

KK20

So it's just a movement acceleration script? Care to explain a bit more in detail about what your script call does? Does the event move at a speed of new_speed until it moves dist spaces? And if so, what happens after that?

Other Projects
RPG Maker XP Ace  Upgrade RMXP to RMVXA performance!
XPA Tilemap  Tilemap rewrite with many features, including custom resolution!

Nintendo Switch Friend Code: 8310-1917-5318
Discord: KK20 Tyler#8901

Join the CP Discord Server!

Lukas

Spoiler: ShowHide

This image been put in a spoiler because it's 2 MB which is above the size of images allowed in a spoiler.
Thank you for your understanding.
~Blizz



~Sorry :)

Heretic86

Current Scripts:
Heretic's Moving Platforms

Current Demos:
Collection of Art and 100% Compatible Scripts

(Script Demos are all still available in the Collection link above.  I lost some individual demos due to a server crash.)