When I try and leave a lantern lighted room, it stays dark

L42cf

Villager
Member
Joined
Sep 22, 2014
Messages
11
Reaction score
0
First Language
English
Primarily Uses
So I have this underground system set up so that when you drop into it, the lantern effect lighting happens. That's all fine and dandy.

I move to the next room ss (2014-09-21 at 07.24.00).jpg, and it is working as intended.

ss (2014-09-21 at 07.24.21).jpgshows me about to leave the room, and when I do leave i should have a bright and normal overworld like in ss (2014-09-21 at 07.26.49).jpg. However, instead I get ss (2014-09-21 at 07.24.34).jpg. I'm not sure how to make it that after I leave the room shown earlier turn back to the world that is bright.

This may sound a bit confusing, but I'm really lost on this process, and I don't know where to go to fix this problem. Any suggestions?

Here is the event for starting the lantern effect ss (2014-09-21 at 07.29.17).png

ss (2014-09-21 at 07.23.32).jpg
 
Last edited by a moderator:

EternalShadow

Veteran
Veteran
Joined
Sep 16, 2012
Messages
5,781
Reaction score
1,041
First Language
English
Primarily Uses
When you leave the dark room, do you turn the light switch off? If so, you need to turn it on again.

Edit: re-read it. You need to remove the effect that is making the dark room dark, when you get to the overworld.
 
Last edited by a moderator:

L42cf

Villager
Member
Joined
Sep 22, 2014
Messages
11
Reaction score
0
First Language
English
Primarily Uses
ss (2014-09-21 at 07.44.44).png

This is what I have when you exit, but it doesn't work, and I'm not even sure if it is the correct way to go about this.
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
What is the switch for? I don't see anything controlled by it.


What's obviously happening is that as you exit the room, the picture is being erased, but because the parallel process is still running, it's being shown again while the exit processing is happening.


Try putting the Erase Picture command after the Transfer command that takes you to the new map. And if you don't have anything conditioned by that switch, get rid of it.
 

L42cf

Villager
Member
Joined
Sep 22, 2014
Messages
11
Reaction score
0
First Language
English
Primarily Uses
So something like this?ss (2014-09-21 at 08.51.01).png

Edit: this is the result ss (2014-09-21 at 08.53.26).jpg
 
Last edited by a moderator:

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
The light is still there, but the background isn't as dark. Are you sure you don't have ANOTHER picture being shown at the same time? Maybe within a common event, maybe conditioned by that switch (which you haven't told us what it's there for still)?
 

L42cf

Villager
Member
Joined
Sep 22, 2014
Messages
11
Reaction score
0
First Language
English
Primarily Uses
The switch is to turn on the lantern event, I'm not sure though.

Without the switch, the game looks like ss (2014-09-22 at 12.36.14).jpg
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
What is "the lantern event"? Pictures, please. NONE of the events you have posted so far require a switch to turn them on.
 

L42cf

Villager
Member
Joined
Sep 22, 2014
Messages
11
Reaction score
0
First Language
English
Primarily Uses
Lantern event is this picture ss (2014-09-22 at 12.42.15).jpg

That's what creates this effect ss (2014-09-21 at 07.23.32).jpg

ss (2014-09-22 at 12.42.15).jpg
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
And the event that controls it? THIS is where the switch will be used.
 

L42cf

Villager
Member
Joined
Sep 22, 2014
Messages
11
Reaction score
0
First Language
English
Primarily Uses
Are you asking for this? ss (2014-09-22 at 01.02.40).png
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
Yes, I thought it would be that one. That event is not conditioned by the switch being on. It turns the switch on, but it will run whether the switch is on or off.


You probably need to do some tutorials on switches and event pages, as well as parallel process triggers.
 

Diretooth

Lv. 25 Werewolf
Veteran
Joined
Mar 10, 2013
Messages
1,231
Reaction score
444
First Language
English
Primarily Uses
RMMV
IS there a common event? IS there a common event where the switch is being used? Is there something that activates the lantern effect you created that requires the switch, and most importantly, are there other pictures that are being used to create the lantern effect?
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,355
Reaction score
7,668
First Language
German
Primarily Uses
RMMV
the effect runs on parallel process, but doesnt seem to work right without the switch idk why
As Shaz told you, this parallel process is the problem - because you never turned that parallel process OFF.
Your parallel process creates the lantern effect sixty times per second - permanently until the rest of your game, because there isn't a way to turn off that process. Simply placing a control switch command alone does exactly nothing, you're missing the part that reacts to that switch.


Go to the link in my signature, work through the tutorials linked there - especially the variables guide.


That will tell you the basics on how to use switches, because you need to add multiple event pages with different conditions to your events.
 

L42cf

Villager
Member
Joined
Sep 22, 2014
Messages
11
Reaction score
0
First Language
English
Primarily Uses
Okay I will try that tomorrow. But for now I should get some sleep as it's 1am. Thank you for the help everyone, hopefully I can sort it out!
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
The short answer is, you should add the switch to the CONDITIONS section of that event, so the parallel process only runs if the switch is on. Then turn the switch on from a different event. If you always want it to be like this on this map, then that "different" event will also be a parallel process event, but a different one, and it will simply turn the switch on and then run an Erase Event command.


Then on your exit event, turn the switch off, transfer, and erase the picture. Or erase the picture and then transfer (I think the first one, as erasing the picture before initiating the transfer will probably cause the map to show without the lantern effect for a brief moment before the transfer happens)
 

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

Latest Threads

Latest Posts

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,849
Messages
1,016,981
Members
137,563
Latest member
cexojow
Top