NECRONOMICRON's Forum Posts

  • You should use blend modes. Create a Mask sprite - a black circle on a transparent background, you can make it with soft blurred edges if you want. Put the ceiling tilemap and the mask on a separate layer, set Force Own Texture=On on this layer. Set "Destination out" blend mode on the mask sprite. You can pin the mask sprite to your character.

    If you select File-New in Construct, there is an example project demonstrating different blend modes.

    I did it, thanks dop2000, I was using BLEND but I was with the sprite mask was with the transparency upside down so that's why I did not leave, now if it's ok ... thanks

  • use DISTANCE(X1,Y1,X2,Y2) or LINE OF SIGHT

  • I did it, but it's not what I'm looking for, I need only one part to be seen ... something like a line or circle around the character and that looks diffuse as it moves away from the character, the same effect as light but as lightning x, that is, you see the character from above and a radius around it when it enters a room or house, that the ceiling diffuses and is replaced when it moves from the sector.

  • How can I make an x-ray effect with 2 tilesmaps, where my player enters a house made with solid tilemap and the roof of another tilemap is transparent in an area around it?

  • I'm using "ShadowLight" and "ShadowCaster but I do not know how to recognize when an object is in the shadows or in the "LIGHT", the only way that occurred to me was to create a sprite that came out of the light bulb and check for a collision, if there is a collision with a wall it stops and starts again and if there is a collision with another object that checks it.

    WATCHhttps://i.imgur.com/zcffMWM.mp4

    https://i.imgur.com/zcffMWM.gif [/img]

  • Somethink like this:

    Example:

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • any idea?

  • SOMETHING LIKE THIS:

  • I NEED PUT A MULTIPLAYER SYSTEM TO THIS GAME:

    1 ON 1

  • nice game, congratulations ... is very good ... I have ideas for games and handling construct2 ... but I lack the design part ... yours is great.

  • thanks lennaert dont know why i didn't think of using x based seconds to do that computation. the exact method you posted certainly helped, though I had to change it a bit for my use case. I ended up going with

    + System: Every 0.1 seconds

    + Zorder: Is on-screen

    ----+ System: Pick Zorder where Zorder.?Y > PlayerController.?Y

    ----+ System: For each Zorder order by Zorder.?Y ascending

    -----> Zorder: Move in front PlayerAnim

    ----+ System: Else

    ----+ System: Pick Zorder where Zorder.?Y < PlayerController.?Y

    ----+ System: For each Zorder order by Zorder.?Y ascending

    -----> Zorder: Move behind PlayerAnim

    to achieve my desired effect:

    I cant just move everything to the top layer, as it messes up when the player would walk in front of the objects, but your advice on the 0.1 seconds timer as well as using on-screen instead of is visible, and also along with using a for each ordered bought CPU usage down to a much better 2%. Im sure that it will scale much better on things like overworld maps as well.

    LIKE THIS...

    BUT HOW SOLVE THIS...

    CODE:

  • hi folks,

    i am making a game in which my ray light is doing in a direction and on placing the mirror in the path of light, light changes its direction .

    please help me, how can i change the angle of light on placing the mirror in path.

    LOOK...https://www.mediafire.com/file/m5cjbacbjbghbmy/ESPEJOS.capx

  • you can choose other parameters to choose the angle of shock and use a tileset with the 4 positions so you only work with 90 degrees

  • so what i need is:

    on start on layout my character move automatic from a position to another(me unable to move)and then stop... and i begin playing

    i have animation on the character

    all i need to know is what events i need to use.. if someone could send me an example capx or a nice tutorial, i would apreciate it

    Hiya,

    I am also looking to do this, the dropbox file is no longer available. Could you possibly upload it again?

    Thanks!!

    Oliver xx

    I leave you my code for a zombie game that I am creating ... I hope you like it and it can be useful.

    mediafire.com/file/vcr35jp7j1buu12/zombiez.capx

  • if it overlaps or collides using speed 0