rolandzarmy's Forum Posts

  • Wow forgot the picture...

  • tarek2

    Of course,

    Here as you can see Walls overlap player, player overlaps dead angle (which is actually a sprite pinned to the player), and Dead angle should (but doesn't here) overlap the player.

    But as Ashley said I could instead try to erase some part of the line of sight so it fits to the player image.

  • You do not have permission to view this post

  • You do not have permission to view this post

  • Ok thank you that's what I wanted to know:)

  • Hi again!

    This question is simple and I wonder:

    Consider 3 objects

    Is it possible to make A overlap B, B overlap C, and C overlap A?

    Example: it's a 2d top down shooter: Walls overlap player, player overlaps dead angle (dark zone behind the player: where the player can't see), dead angle overlaps walls:

    Thank you for all help <3

    Roland

  • You do not have permission to view this post

  • You do not have permission to view this post

  • Hi! I hope you are doing fine out there in the forum!

    I'm making this online top down shooter and I wonder how to seperate body parts (the head and body) to make a headshot function out of it.

    The solution I'm thinking of right now is:

    - importing one image of the whole body

    - important one image of the head

    - pin them together

    - insert functions when the mouse is over the head or body. (This part I'd manage it on my own no worries)

    I don't feel it would be the most effective, though. Or is it?

    I've read about containers but I don't know if it's good to apply it to this.

    What about you? What do you think is the best way to make this function?

    Thanks in advance,

    Roland

  • Thank you for a fast response. Indeed it works in the Rain Demo project as you said. And I checked out the code.

    But...

    Interestingly enough. I shut the computer, reopened the browser and now it works wonders.

    It might have been a browser issue.

    #turnonturnoffproblemsolving #constructmustbefine

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hi and thank you first of all for being a kind soul and checking this post out!

    To put all this in context I'm making a top down shooter where it should be possible that the player both moves and shoots in same time.

    Don't get me wrong, it works when the 8Directional behaviour is on default (top direction, left direction, right direction and down direction of the keyboard). But when I assign it to the WASD with the well-known method System -> Keyboard W is down -> Player -> Simulate 8Direction Up (and so on)

    The ability of walking and shooting in same time disapears!

    It seems Construct 3 can't register an emulated key and mouse click in same time...

    Could this be a flaw of the Construct 3 engine?

    Maybe I'm just stupid and there is an easy solution.

    Thanks in advance!