Problem with Animated Parallax and Overlay mapping

Status
Not open for further replies.

rubensolid

Villager
Member
Joined
Mar 7, 2014
Messages
9
Reaction score
2
First Language
spanish
Primarily Uses
Hi everybody!

I am starting in parallax mapping and i'd like to use the script animated parallax but i need overlay images and i dont know how to do this with the Modern Algebra scrip (this one http://rmrk.net/index.php?topic=44635.0). I only know how to animate a parallax but not how to overlay images on it (Using Modern algebra script).

Should i use overlay mapping script too?

Is there a way to overlay and animate with Modern Algebra script?

Thank you very much!!

Best wishes =)

Ruben.
 

boldpaste2

The Dragon Heretics
Veteran
Joined
Dec 7, 2013
Messages
800
Reaction score
441
First Language
English
Primarily Uses
Danget! Hit the refresh button and lost everything I was typing >.<

Time for the super simple version!

Overlay and Parallax mapping are somewhat the same thing (depending on how you look at it). so using both will have problems.

I never used modern-algebra's script so i'll tell you how I do it with another.

I use Yami's parallax script to overlay map and animate.

With Yami's script, you can set a variable to change the grounds layer.

So knowing that, I would have 3 separate layers of the ground.

Statics will be statics across the same image but t he dynamic (changing objects will be different) such as fire.

On the map you are wanting animation to take effect on, have this parallel process going 

Variable X = 1

wait 15 frames

Variable X = 2

wait 15 frames

Variable X = 3

wait 15 frames

X= to the variable you set in the script.

Then, when you change map that does NOT follow the same format in animation (meaning no animation with overlay) then you need to run this auto run event on the map you are changing to.

Variable X = 1

erase event

and wallah, animated parallax/overlay layers.

*wipes sweat from forehead*
 

byrdbones

Ren
Veteran
Joined
Mar 8, 2013
Messages
101
Reaction score
38
First Language
English
Primarily Uses
I use Victors Fog and Overylay for most of my overlay needs, though I also have Yami's in my scripts as well. I actually find both to be about the same ease of use once you get used to parallax mapping. With Yami's you can simply have an Overlay folder in your game->graphics folder. Here you can name the Light or, Ground, etc. to the map ID For Instance 'Light120-1' will overlay on map 120, 'light' tells it what type of layer it is and puts it in order accordingly, along with the other layers.

Yami has made a great demo here.

http://yamiworld.wordpress.com/rgss3/field-scripts/overlay-mapping/
 

rubensolid

Villager
Member
Joined
Mar 7, 2014
Messages
9
Reaction score
2
First Language
spanish
Primarily Uses
Thank you both, you have clarified my doubts! we have such a lovely community.

See you and good luck!  :)
 

rubensolid

Villager
Member
Joined
Mar 7, 2014
Messages
9
Reaction score
2
First Language
spanish
Primarily Uses
Hi again! 

I don't know how to set the variables and where i should do that. Can you be more specific please? =).

Thank you very much 

Edit: I have found it out, thanks anyway!
 
Last edited by a moderator:

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
38,280
Reaction score
11,869
First Language
English
Primarily Uses
RMMV
rubensolid, please avoid double posting, as it is against the forum rules. You can review our forum rules here. Thank you.


Just edit your post and add the extra info.


I've moved this thread to RGSSx Script Support. Please be sure to post your threads in the correct forum next time. Thank you.


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.

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

Latest Threads

Latest Posts

Latest Profile Posts

-_- Now we have punishments for skipping meals, specially breakfast. At least let me sleep on Fridays -_-
colorize an old sketch
Welp... with numerous plugins and a bit of Javascript help, I've simulated an AP system in battle. Proud of myself honestly.
Why most of games like to give a horrible control to an aircraft vehicle? can I get a simplified control that does not require me to roll first just to change my direction?
Homie, this so amazing! Old but Gold :)

Forum statistics

Threads
93,430
Messages
912,285
Members
122,938
Latest member
pafell2
Top