dragon1up

Veteran
Veteran
Joined
Sep 24, 2013
Messages
133
Reaction score
42
First Language
English
Primarily Uses
RMMV
Hi Terrax been testing out the lighting engine and love it so decided to test it out for the 16:9 ( 960x540) for commercial games and this was my result. Normally there is no space of blackness in the default res which is (816x624).


Any advice on this ? Or should I just leave my games res at the default one. 

Game 2016-10-28 12-57-42-76.jpg
 

YuiDemonia

Veteran
Veteran
Joined
Apr 13, 2016
Messages
61
Reaction score
9
First Language
English
Primarily Uses
@dragon1up try changing the resolution in terrax's plugin too. Match it with your game's resolution. 
 

Magha88

Villager
Member
Joined
Mar 25, 2016
Messages
28
Reaction score
1
First Language
Portuguese
Primarily Uses
@Terrax Thank you very much for beta2!
 
Last edited by a moderator:

Terrax

Veteran
Veteran
Joined
Oct 30, 2015
Messages
304
Reaction score
228
First Language
English
Any advice on this ? Or should I just leave my games res at the default one. 

The resolution can be set in the plugin, increase it to a little higher then then screen res (  1000x560 ), a little higher doesn't matter and it sometimes avoids strange behavior in screenshakes and other screen effects.
 

dragon1up

Veteran
Veteran
Joined
Sep 24, 2013
Messages
133
Reaction score
42
First Language
English
Primarily Uses
RMMV
Thanks so much it fixed it straight away , so took a pic and want to see my game in action too ? Don't want to spam the feed with my Green light game.
 

ben99

Villager
Member
Joined
Aug 9, 2016
Messages
21
Reaction score
0
First Language
english
Primarily Uses
your plugin is  Awesome.


But I got one minor problem when using this plugin in my game.


When my player is walking, it's will become lag at certain point on the map which I didn't activate the lighting effect(but the plugin is on). No lag when I activate the lighting effect on same map.


For example when the player walk from up to the bottom of map, it's will lag at the middle everytime.


I'm set my game at 1280X720 resolution which I set the same resolution in your plugin too. I think the lag is due to resolution too big?


Because when I set both resolution to 960X540, the lag is gone.


Is it ok to use this plugin in 1280X720 resolution?


I didn't use kaus plugin.
 
Last edited by a moderator:

dragon1up

Veteran
Veteran
Joined
Sep 24, 2013
Messages
133
Reaction score
42
First Language
English
Primarily Uses
RMMV
Honestly just stick to the lower res for the 16:9 ratio I do it and get a soild 60fps despite heaps of light events and effects running and plugins. 
 

YuiDemonia

Veteran
Veteran
Joined
Apr 13, 2016
Messages
61
Reaction score
9
First Language
English
Primarily Uses
Im using 1280x960 reso and i dont get the lag you're talking about though. 
 

ben99

Villager
Member
Joined
Aug 9, 2016
Messages
21
Reaction score
0
First Language
english
Primarily Uses
Maybe my pc spec caused the problem...I'll low down the reso to 960X540 to avoid this problem.
 

Hikitsune-Red

火狐 - Red =^~^=
Veteran
Joined
Mar 22, 2015
Messages
157
Reaction score
107
First Language
English
Primarily Uses
I would just like to point out that I receive lag spikes when on a map larger than about 64x64 that does not use the lighting system. This isn't that big of a problem for me, as all my maps use it. Just thought I'd point it out, too.


I'm on a mid-range computer, @ben99 isn't crazy.
 

Terrax

Veteran
Veteran
Joined
Oct 30, 2015
Messages
304
Reaction score
228
First Language
English
New version (1.3.7) now available


http://mvplugins.com/plugin/Terrax/Terrax%20Lighting%20System


or


https://github.com/Terraxz/TerraxLighting


Fix : Small issue with player radius not restoring correctly when starting new game.


