Rpg Maker Vx Ace (Lite) lightning problem

● ARCHIVED · READ-ONLY
Started by Jacita 8 posts View original ↗
  1. 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.
  2. 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)
  3. Andar said:
    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:

  4. 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.
  5. Andar said:
    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.
  6. 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?
  7. Andar said:
    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. 
  8. 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.