Parallax Mapping and the Starting Position

AmieLK

Tired
Veteran
Joined
Feb 14, 2019
Messages
75
Reaction score
320
First Language
English
Primarily Uses
RMMV
Hi all! So I've gotten into parallax mapping, and thus far it works great. I have no issues with player mobility, binding the picture to the map, etc etc. It all works just fine. The issue is that when I set the player's starting position anywhere where the starting framing wouldn't be the top left 17x13 (aka the map would have to scroll a little to follow the character's position), the game still starts at the top left, then hops down to where the character is. Is there anything I can do to fix that?

Again, the map and graphics themselves are working just fine. Just gotta get rid of the hop!

Parallax layered pictures set up for reference:
upload_2019-2-21_13-22-59.png

Using the Bind To Map plug in plus Yanfly's region restrictions plug in, too. No other scripts active.

Thank you!

EDIT: Fixed it. Apparently I needed to remove the actual parallax background. Weird. But it works now! So really my only question is the extra bonus question.

EXTRA BONUS QUESTION:
Is there a way to have a picture bound to below_characters change? Like say I had three different below_characters pictures I wanted to loop perpetually like a normal animation--is there a way to make that happen? I'm trying to avoid having to remake a tileset to animate or lay down about 248172914 events just to make stuff pretty.
 
Last edited:

Bex

Veteran
Veteran
Joined
Aug 2, 2013
Messages
1,492
Reaction score
408
First Language
German
Primarily Uses
RMMV
I remember i read that in rm2k they did not erase the pictures, waited and than showed the next one, because that was not efficient in that old maker.
They used the eventcommand move picture to make the picture transparent or non transparent, it read like a good way to do it.

You need parallel Event or common Event.
Code:
If Var404 = 0
Move Picture ID3 Set Transparent in 1 Frame
Move Picture ID1 Set NON Transparent in 1 Frame
end
If Var404 = 1
Move Picture ID1 Set Transparent in 1 Frame
Move Picture ID2 Set NON Transparent in 1 Frame
end
If Var404 = 2
Move Picture ID2 Set Transparent in 1 Frame
Move Picture ID3 Set NON Transparent in 1 Frame,
end
Control Variables add 1 to Var404
If Var404 equal to 3, if yes set Var404 to 0
Wait 4 Frames ??? You have to test which amount of wait creates the optimal animation for you.
The good thing is, you can use it no matter what the Pictures are. Because the command just changes the picture ids values, and therfor doesnt need the file path assigned.

(Not Tested, its all theory, let us know if it works)
 

AmieLK

Tired
Veteran
Joined
Feb 14, 2019
Messages
75
Reaction score
320
First Language
English
Primarily Uses
RMMV
Ooooohhhh. That's good theory, tho. Gives me an idea for sort of a slow opacity decrease add-on to animated frame rotations. Might have to just do it by hand in my painting program, though. Or I might not have to, but it could save me approximately 18 headaches, hah.

I've been poking at OrangeOverlay and the Tsukitsune addon, and it's been working fine. Adds more scripts and layers though, so I'm gonna try and see if I can pare it down to just OrangeOverlay or just BindPicture. I think having both is probably excessive.
 

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

Latest Threads

Latest Profile Posts

How many parameters is 'too many'??
Yay, now back in action Happy Christmas time, coming back!






Back in action to develop the indie game that has been long overdue... Final Fallacy. A game that keeps on giving! The development never ends as the developer thinks to be the smart cookie by coming back and beginning by saying... "Oh bother, this indie game has been long overdue..." How could one resist such? No-one c
So I was playing with filters and this looked interesting...

Versus the normal look...

Kind of gives a very different feel. :LZSexcite:
To whom ever person or persons who re-did the DS/DS+ asset packs for MV (as in, they are all 48x48, and not just x2 the pixel scale) .... THANK-YOU!!!!!!!!! XwwwwX

Forum statistics

Threads
105,853
Messages
1,016,990
Members
137,562
Latest member
tamedeathman
Top