rmarquesbem's Recent Forum Activity

  • On creating the object you could:

    - Set the X position to be random(RedSquare.X-(RedSquare.Width/2), Red_Square.X+(RedSquare.Width/2))

    - Set the Y position to be random(RedSquare.Y-(RedSquare.Height/2), Red_Square.Y+(RedSquare.Height/2))

    That way it picks a random position between both edges of the red square for both the X and the Y.

    It worked perfectly my friend, awesome!

    Thank you very much.

    However, may you explain to me, if it is possible, how do the expressions that you've created work, please? Because I just copyed them and I don't know how they work.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hi guys, how are you doing folks?

    I'm producing a game and I've got a doubt.

    I'd like to know how could I create a random spawn point just in the red area?

    For example, every x seconds the spawn point would be in a different position in the red square.

    The game is a drag and drop for kids and I'm just in the beginning of the project.

    I hope you can help me a little. I already thank you for this.

rmarquesbem's avatar

rmarquesbem

Member since 25 Jul, 2018

None one is following rmarquesbem yet!

Trophy Case

  • 6-Year Club
  • Email Verified

Progress

7/44
How to earn trophies