Kha's advanced lightning shadow's

● ARCHIVED · READ-ONLY
Started by Christophe546 13 posts View original ↗
  1. Hi all :)

    I'm using Kha's advanced lightning shadow's, and thanks to someone on this forum i know now that this plugin delete the shadows i add with the shadow pen..
    I look to the tutorial, but i don't find any way to let this plugin works and let the shadows on..

    If someone can help, thanks a lot !
  2. Thanks Muffel for all this help..

    Yes i installed "KhasGraphics.js (vers 1.1)" and also "KhasCore". The only shadows not displayed is the one who i had manualy with the "shadow pen" tool.

    For now i've don't find anything for this.
  3. Then tell us what you wrote (your code) and maybe we can fix what you did. =)
  4. Sry but i don't understand what you mean by my code ? ^^
    I use the plugin and don't modify it at all.
  5. Did you follow the first instruction in the tutorial? The "test the plugin"?

    Also...

    Tutorial - New Features (version 4.0)
    This version adds real-time shadows! In order for the system detect walls and cast shadows, you will need to use region tags to set the map's height. The height of a given tile will be the region tag divided by 10 and rounded to the lowest integer. Thus, if you use 24, 27 or 29, the height of that tile will be 2. If you use 11, 10 or 18, for example, the height of that tile will be 1. Please check the demo to see examples on how to use the region tags.

    By default, all lights will cast shadows. If you want to control whether a light casts shadows or don't, use the command below in any event:
    [light_shadows on/off]

    You can also set a new property on any light's definition:
    cast_shadows: true/false
  6. Thanks Muffel, yes sure i did it.
    Hm, i'm sorry for my bad english but i think you maybe don't understand what i exactly mean.
    The shadow cast by the plugin are okay, it's the one who i add manualy or the one who add automaticaly when you add walls title.

    I take 2 screenshot to explain better. :)
  7. Ah ok... yea, I understood what u meant and looked after it.... and yes, it has to be like that.
    My guess is that you're using the ULTRA version (4.2) of it, which uses real time shadows. It wouldn't make sense if there are still those shadow tiles while you run around with a torch.
    If you use the ADVANCED version (3.2) of his plugins, those shadow tiles would still be there (I tested it).

    Current version highlights
    Here's the final update for my lighting system! Now it has two versions, and the only difference between them is the addition of real-time shadows:
    - Version 3.1 is the most lightweight lighting system for RPG Maker MV
    - Version 4.0 Ultra has real-time shadows, but it is performance intensive
  8. Okay thanks for your help Muffel. :)
    So there is no solution with the Ultra version for this like modify the plugin ?

    No way to add a "sun" light somewhere on the map with an event, to make static shadows ?
  9. You're welcome.
    Probably with the region ID thing I quoted above and [region_light R L] settings... but I'm not sure. Didn't had enough time to fully read the tutorial and test that out.
    Tell us what you tested and didn't work... and what did work. =)
    btw has it to be the ULTRA version? because the ADVANCED version does what you want it to be.
  10. Okay thanks !!!!
    I will try this in a few hours and tell you. :)) !

    I like the real time shadow..but if i don't find any solution, maybe i will try the ADVANCED.. and for now, i don't know if ADVANCED work, but i can't open the game on Android with ULTRA plugin, so maybe the ADVANCED is also a solution for Android, i will also try this.