Chaos Project

RPG Maker => RPG Maker Scripts => Script Requests => Topic started by: Heretic86 on September 06, 2012, 08:16:46 pm

Title: XP Script Request - Move Speed Ramping
Post by: Heretic86 on September 06, 2012, 08:16:46 pm
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.
Title: Re: XP Script Request - Move Speed Ramping
Post by: KK20 on September 06, 2012, 11:51:37 pm
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?
Title: Re: XP Script Request - Move Speed Ramping
Post by: Lukas on September 07, 2012, 12:22:46 am
try..
https://dl.dropbox.com/u/71706537/accel_tes.exe
:_):
Title: Re: XP Script Request - Move Speed Ramping
Post by: Heretic86 on September 07, 2012, 04:21:52 am
Thank you!

++Level!