Dynamic light/shadow script

● ARCHIVED · READ-ONLY
Started by Warganto 10 posts View original ↗
  1. 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?
  2. 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)
  3. Engr. Adiktuzmiko said:
    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 :(
  4. 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
  5. Just to be sure, can I have such smooth real time shadows with Khas' Lighting Script like in the video?
  6. 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
  7. 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.
  8. 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!)
  9. 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.
  10. 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