This forum is currently in read-only mode.
  • Hi i neeed this in my space shooter: I have lot of object1 and i need to create object shadow at object1.X and object1.Y + 100 for each one and shadow has to always follow object1 again for each one, and when object1 destroys then i need to destrys shadow but only one. Is this possible? I tried it but there is lot of bugs :/ it does not work corectly. PS:(i used for each one ;)) Pls tell me how to and pls .cap too.

    ty for help

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Easiest way is to import the same sprite numerous times and to create a shadow object for each sprite.

    Here's an example cap file.The cap was created with classic construct R2.

    Shadow example cap

  • No this is nnot easiest :/ When i have in room 200 same object i have to copy 200x with shadow and 200x events and actions for each object... I need another :/ because i have 98% in event sheet made i need to complete only shadows :(

  • You can do this very easily by making use of the Dropshadow object. Also there's a dropshadow shader that can do this in a similar, albeit not as flexible, way. Being a shader effect it'll also take far more GPU cycles in some situations especially if you have hundreds of objects. Although you could apply dropshadow shader to an entire layer thus reducing the required shader passes to only one that spans the entire screenspace.

    This one uses the Dropshadow object; I found it far more intuitive for this:

  • Thx this is it :)

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