DOMINO EFFECT

phillexus

Warper
Member
Joined
Jan 1, 2019
Messages
3
Reaction score
0
First Language
italian
Primarily Uses
RMMV
hi again, i have a big question, how can i make a domino effect? I explain better myself, i need to do a lever that when you pull it a circle of fires lits up gradually, one after another, not all at the same time.
 

Attachments

Silva

Scoobityboo
Veteran
Joined
Nov 5, 2018
Messages
399
Reaction score
221
First Language
English
Primarily Uses
RMMV
Have each of your torches set up with two pages, the first page with no conditions and no fire animation, have the second set up with self switch A as the condition and the flame animation active.

For your button you're going to want to have something like this:

upload_2019-1-6_2-15-36.png

Format for the script is as follows: $gameSelfSwitches.setValue([mapId, eventId, switch], true/false)
Everything should be the same in every script besides the event ID.
 

Uzuki

Kawaii on the streets, Senpai in the sheets
Veteran
Joined
Aug 18, 2012
Messages
1,933
Reaction score
1,326
First Language
English
Primarily Uses
RMMV
I think a simpler way to do this would be to use a variable. Have each of the events a second page with the fire graphic that will turn on when the variable number goes up. Now have the variable add up by 1one, add a wait command and add up again. Keep doing that as many times ass needed to achieve your domino effect.
 

mlogan

Global Moderators
Global Mod
Joined
Mar 18, 2012
Messages
15,353
Reaction score
8,533
First Language
English
Primarily Uses
RMMV

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

 

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

Latest Threads

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,858
Messages
1,017,023
Members
137,565
Latest member
Callmelogann
Top