Rpg Maker Vx Ace (Lite) lightning problem

Jacita

Veteran
Veteran
Joined
May 4, 2014
Messages
32
Reaction score
2
First Language
Swedish
Primarily Uses
Hi, me again.

Got a question. I know you can do lightning in Rpg Maker Vx Ace with script, but since I don't have the full version. I have Lite. 

How do you make a lightning follow you? 

Like this: 


or so it looks like you holding a flashlight. 

Like this: 



tried following tutorials on youtube and other sites. but it's hard. 

Thank you for helping.
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,365
Reaction score
7,675
First Language
German
Primarily Uses
RMMV
Without scripts, you'll need a picture that is black everywhere but where the light is supposed to be. That area has to be transparent.


Then you need to show that picture with a show picture command in the maps where it should be dark. Depending on how that picture should work, it might need a parallel process to update the display.


A directional light is theoretically possible without scripts, but it will take a much more complex parallel process to check the walking direction and move and rotate that "flashlight" - I suggest you start with a circular torchlight before trying a directional light.


(in my opinion, video tutorials are a bad way to learn more complex parts, you need a written tutorial to work through if you want to learn more complex forms of eventing)
 

Jacita

Veteran
Veteran
Joined
May 4, 2014
Messages
32
Reaction score
2
First Language
Swedish
Primarily Uses
Without scripts, you'll need a picture that is black everywhere but where the light is supposed to be. That area has to be transparent.

Then you need to show that picture with a show picture command in the maps where it should be dark. Depending on how that picture should work, it might need a parallel process to update the display.

A directional light is theoretically possible without scripts, but it will take a much more complex parallel process to check the walking direction and move and rotate that "flashlight" - I suggest you start with a circular torchlight before trying a directional light.

(in my opinion, video tutorials are a bad way to learn more complex parts, you need a written tutorial to work through if you want to learn more complex forms of eventing)
Hi Andar.

Do you have any suggestion where I can read it instead? If I'm going to start with torchlight. 

I tried that with the picture. But it doesn't work. I'm not sure what I'm doing wrong. When I put the picture in and all that stuff. When I start playing and make the event happen. The picture that suppose to be the torchlight. It starts to spasm/twitch really much and won't follow the character. 

This is the "closest" I got, right now:



It's twitching/spasm.

When I move my character it looks like this:



Update. Now it looks like this. But the light won't follow him:

 
Last edited by a moderator:

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,365
Reaction score
7,675
First Language
German
Primarily Uses
RMMV
the picture is too small - if the player/actor can move out of the center on smaller maps, the picture has to be big enough to cover the area even if it is not centered.


As for the flickering and not following - you probably made the event with the wrong commands and in the wrong update speed - please post a screenshot of the event for us to see where the mistake might be.
 

Jacita

Veteran
Veteran
Joined
May 4, 2014
Messages
32
Reaction score
2
First Language
Swedish
Primarily Uses
the picture is too small - if the player/actor can move out of the center on smaller maps, the picture has to be big enough to cover the area even if it is not centered.

As for the flickering and not following - you probably made the event with the wrong commands and in the wrong update speed - please post a screenshot of the event for us to see where the mistake might be.
Just done. 

I did this by a tutorial I watch/read about.
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,365
Reaction score
7,675
First Language
German
Primarily Uses
RMMV
the picture cannot follow the player if you tell it to remain at constant coordinates, ignoring the variable values.


You need to set the picture command to use the variables you set, and NOT set it to a constant 0,0 (see your "show picture" screenshot, it uses a constant target of 0,0 instead of the player coordinates.


Also another tip: the positioning will be easier if you use the center coordinates instead of the upper left coordinates - you'll have to correct the position calculation when you do that however.


And what is the purpose of the map event?
 

Jacita

Veteran
Veteran
Joined
May 4, 2014
Messages
32
Reaction score
2
First Language
Swedish
Primarily Uses
the picture cannot follow the player if you tell it to remain at constant coordinates, ignoring the variable values.

You need to set the picture command to use the variables you set, and NOT set it to a constant 0,0 (see your "show picture" screenshot, it uses a constant target of 0,0 instead of the player coordinates.

Also another tip: the positioning will be easier if you use the center coordinates instead of the upper left coordinates - you'll have to correct the position calculation when you do that however.

And what is the purpose of the map event?
Ooh. I see, I see!

This event is something random I did so I could learn how to create lightning and so. But if it would be serious, he would walk around, checking the bookshells, finding a torchlight and walk out of the room. 
 

Nathan Frost

... only the world's greatest Secret Agent.
Veteran
Joined
Sep 23, 2014
Messages
243
Reaction score
74
First Language
English
Primarily Uses
From what I remember, following up on Andar's  concept. If your game is 544x416 and create an image that size. It maintains the screen position rather then the player just like he pointed out, but it works or if you have to, set the zoom over 100 and center it.
 

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,061
Members
137,575
Latest member
akekaphol101
Top