Fix : Bug that caused lag on large map without lights.


Added: Support/Compatiblity for quasi-abs system: see manual for definitions.


Added: New plugin calls to create spell and explosion effects to the map.


 You can use the following plugin calls to create short duration light effects for explosions or spells.
 


plugin command: effect_on_event 003 200 #FFAAAA 50
 ->Will create a lightglobe on event with id 003, Radius 200, color #FFAAAA, duration 50 frames


plugin command: effect_on_xy 560 500 50 #FFAAAA 25
-> Will create a lightglobe on coordinates 560,500, Radius 50, color #FFAAAA, duration 25 frames


Terrax.
 
Last edited by a moderator:

ben99

Villager
Member
Joined
Aug 9, 2016
Messages
21
Reaction score
0
First Language
english
Primarily Uses
nice & smooth now!


No lag anymore when I'm using this plugin with 1280X720 reso.
 

Splendith

Villager
Member
Joined
Apr 7, 2015
Messages
13
Reaction score
19
First Language
Thai
Primarily Uses
Hi. Thank you very much for your awesome plugin, works well  :)


And I would like to report some problem I've found.


1.
I tried to use light radius plugin command.


It worked fine in windows executable, but in web browser, It has a small hard white circle below the player.


I've got this issue in the newest version of Chrome and Firefox.


I tried by using a light torch in your demo, still happened (as my attachment).


2.


In the newest version (1.3.7) 


I set the ScreenSize X = 1104 (match with my game's resolution) and found that a light box did not cover to all screen. Never happened in the previous version.


Now I solved by adding ScreenSize a little bit more than my game's resolution, work fine, but I think It may not be a good solution.


11.JPG


222.JPG
 
Last edited by a moderator:

Terrax

Veteran
Veteran
Joined
Oct 30, 2015
Messages
304
Reaction score
228
First Language
English
New version (1.3.8) now available


http://mvplugins.com/plugin/Terrax/Terrax%20Lighting%20System


or


https://github.com/Terraxz/TerraxLighting


Fix : Patch for a  weird display bug in browsers.


Fix : Patch for screen resolution

Hi. Thank you very much for your awesome plugin, works well  :)


And I would like to report some problem I've found.


1.
I tried to use light radius plugin command.


It worked fine in windows executable, but in web browser, It has a small hard white circle below the player.


I've got this issue in the newest version of Chrome and Firefox.


I tried by using a light torch in your demo, still happened (as my attachment).



I did some quick testing and found the problem.

2.


In the newest version (1.3.7) 


I set the ScreenSize X = 1104 (match with my game's resolution) and found that a light box did not cover to all screen. Never happened in the previous version.


Now I solved by adding ScreenSize a little bit more than my game's resolution, work fine, but I think It may not be a good solution.

Adjusted to code a bit so it will darken the full map again.
 
Last edited by a moderator:

Terrax

Veteran
Veteran
Joined
Oct 30, 2015
Messages
304
Reaction score
228
First Language
English
New version (1.3.9) now available


http://mvplugins.com/plugin/Terrax/Terrax%20Lighting%20System


or


https://github.com/Terraxz/TerraxLighting


Someone asked for some help on creating a bioluminescent area. I think the result is rather nice, you can find it in the demo.. I had


to created a number of extra features to get it right.. so here we go, the extra features.


Added: New type of tile/region tag for swampy bioluminscent waters.


TileGlow and RegionGlow work the same as TileLight and RegionLight, but with a slow pulsing effect.


Added: A large number of features to effects.


defintion:


effect_on_xy x y radius #color duration EffectName effectduration .


effect_on_xy 560 500 50 #FFAAAA 500 FADEIN 200   -> Will start dark and slowly fade in for 200 frames and will be visible for 500 frames
effect_on_xy 560 500 50 #FFAAAA 500 FADEOUT 200   -> Will start light and at frame 300 slowly fade out for 200 frames (usefull for torches?)
effect_on_xy 560 500 50 #FFAAAA 500 FADEINOUT 200   -> Will fade in for 200 frames, and after that fade out for 200 frames


effect_on_xy 560 500 50 #FFAAAA 500 GROW 200   -> Will start with 0 radius and slowly grow over 200 frames to full radius
effect_on_xy 560 500 50 #FFAAAA 500 SHRINK 200   -> Will shrink the radius at the end
effect_on_xy 560 500 50 #FFAAAA 500 GROWSHRINK 200   -> Will grow to full radius and then shrink.


effect_on_xy 560 500 50 #FFAAAA 500 BIO 200  -> Combines FADEIN,GROW and FADEOUT to create a slowly forming and then fading sphere.



Aside from fixed values variables can also be used while scripting


effect_on_xy #0001 #0002 #0003 #FFAAAA 500 will create a lightglobe on the coordinates in gamevariables 1 and 2,
and the radius from gamevariable 3.
See the swamp area in the demo for an example.


Terrax.
 
Last edited by a moderator:

KaYsEr

Koruldia
Veteran
Joined
Mar 14, 2014
Messages
267
Reaction score
485
First Language
French
Primarily Uses
N/A
Wow, those new features are gorgeous, good to see you back on that amazing plugins Terrax. :)  
 

