Player movement speed (non-decimal)

sokka

Captain Boomerang
Veteran
Joined
Apr 3, 2020
Messages
40
Reaction score
14
First Language
Polish
Primarily Uses
RMMV
Hey!
Does anyone know if there's a script call for making a player go at 3.5 speed?
I've been looking for the answer, but I only have found script calls for older RMs which don't work in MV.
I know there is that option in eventing but it only allows decimal number choices. For me, default "4" is to fast and "3" is way to slow.
 

ShadowDragon

Veteran
Veteran
Joined
Oct 8, 2018
Messages
2,881
Reaction score
1,016
First Language
Dutch
Primarily Uses
RMMV
there are 2, SpeedManager that will work and the otehr I cant find,
but iti will accelerate the speed from 1-5 in x frames, but I cant find that
one at the moment.
 

Soulrender

Jack Of All Trades
Veteran
Joined
Jan 12, 2019
Messages
837
Reaction score
466
First Language
Poland
Primarily Uses
RMMV
Simple script call will do

$gamePlayer.setMoveSpeed(x)

in place of x type any number you wish, literally any you wish.

In your case it will be

$gamePlayer.setMoveSpeed(3.5)
 

sokka

Captain Boomerang
Veteran
Joined
Apr 3, 2020
Messages
40
Reaction score
14
First Language
Polish
Primarily Uses
RMMV
Sorry for late answer but I haven't had time to test it. It works!
Thank you! (or dzięki)
 

sokka

Captain Boomerang
Veteran
Joined
Apr 3, 2020
Messages
40
Reaction score
14
First Language
Polish
Primarily Uses
RMMV
(Sorry for double post, but editing last one won't revive the topic, amirite?)

I've discovered that there is a side effect of changing the speed. If it's gonna be a non-decimal number, the game will act strange. When my player is moving with 3.5 speed, all of the events on the map (mostly doors) are shaking :/
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

It seems MOG Weather only has a "clear" function to instantly erase a given weather effect. Probably works well if weather only changes at map transfer, etc, but looks very abrupt if weather effects are continuously changing. So my next challenge: script a "fade" function to gradually fade the sprites and wait to "clear" the current weather until the opacity of all its sprites hits zero... or something like that! XD
BRIEF HISTORY OF MY GAME SO FAR
June 2019 - My friend (let's call him G) says he wants to make a game
later- it's really bad and angsty
laterer - He gives up

EARLY 2020 - I suggest trying again, G says yes
slightly later - G gives up and gives me the whole idea
LATE 2020 - I finish the script's first draft. G doesn't like it

And that's where we stand!
To get validation for all your hard work feels amazing.

Studio Blue did a video on Collector and enjoyed it a lot. I expected them to rip it to shreds, but the gameplay went (mostly) well.

There are things I can improve, but they said my game "oozes Mike Pondsmith" (he's the creator of the Cyberpunk 2020 ttrpg, which precedes Cyberpunk 2077). I was shocked to hear such a compliment! :kaopride:
People3_3 and People3_4 added!

Forum statistics

Threads
105,749
Messages
1,016,118
Members
137,433
Latest member
Silki
Top