Sanju83's Recent Forum Activity

  • I'm working on a top-down shooter style game and I want to check if the enemies can see the player. I'm using the line-of.sight behaviour, but i want this active only when the player is between some range of the enemy's orientation angle.

    I've been trying to do this comparing the enemy's angle and the angle between the enemy and the player, but I've found no solution. Could anybody help with this?

    Thanks!

  • I agree with you. I think this is Construct2's greatest (one of the very few) weakness, and I'd love to see some kind of improvement about this.

  • Thaks for the answer, spacedoubt.

    [quote:uht56n9d]However most browsers ignore the fullscreen request unless it is made in a user-input trigger. This is to prevent websites annoying the user by automatically entering and exiting fullscreen mode.

    Yes, it makes sense...

  • Hi,

    As the subject says, I'm trying to call the Request fullscreen action of the browser object on start of layout but it's not working. Does anyone knows what do I have to do to achieve this?

    Thanks

  • I've found a solution.

    For my player movement I'm gonna use the Physics behaviour instead of Custom movement. With this, construct2 will gonna handle the bounces automatically.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • The problem is that I want to bounce in different angle and speed depending on how the player hit the sprite.

    I uploaded the capx. What I want is to get a more "natural" bounce when I hit the green sprite (I haven't even got this with the black squares).

    Thanks for answering.

  • I have a player sprite with a CustomMovement behaviour and i want to achieve for it something like the "bounce off solids" property of the bullet behaviour. I have tried with some CustomMovement reverse options and I've done something that only works when the player is bouncing against some prefect formed sprite, but this is not working with a sprite that have a strange formed collision polygon:

    I hope I've explained myself clear enough.

    Could somebody help me with this?

    Thank you.

  • Hello world!

    Just discovered Contruct 2 a few days ago, but I think I'll be around here for quite a long time ...

    Greetings from Spain.

Sanju83's avatar

Sanju83

Member since 14 Apr, 2014

None one is following Sanju83 yet!

Trophy Case

  • 10-Year Club
  • Popular Game One of your games has over 1,000 players
  • Email Verified

Progress

12/44
How to earn trophies