Its simple i need to make a forest lighting effect for a long map that scrolls and I want some lighting to be on some areas of the map
RPG maker VX ace Forest lighting
RPG Maker VXAce SupportUse something like GIMP (it's free) or Photoshop or whatever. Take a screenshot of your map in the editor, import it into GIMP. Add a new layer. Do your lighting effects. Delete the map layer so that you just have the lighting layer left. Save. (See note below about the naming of this file.)
Import into your game into the Graphics/Pictures folder.
Here is where it gets a bit tricky. If you just use the Show Picture command, the picture will move with the player, which is not what you want. The only way to prevent that is to use a script. As you're using Ace, the simplest one I know is this one. All you then have to do is to put [FIXED] immediately before your file name when you save it, and the script does the rest.
Import into your game into the Graphics/Pictures folder.
Here is where it gets a bit tricky. If you just use the Show Picture command, the picture will move with the player, which is not what you want. The only way to prevent that is to use a script. As you're using Ace, the simplest one I know is this one. All you then have to do is to put [FIXED] immediately before your file name when you save it, and the script does the rest.
what about a area that is to big?
@vork88 please give a screenshot or a better description of what you mean by "too big" - there are several ways that could be read, and they require different solutions.
I mean like scrolling levels in the game but i dont wnat the image to be just over the game and not scroll with the screen in game
In that case, the picture needs to be the same size as the map and you'll need to use a "bind picture to map" plugin.
OK how would i now the picture is the right size the map size is 40x40 in rpg maker VX ace
tilesize is 32x32 pixel, multiplied with maps size 40x40 results in 1280x1280 pixel picture size (and for Ace, it's usually called an overlay or parallax script, not "bind picture to map"-Plugin). Most effective but also most complex to use is Yami's Overlay Script. that has specific light ans shadow layers.
If you follow what I put in my previous post you will get the effect you want. As I mentioned there, the script I linked to is very simple to use, so you won't get some of the effects you can with Yami's script, but it doesn't sound like you need that sort of complexity.
Ok i did the script and it work for in a house but when my character goes up or down the i mean Level repeats its self
and yes i am making a monster girl tamer game lol
and yes i am making a monster girl tamer game lol
You increased the screen size without increasing the mapsize.
Minimum map size is the screen size, or the engine gets trouble on the display - increase you mapsize and fill the new space with black tiles (and remember to adjust the size of the light pictures)
Minimum map size is the screen size, or the engine gets trouble on the display - increase you mapsize and fill the new space with black tiles (and remember to adjust the size of the light pictures)
Ok fix it thanks
Ok new problem when i leave the house the lighting transfer over to the next map
That depends on how exactly you do it - but yes, that is the usual way and you're required to erase the picture manually unless you have an overlay script that handles that for you.
Original thread: https://forums.rpgmakerweb.com/threads/rpg-maker-vx-ace-forest-lighting.67858/