Shadow Light problems

  • Problem Description

    The shadow light object casts a non infinite shadow when height = 0, and the shadow also scales with the window in relation between the distance between the shadow light and the shadow caster

    Attach a Capx

    ge.tt/4dgFRkm2

    Description of Capx

    Its avaible for 30 days, the capx shows how the light, with a height of 200, casts a shadow only up do a certain shadow length, it also casts the shadow up to a certain part of the window, so if the shadow covers 1/3 of the window, when zooming out it will cover the same ammount of window

    Steps to Reproduce Bug

    • preview the capx on any browser
    • it adds height to the wall every tick, just sit and watch
    • if you press A it will zoom out, you will see how the shadow length is measured in % of the screen and not in pixels

    Observed Result

    the shadow will not go beyond a certain point no matter the height, it can be patched by not letting the light get close to the wall, but its not a fix to the problem

    Expected Result

    with height 0 the shadow should go, at least, further away than the window, Im not sure if the shadow being cast according to how much of the window covers rather than how many pixels was intentional, but imo it shouldnt work like that? like this, the shadow light and caster combo dont work correctly

    Affected Browsers

    • Chrome: (YES)
    • FireFox: (YES)

    Operating System and Service Pack

    ____ Windows 10, dunno the service pack ____

    Construct 2 Version ID

    ____ r246, free license ____

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)