RMMV Parallax scrolling slower than slowest speed?

Status
Not open for further replies.

cuby

Perpetual Toil
Veteran
Joined
Jun 20, 2015
Messages
186
Reaction score
47
First Language
English
Primarily Uses
RMMV
Haven't been able to find a plugin to address this, but does anyone know of a plugin that allows for slower-than-1 parallax scrolling?

I'm trying to do a thing with clouds where they move reallllllly slowly :)

Thanks!

c
 

caethyril

^_^
Global Mod
Joined
Feb 21, 2018
Messages
4,140
Reaction score
3,190
First Language
EN
Primarily Uses
RMMZ
I think that's technically just an editor limitation, the engine has no trouble with fractional parallax speeds.

Kinda hacky, but you could try a Parallel map event that runs once, like this:

◆Comment:Set parallax speed to: X = 0.2, Y = 0.3. ◆Script:$gameMap._parallaxSx = 0.2; : :$gameMap._parallaxSy = 0.3; ◆Comment:Erase until player visits this map again. ◆Erase Event
Easy-copy version of the script call:
JavaScript:
$gameMap._parallaxSx = 0.2;
$gameMap._parallaxSy = 0.3;
If you want only one of the directions (X or Y), you can omit the other one.

(Note that this script call will have no effect unless the parallax is already set to loop in the editor.)
 

cuby

Perpetual Toil
Veteran
Joined
Jun 20, 2015
Messages
186
Reaction score
47
First Language
English
Primarily Uses
RMMV
I think that's technically just an editor limitation, the engine has no trouble with fractional parallax speeds.

Kinda hacky, but you could try a Parallel map event that runs once, like this:

◆Comment:Set parallax speed to: X = 0.2, Y = 0.3. ◆Script:$gameMap._parallaxSx = 0.2; : :$gameMap._parallaxSy = 0.3; ◆Comment:Erase until player visits this map again. ◆Erase Event

Easy-copy version of the script call:
JavaScript:
$gameMap._parallaxSx = 0.2;
$gameMap._parallaxSy = 0.3;
If you want only one of the directions (X or Y), you can omit the other one.

(Note that this script call will have no effect unless the parallax is already set to loop in the editor.)

Works absolutely perfectly.

As usual, thank you so much @caethyril :LZSgrin::LZSgrin::LZSgrin: So much gratefulness for all the help you offer.

Closed!!

-c
 

caethyril

^_^
Global Mod
Joined
Feb 21, 2018
Messages
4,140
Reaction score
3,190
First Language
EN
Primarily Uses
RMMZ
Great, you're welcome! :kaohi:

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

 
Status
Not open for further replies.

Latest Threads

Latest Profile Posts

KDS
Hey guys! Iam currently updating my free digital art shop , let me know if you need anything done :) https://forums.rpgmakerweb.com/index.php?threads/kds-free-open-digital-art-shop.17097/
Hello! I’d like to ask where is a good place to start logging about my game dev progress as production of my game goes forth
In one of our campus classrooms was a bag full of stuff people forgot there... my bag. That I forgot there xD
You know your room is too tiny for how much stuff you have when it gives you literal insomnia. I just cleared a bunch of stuff out and man it feels good!
1670381555475.png
Meet the Kernel. You encounter him in cyberspace. He's important!

Forum statistics

Threads
127,098
Messages
1,183,963
Members
167,028
Latest member
Edujandro
Top