darkelite

Game Designer
Veteran
Joined
Sep 26, 2013
Messages
32
Reaction score
8
First Language
French
Primarily Uses
@Terrax When playing the game inside web browsers, the plugin fails to block the light on regions tags. Can you please investigate?


Thanks a lot!
 
Last edited by a moderator:

UltimusLight

Villager
Member
Joined
Dec 27, 2012
Messages
10
Reaction score
0
First Language
English
Primarily Uses
Hello! I've installed the plugin on a project I'm using, but when I make the plugin call via note the default setting from the plugin menu appears to be overriding the plugin call.


Example:


I've got in the Note entry: "Light radius 85 #AAAA77", but the Player radius is still at its default radius of 300 and color of pure white.
 

padr81

Guy whose game is taking too long.
Veteran
Joined
Apr 26, 2013
Messages
748
Reaction score
776
First Language
english
Primarily Uses
N/A
Hello! I've installed the plugin on a project I'm using, but when I make the plugin call via note the default setting from the plugin menu appears to be overriding the plugin call.


Example:


I've got in the Note entry: "Light radius 85 #AAAA77", but the Player radius is still at its default radius of 300 and color of pure white.



For the player this needs to be a script call.
 

DarkSearinox92

Veteran
Veteran
Joined
Jan 8, 2013
Messages
592
Reaction score
124
First Language
Italian
Primarily Uses
Hi Terrax, thank you very much for all of your improvement. New things are fantastic and i'm very hyped.


I've only one question: When i try to play the game on pc that aren't powerfull like mine, fps down to 30 when i walk. This problem is caused by cpu or GPU?


I talk with ignorance: is it possible to clean the code, improve it to avoid the lag of under-performing PC?


I repeat: i'm talking with ignorance.


Thank you very much for all ^^
 

Latest Threads

Latest Profile Posts

I've been working furiously on a small demo slice. But with King Slime so busy assets have been slow to form. No matter! I've got the demo for rpgmaker MZ and I'm using the 20 days to make a short and sweet demo game of fighting alongside your rival/boyfriend hehe Kind of like a mini challenge to myself
Yes my images are back ^^, hopefully they won't disappear again.:kaoangry:
It's Sunday. Stop working and take a break. Relax a little.
Ooops ended up trying out making my own A2 tile page instead of testing doors everywhere. Went well so far I think.
I guess I'm done making a blue squirrel's life difficult for posting new threads on different forums.
That's just for today so don't get used to this, squirrel-ish friend! :p

Forum statistics

Threads
131,487
Messages
1,220,227
Members
173,225
Latest member
ZecaVn
Top