It creates light circles for hero and events(static events which are unmovable).
2. Features
create circles just with script
have flickering effect now
different light radius for each event
3. To use
put 1st comment of number on each event to represent their id. Then, put 2nd comment of number to represent the strength of light radius of each event. Next, put the 3rd comment of number to represent the power of flickering.(Both the 3 comments can be put as what number as you want, no more limitation^^ but the 1st comment must be put according to the sequence, which mean must start with value of '1', then '2', then '3'... if you do not wish the event to flick, just set the 3rd comment value as '0' or don't create 3rd comment)
@tone represents how dark is the screen in the game, the higher value of @tone, the darker the screen.@light_limit represents the number of lights are allowed in the screen. for example, if @light_limit equals 5, the maximum light events in the screen is 5. @x_limit is where the light source being switched on or off. If the distance of x between hero and light source is more than @x_limit, the light source will be switched off. The same thing goes with @y_limit.
To set light radius of both hero and events, use $sensitivity=value. To set radius of single event or only hero, use $sensitivity_2[A]=value where A represents each event's id. If A equals 0, it represents hero. When $light_switch is set to 0, the script is being ignored. When $light_switch is set to 1, the script is in used. To let hero's light flick, set $flick to a value. The bigger the value $flick is, the stronger the flickering effect.
4. Credits and Thanks
still in development, please give comments for this(especially to see whether it will be lag or not) on HBGames! TQ!!!
no need to be credited, but you are welcome to give me credits
1. Allgemein
Sprache Englisch Maker RPG Maker XP SDK Benötigt kein SDK APD Benötigt kein APD Mex Kein Mex-Code RDoc Documentation
Öffne dein Projekt mit dem Maker. Danach öffne mit F11 den RGSS Editor, scrolle links die Liste bis zum Schluss. Klicke dann rechts auf 'Main' und dann 'Insert'. Nenne das neue Skript Light Circle Script V0.2 und füge auf der rechten Seite ein: QuellcodeWeiterlesen