Dynamic light/shadow script

Warganto

Villager
Member
Joined
Jun 22, 2014
Messages
14
Reaction score
0
Primarily Uses
Hello guys,
I'm looking for a light/shadow script where you can set up dynamic lights and shadows.I'm thinking at shadows which move depending on which time is of day it is (for example).
Just to clarify I'm able to make a day/night circle just with events, but moving shadows and or lights is ridicoulos without a script. I'm imagining something like that in this video:https://www.youtube.com/watch?v=Y_Oo-dN8xow&list=UUb5WpnCDPEVGdr8Mqo-JJ6w

Does anyone know a script to get such a effect like in the video?
 

Engr. Adiktuzmiko

Chemical Engineer, Game Developer, Using BlinkBoy'
Veteran
Joined
May 15, 2012
Messages
14,682
Reaction score
3,003
First Language
Tagalog
Primarily Uses
RMVXA
Khas' Lighting Script does dynamic shadows but do know that it causes A LOT of lag especially on older computers. I suggest you think first if you really need dynamic lighting and shadows, otherwise I won't suggest using a lighting script at all (this coming from me who has my own lighting script)
 
Last edited by a moderator:

Warganto

Villager
Member
Joined
Jun 22, 2014
Messages
14
Reaction score
0
Primarily Uses
Khas' Lighting Script does dynamic shadows but do know that it causes A LOT of lag especially on older computers. I suggest you think first if you really need dynamic lighting and shadows, otherwise I won't suggest using a lighting script at all (this coming from me who has my own lighting script)
Well, I think I rly need dynamic shadows and lighting. I'm making an isometric Game with Action Battle System and stuff and dynamic lights and shadows would create a better immersion. If you could help me doing so it would be great. PS: Are you talking about Lanthanum Lights? seems very detailed, but unfortunately no shadows :(
 

Engr. Adiktuzmiko

Chemical Engineer, Game Developer, Using BlinkBoy'
Veteran
Joined
May 15, 2012
Messages
14,682
Reaction score
3,003
First Language
Tagalog
Primarily Uses
RMVXA
Yeah, because as I said they cause too much lag so I didn't add them... Your best bet for now is to use Khas' script and hope that it won't lag especially as you're using an action battle system too... ABS + a lot of Lag = game that will be not nice to play
 

Warganto

Villager
Member
Joined
Jun 22, 2014
Messages
14
Reaction score
0
Primarily Uses
Just to be sure, can I have such smooth real time shadows with Khas' Lighting Script like in the video?
 

Engr. Adiktuzmiko

Chemical Engineer, Game Developer, Using BlinkBoy'
Veteran
Joined
May 15, 2012
Messages
14,682
Reaction score
3,003
First Language
Tagalog
Primarily Uses
RMVXA
You can, if you have a powerful computer that is... And since it's Ace, it mostly depends on the CPU


Factors that will affect it:


1) Your computer's power (Mainly: CPU)


2) How many lights / shadow-inducing-objects do you have in the map


3) Map size too
 
Last edited by a moderator:

Warganto

Villager
Member
Joined
Jun 22, 2014
Messages
14
Reaction score
0
Primarily Uses
I'm using Victors Anti Lag Script which should reduce...well.. Lags...

#  This script was designed to reduce the lag cause by many events on map.
# Most anti lag script just skip the update of events that outside the screen
# while still loops though all of them. This one, instead, dinamically manage
# the list of events for update, and keeps events that aren't going to be
# updated outside of the list.
so that shouldnt be the problem and I have a relative powerful pc, too.
 

cabfe

Cool Cat
Veteran
Joined
Jun 13, 2013
Messages
2,353
Reaction score
2,549
First Language
French
Primarily Uses
RMVXA
Keep in mind that while *you* have a powerful PC that doesn't mean every player of your game will.

A few days ago I tried a demo which used Khas's script. My framerate per second for the whole time was a single digit...

(Yeah, I have a very old computer. That helps optimizing stuff!)
 

Kane Hart

Elmlor.com
Veteran
Joined
Jun 27, 2014
Messages
656
Reaction score
166
First Language
English
I just want to add if your map is like 500 x 500 I doubt the script will even run... If you want Dynamic lighting then go for it. Just make sure you keep the map sizes a lot smaller then normal and you should be fine.
 

Engr. Adiktuzmiko

Chemical Engineer, Game Developer, Using BlinkBoy'
Veteran
Joined
May 15, 2012
Messages
14,682
Reaction score
3,003
First Language
Tagalog
Primarily Uses
RMVXA
AFAIK, most anti-lags only work for the default things that might cause lags, not custom things... and yeah, even if you have a powerful PC, it doesn't mean that your players will have them too... Optimizing for lower end comps would increase the possible players for your game
 
Last edited by a moderator:

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??

Forum statistics

Threads
105,864
Messages
1,017,056
Members
137,573
Latest member
nikisknight
Top