Getting a Parallel Process Event To Stop Repeating

NightHerald

little demon child
Veteran
Joined
Aug 20, 2016
Messages
42
Reaction score
39
First Language
English
Primarily Uses
I'm trying to create a day/night cycle that uses pictures to add extra lighting effects. The change between pictures was too abrupt, so I added a parallel process event with many pictures at different opacities to create a smoother transition. But the transition repeats over and over again. I added a self switch and a page with the single full opacity picture, and that works for one period of day(morning), but the single picture stays through all the other time periods. If I add a switch for morning on the second page, the event starts at the second page and is again too abrupt. I had originally added the pictures to the Common Event that controlled tints, but that didn't work because of the repetition.


Can you please help either get the parallel process to end at the last picture command, or get the self-switch-full-opacity picture to go away after the morning switch is off? This would be very useful to know for other events too.


Screenshots:

lighting screen.png


lighting screen 2.png


Here are the common events that are tied to it.


lighting screen 5.png


lighting screen 6.png


This is what the evening should look like, just one light source in the north west.


lighting screen 4.png


And this is what the morning looks like, two light sources in both the east and west.


lighting screen 3.png
 
Last edited by a moderator:

XxXhelazz

Agains these fascist who want to destroy me and my
Veteran
Joined
Nov 20, 2015
Messages
83
Reaction score
33
First Language
Msdos and httml
Primarily Uses
I think that the event repeats because you didn't turn off morning. I don't really know, have you see if morning is really off at all? Or maybe changing some image display coordenades?
 
Last edited by a moderator:

NightHerald

little demon child
Veteran
Joined
Aug 20, 2016
Messages
42
Reaction score
39
First Language
English
Primarily Uses
@XxXhelazz  No, turning the switch off doesn't do anything...


Thanks for answering though.
 

Kes

Veteran
Veteran
Joined
Aug 3, 2012
Messages
22,299
Reaction score
11,712
First Language
English
Primarily Uses
RMVXA
Your second page is set to self switch A.  This will always override the Morning switch as the engine reads event pages from highest number to lowest and stops at the first page where the conditions are fulfilled.  It will, therefore, never reach page 1 again and the full opacity picture will always show.


If you want this to happen repeatedly, i.e. every time the Morning switch is turned on, then instead of using a self switch, you would need to use another control switch, let's call it 'full morning'.  Activate that and use it for the condition of page 2.  Then include turning that switch off when you want the time to cycle on to the next day so that the engine reads the first page.
 

Dad3353

Veteran
Veteran
Joined
Mar 9, 2016
Messages
421
Reaction score
110
First Language
English
Primarily Uses
@NightHerald...


The Event pages have a priority, the highest numbered page with conditions 'True' will run. This implies, in your case above, that, once the Self Switch 'A' has been triggered, it will always run. Nothing turns off that Self Switch. I could suggest two different methods to treat this, depending on the effect wanted.


1 - Have a 3rd page, with a condition 'Day: On', with the command content 'Self-Switch 'A': Off. Once 'Day is triggered, this 3rd page will override the 2nd page, and turn off the Self Switch. When next Morning comes, the 1st page will again be active.


2 - You could use another Switch, instead of a Self Switch, to trigger your 2nd page. Page 1 could set this Switch (End of Morning, for instance...) to trigger Page 2. At any future change of lighting, such as 'Day' becoming active, have the Morning Switch Off, but also the End of Morning Switch. Both pages will remain inactive intil the next Morning.


Does this help at all..?
 
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 change between pictures was too abrupt, so I added a parallel process event with many pictures at different opacities to create a smoother transition


lol - talk about doing things the hard way!


You can just use Move Picture to change the opacity over a set number of frames (or seconds?)
 

NightHerald

little demon child
Veteran
Joined
Aug 20, 2016
Messages
42
Reaction score
39
First Language
English
Primarily Uses
@Shaz Thank youuu! ;_; I knew there had to be a simpler way to that. I didn't even check out the move picture command -_- I should really look at all the commands and see what they all do before trying to do something like this...
 

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

Latest Threads

Latest Posts

Latest Profile Posts

Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??

Forum statistics

Threads
105,867
Messages
1,017,062
Members
137,575
Latest member
akekaphol101
Top