rpg maker 20003 lighting in basemennt

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
Στιγμιότυπο οθόνης (146).png
I 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.
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:
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.
I 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.


there is also a video from 2003 but I didn't understand it and it's only one

Γεια σας, δοκιμάστε αυτό.
Στον χάρτη που είναι το σπήλαιο, δημιουργήστε ένα γεγονός σε παράλληλη διαδικασία.
Δημιουργήστε δύο μεταβλητές που ελέγχουν το "Screen X" και το "Screen Y" του προγράμματος αναπαραγωγής.
Εάν ο κύκλος βρίσκεται ακριβώς στο κέντρο, προτείνω να συμπεριλάβετε μια αφαίρεση 12 στη μεταβλητή "Screen Y".
Στη συνέχεια, καλέστε την εικόνα, αλλά στο "Θέση εμφάνισης" αλλάξτε την σε Μεταβλητή και επιλέξτε τις μεταβλητές που δημιουργήθηκαν πρόσφατα.
Για να αποφύγετε την καθυστέρηση, περιμένετε 0,1 δευτερόλεπτα στο τέλος.
Δείτε ένα παράδειγμα χρησιμοποιώντας τις μεταβλητές 21 και 22:
Code:
@> Μεταβλητές ελέγχου: [0021:Player-Pic_X] = Οθόνη X του παίκτη
@> Μεταβλητές ελέγχου: [0022:Player-Pic_Y] = Οθόνη παίκτη Y
@> Μεταβλητές ελέγχου: [0022:Player-Pic_Y] -= 12
@> Εμφάνιση εικόνας: 1, 'Lantern', Variable [0021][0022], 100%, 0%, M6
@> Αναμονή: 0,1 δευτερόλεπτα

Αν και το εφέ λειτουργεί, θα είναι λίγο άβολο λόγω των παγώσεων, οπότε αν προτιμάτε, αφαιρέστε το κράτημα και χρησιμοποιήστε το Label για να κάνετε την εικόνα απλώς να κινείται αντί να δημιουργείται συνεχώς:
Code:
@> Μεταβλητές ελέγχου: [0021:Player-Pic_X] = Οθόνη X του παίκτη
@> Μεταβλητές ελέγχου: [0022:Player-Pic_Y] = Οθόνη παίκτη Y
@> Μεταβλητές ελέγχου: [0022:Player-Pic_Y] -= 12
@> Εμφάνιση εικόνας: 1, 'Lantern', Variable [0021][0022], 100%, 0%, M6
@> Ετικέτα: 1
@> Μεταβλητές ελέγχου: [0021:Player-Pic_X] = Οθόνη X του παίκτη
@> Μεταβλητές ελέγχου: [0022:Player-Pic_Y] = Οθόνη παίκτη Y
@> Μεταβλητές ελέγχου: [0022:Player-Pic_Y] -= 12
@> Μετακίνηση εικόνας: 1, Μεταβλητή [0021][0022], 100%, 0%, @0,0s, Αναμονή
@> Μετάβαση στην ετικέτα: 1

Αυτό είναι πιο ενδιαφέρον, αν θέλετε το φως να είναι πιο αδύναμο στο τέλος του κύκλου, απλώς χρησιμοποιήστε δύο Εικόνες, αυξάνοντας τη διαφάνεια για τον μικρότερο κύκλο και αυξάνοντας το ζουμ του μεγαλύτερου κύκλου στο 150%:
Code:
@> Μεταβλητές ελέγχου: [0021:Player-Pic_X] = Οθόνη X του παίκτη
@> Μεταβλητές ελέγχου: [0022:Player-Pic_Y] = Οθόνη παίκτη Y
@> Μεταβλητές ελέγχου: [0022:Player-Pic_Y] -= 12
@> Εμφάνιση εικόνας: 1, 'Lantern', Variable [0021][0022], 150%, 0%, M6
@> Εμφάνιση εικόνας: 2, 'Lantern', Variable [0021][0022], 100%, 25%, M6
@> Ετικέτα: 1
@> Μεταβλητές ελέγχου: [0021:Player-Pic_X] = Οθόνη X του παίκτη
@> Μεταβλητές ελέγχου: [0022:Player-Pic_Y] = Οθόνη παίκτη Y
@> Μεταβλητές ελέγχου: [0022:Player-Pic_Y] -= 12
@> Μετακίνηση εικόνας: 1, Μεταβλητή [0021][0022], 150%, 0%, @0,0s
@> Μετακίνηση εικόνας: 2, Μεταβλητή [0021][0022], 100%, 25%, @0,0s, Αναμονή
@> Μετάβαση στην ετικέτα: 1

Αυτό θα ήταν το αποτέλεσμα αν χρησιμοποιούσα 4 εικόνες, με τις μικρότερες να είναι πιο διαφανείς:


Και χρησιμοποιώντας την ετικέτα θα μπορούσα να δημιουργήσω μια λάμπα όπως στο Zelda στο Super Nintendo ή στο Minish Cap όπου η φωτεινότητα ποικίλλει.

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:
Create_Lantern.png
Έφτιαξα την εικόνα χρησιμοποιώντας το MS Paint στα Windows.
Η εικόνα είναι 800x600 pixel και ο κύκλος είναι 64x64 ακριβώς στο κέντρο.
Σχεδίασα και έκοψα τον κύκλο σε 4 μέρη χρησιμοποιώντας μόνο μία από τις φέτες.
Έφτιαξα ένα νέο αρχείο 800x600 χωρισμένο σε 4 μέρη, μετά τοποθέτησα τη κυκλική φέτα στη μέση και την αντέγραψα, περιστρέφοντάς την μέχρι να χωρέσουν τα άλλα 3 μέρη.
Άλλαξα τα χρώματα φόντου σε σκούρο χρώμα και αποθήκευσα την εικόνα ως χρώματα BMP 256:
View attachment 293237
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.
here is this video directional light

this demo flashlight

https://yadi.sk/d/7j-LsRy8QLTeDA
Spot the lantern
demo https://yadi.sk/d/qVGkSpJ6LLQA7w
Double-post notice: @sergs111
εδώ είναι αυτό το φως κατεύθυνσης βίντεο

αυτός ο φακός επίδειξης

https://yadi.sk/d/7j-LsRy8QLTeDA
Βρείτε το φανάρι
επίδειξη https://yadi.sk/d/qVGkSpJ6LLQA7w

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.

Original thread: https://forums.rpgmakerweb.com/threads/rpg-maker-20003-lighting-in-basemennt.165094/