skennel8's Recent Forum Activity

  • How do I press a button on layout 1 to spawn an object on layout 2? I want the player to be able to see the object on layout 2, but if the conditions are not met, the object will not be there.

    Thanks!

  • SWEEET! Thanks so much for your help! SOLVED

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • What I want is for a player to click on Sprite1 and the game to randomly take them either to Layout1, Layout2 or Layout3.

    (Sprite_roll is the name of my instance variable)

    Why doesn't this work?:

    left button clicked on Sprite1 -- set Sprite_roll to random(3)

    Sprite_roll=0 -- go to Layout1

    Sprite_roll=1 -- go to Layout2

    Sprite_roll=2 -- go to Layout3

    but this DOES work:

    left button clicked on Sprite1 -- set Sprite_roll to random(10)

    Sprite_roll<5 -- go to Layout1

    Sprite_roll>5 -- go to Layout2

    I'm sure I'm missing something obvious but to me this looks like it should work.

    Thanks for any help!

skennel8's avatar

skennel8

Member since 19 Aug, 2014

None one is following skennel8 yet!

Trophy Case

  • 10-Year Club
  • Email Verified

Progress

11/44
How to earn trophies