LBramley1996's Recent Forum Activity

  • Thanks a lot Dop - the solid border worked! Really appreciate your help :)

  • I have used the bullet behaviour, set to bounce off solids and set bound to layout. This makes the ball fly into the layout but after a few secs it falls to the bottom of the screen and sits there until it's destroyed.

    How do I keep it flying around the screen randomly for the full 10 secs?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Thanks Dop, this makes sense. I think I can use a global variable number, randomise this on collision with the gold ball and each number will correspond to a different power-up.

    One last thing, I want the gold ball to appear to be shot into the screen and ping around in various directions randomly before being destroyed after 10 secs if the player hasn't collided with it. How would I go about doing this? All my attempts so far have failed.

    Thanks.

  • Hi Dop, sorry to message again but I'm wondering if you can help with something else.

    In the game, I want the player to get power-ups such as the ability to shoot the red balls, invincibility etc. The player gets a power-up for 10 secs when they collide with a gold ball and I'm using instance variables to do this and also having to use a different gold ball for each power up, and it feels very messy as I'm having to create a lot of events.

    Is there a way I can use one gold ball and randomise which power-up the player gets when they collide with it?

    Is instance variables the best way to go about doing this? I'm not 100% sure it is.

    Let me know what you would do.

    Thanks again.

  • That works - cheers Dop! Much appreciated.

  • I'm creating a game where the player (blue ball) has to dodge the red balls for as long as possible. The player can also shoot the red balls to destroy them but how do I set the angle of motion of the bullet to the correct touch?

    The player moves using drag and drop behaviour, so is already touching and to shoot the enemies they tap them. However, when I set the angle of motion to Touch.X and Touch.Y, it's using the X and Y of the player and not the second tap.

    Tagged:

  • I'm creating a daily quiz game but I only want each user to be able to play once-a-day.

    After the user has completed the quiz, they won't be able to answer more questions until the following day.

    I've tried to do this using a global boolean and setting it to false at the end of the quiz and then setting it to true once the time is midnight (using date plugin) but I don't think I've done this right as it's not working.

    What is the best way of doing this?

  • Got it! Works perfectly now - thanks a lot Lionz!! :)

  • Thanks Lionz. I've realised where I'm going wrong now - the question number variable is being added to after the player answers a question and it's also being added to when the countdown variable is equal to or less than zero. I need both of these within the project but how do I get it to only add one if the player has answered when the countdown variable is equal to zero?

  • You're right, that's not all the events (I couldn't fit them all into my screenshot).

    The player should be allowed to answer even with one second left but I think the question number variable is being added to during the wait which is causing the skip but I'm not sure how to stop this, any ideas?

  • I'm creating a multi-answer quiz and have realised that if the question is answered with 1 second to go, it skips a question.

    I've attached an image to show my events and I have a 2 second wait before calling the next question so I think it could be this that's causing the issue but I need a minimum of 2 seconds to show the player the answer they have selected and then to show whether it's right or wrong.

    I've attempted to use 'wait for signal' but I'm not sure how this works and can't find any tutorials to explain.

  • Thanks so much for the example! I would have really struggled to put together that equation myself - really appreciate it!

LBramley1996's avatar

LBramley1996

Member since 30 Jan, 2021

None one is following LBramley1996 yet!

Trophy Case

  • 3-Year Club
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

6/44
How to earn trophies