0 Favourites

[Feature request] Set width & height for Light object

This forum is currently in read-only mode.
  • As the title says, the Light object is currently as of Construct Classic r1.2 missing actions for setting the width & height in events, which is quite damn baffling. It'd be pretty important to get something like this working as soon as possible.

    EDIT: In other Light-related news, this bug that I reported over a year ago still exists... which makes me pretty sad since it hinders the usability of the Light object tremendously. You practically can't do anything dynamic with them.

  • I usually just use sprites for lights it almost does the exact same thing as Light object is buggy anyways so I don't trust it

  • Except for the little fact that shadow casters work with the Light objects.

  • You can try using the light object with a blank graphic, then create a sprite at the centre of the light object with the image you want (and decrease it's opacity).

    The shadows should still cast (the light range isn't dictated by the graphic I think)

  • You can try using the light object with a blank graphic, then create a sprite at the centre of the light object with the image you want (and decrease it's opacity).

    The shadows should still cast (the light range isn't dictated by the graphic I think)

    The light object's graphic itself is required to handle multi-level shadows on a single layer such as in this example:

    <img src="http://dl.dropbox.com/u/326175/asdqwesd-light-2.jpg">

    You can do single-level shadows in that exact way though, but that's not what we're looking at. Besides creating objects dynamically would still require differentiation through private values in our implementation.

  • I think using a contained hash table as workaround for the bugged private variables wouldn't be too much of a hassle, that doesn't help with the missing width/height actions though.

    I don't know if there's any reason at all the object doesn't have these actions. I hope it's not by design to make some of the Light object's functionality possible in the first place. Someone from Scirra or somebody who is currently involved in developing Construct Classic (hey lucid, hey r0j0 ) could clarify this issue I suppose.

    I'd also very much like to see this resolved and not only because I'm itching to get my hands on Daiz' and Zotged's great looking project.

  • Construct 3

    Buy Construct 3

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

    Buy Now Construct 3 users don't see these ads
  • Ahem. Not trying to sound obnoxious, but having this feature would help a lot. The topic had drifted out of immediate sight.

    Then there's this too.

    Edit: Nevermind lucid fixed everything, will be in the next CC build

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)