good evening I have rpg maker 2003 and I'm making a game where the player wants to go to the basement and I need your help with the lighting, everything is black except the player's area
rpg maker 20003 lighting in basemennt
RPG Maker 2000/2003 SupportI don't know how it works in 2003, but in MZ I saw a video tutorial where they made a completely black picture with a transparent spot in the middle, and it is centered by a spot on the x, y of the player. And the picture should be bigger than the game screen.
And you can turn the picture on and off through the general event, like a flashlight.
And you can turn the picture on and off through the general event, like a flashlight.
Hello, try this.
On the map that is the cave, create an event in a parallel process.
Create two variables that check the player's "Screen X" and "Screen Y".
If the circle is right in the center, I recommend including a subtraction of 12 in the "Screen Y" variable.
Afterwards, call Picture, but in "Display position" change it to Variable and select the newly created variables.
To avoid lag, wait 0.1 seconds at the end.
See an example using variables 21 and 22:
Although the effect works, it will be a little uncomfortable due to the freezes, so if you prefer, remove the hold and use Label to make the Picture just move instead of being created all the time:
This is more interesting, if you want the light to be weaker at the end of the circle, just use two Pictures, increasing the transparency for the smaller circle and increasing the zoom of the larger circle to 150%:
This would be the result if I used 4 Pictures, the smaller ones being more transparent:

And using label I could create a lamp like in Zelda on the Super Nintendo or in Minish Cap where the brightness varies.
On the map that is the cave, create an event in a parallel process.
Create two variables that check the player's "Screen X" and "Screen Y".
If the circle is right in the center, I recommend including a subtraction of 12 in the "Screen Y" variable.
Afterwards, call Picture, but in "Display position" change it to Variable and select the newly created variables.
To avoid lag, wait 0.1 seconds at the end.
See an example using variables 21 and 22:
Code:
@> Control Variables: [0021:Player-Pic_X] = Player's Screen X
@> Control Variables: [0022:Player-Pic_Y] = Player's Screen Y
@> Control Variables: [0022:Player-Pic_Y] -= 12
@> Show Picture: 1, 'Lantern', Variable [0021][0022], 100%, 0%, M6
@> Wait: 0.1 seconds
Although the effect works, it will be a little uncomfortable due to the freezes, so if you prefer, remove the hold and use Label to make the Picture just move instead of being created all the time:
Code:
@> Control Variables: [0021:Player-Pic_X] = Player's Screen X
@> Control Variables: [0022:Player-Pic_Y] = Player's Screen Y
@> Control Variables: [0022:Player-Pic_Y] -= 12
@> Show Picture: 1, 'Lantern', Variable [0021][0022], 100%, 0%, M6
@> Label: 1
@> Control Variables: [0021:Player-Pic_X] = Player's Screen X
@> Control Variables: [0022:Player-Pic_Y] = Player's Screen Y
@> Control Variables: [0022:Player-Pic_Y] -= 12
@> Move Picture: 1, Variable [0021][0022], 100%, 0%, @0.0s, Wait
@> Jump to Label: 1
This is more interesting, if you want the light to be weaker at the end of the circle, just use two Pictures, increasing the transparency for the smaller circle and increasing the zoom of the larger circle to 150%:
Code:
@> Control Variables: [0021:Player-Pic_X] = Player's Screen X
@> Control Variables: [0022:Player-Pic_Y] = Player's Screen Y
@> Control Variables: [0022:Player-Pic_Y] -= 12
@> Show Picture: 1, 'Lantern', Variable [0021][0022], 150%, 0%, M6
@> Show Picture: 2, 'Lantern', Variable [0021][0022], 100%, 25%, M6
@> Label: 1
@> Control Variables: [0021:Player-Pic_X] = Player's Screen X
@> Control Variables: [0022:Player-Pic_Y] = Player's Screen Y
@> Control Variables: [0022:Player-Pic_Y] -= 12
@> Move Picture: 1, Variable [0021][0022], 150%, 0%, @0.0s
@> Move Picture: 2, Variable [0021][0022], 100%, 25%, @0.0s, Wait
@> Jump to Label: 1
This would be the result if I used 4 Pictures, the smaller ones being more transparent:

And using label I could create a lamp like in Zelda on the Super Nintendo or in Minish Cap where the brightness varies.
there is also a video from 2003 but I didn't understand it and it's only one
nice, thank you very much, but what image should I put in order to fix it?
I made the image using MS Paint on Windows.
The image is 800x600 pixels and the circle is 64x64 right in the center.
I drew and cut the circle into 4 parts using just one of the slices.
I made a new 800x600 file divided into 4 parts, then fitted the circle slice in the middle and copied it, rotating it until the other 3 parts fit.
I changed the background colors to a dark color and saved the image as BMP 256 colors:
The image is 800x600 pixels and the circle is 64x64 right in the center.
I drew and cut the circle into 4 parts using just one of the slices.
I made a new 800x600 file divided into 4 parts, then fitted the circle slice in the middle and copied it, rotating it until the other 3 parts fit.
I changed the background colors to a dark color and saved the image as BMP 256 colors:
Thanks, they did, but I missed it in the commands
,
You are probably not familiar with the Engine language.
I recommend learning the engine's event commands well and then trying something more complex.
I recommend learning the engine's event commands well and then trying something more complex.
here is this video directional light
this demo flashlight
https://yadi.sk/d/7j-LsRy8QLTeDA
Spot the lantern
demo https://yadi.sk/d/qVGkSpJ6LLQA7w
this demo flashlight
https://yadi.sk/d/7j-LsRy8QLTeDA
Spot the lantern
demo https://yadi.sk/d/qVGkSpJ6LLQA7w
Double-post notice: @sergs111
i just use rpg maker 2003 is it the same?
Apparently you didn't understand the instructions or don't know how the RPG Maker 2000 and 2003 graphics import field works...
I can't really help you if you don't learn the basics from the manual.
This is probably something difficult for your translator, but I don't know an easy way to help you, perhaps recording a video of the whole process... but I really don't have time this week.
I can't really help you if you don't learn the basics from the manual.
This is probably something difficult for your translator, but I don't know an easy way to help you, perhaps recording a video of the whole process... but I really don't have time this week.
Original thread: https://forums.rpgmakerweb.com/threads/rpg-maker-20003-lighting-in-basemennt.165094/