lionz's Recent Forum Activity

  • Ya so as mentioned above you must add a variable condition with the 'pick random instance' condition that excludes the vent so you can say ventopen=1.

    You can add a timer behaviour to the vent, when you collide start the timer for 10 seconds. Then another event 'on timer finished' set it back to 1.

  • From the manual :

    Autoplay

    The autoplay or preload mode. This can be:

    No: nothing is done until the video is requested to be played.

    Preload: on startup the video will start downloading the video data, but will not start playing it yet. This can allow video playback to start more quickly when requested. Some platforms (e.g. mobile devices on cellular data connections) may ignore this.

    Yes: on startup the video will start downloading the video data, and also start playing it as soon as it determines the progress and transfer rate are sufficient to play through to the end without stalling for buffering. Some mobile platforms will not start playing until the first touch event - see Compatibility for more information.

  • Your ID is from admob, you've put a version number.

    support.google.com/admob/answer/7356431

  • Get out of the habit of putting every X seconds as a sub event of an event that is running every tick. Move the every X seconds out to its own event and you will have less problems.

  • So the idea is when you collide with ventreturn you want to pick a random vent but not the one you collided with to get to ventreturn? There's a lot of inbetween events here.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Well technically you can use vent UID is not the one collided with, but that's not the problem, if you can't get it to work with a variable then it's the event structure so please share a screenshot.

  • I don't know how your game works but in general you can toggle a variable on the vent so it is different from the others and won't be picked when you a picking a random instance.

  • On the collision top event you can add an action to change a variable on that one vent, then when you pick a random instance later on you can say pick a random instance that doesn't have that variable set i.e. it will not choose the one you collided with. You could use where ventopen=0 but I don't know how exclusive that variable is and how it is used so you can always add another one for this pick event.

  • When you collide with the vent you narrow it to only that instance for future conditions and actions in that event. You could add a 'pick all vent' sub-condition BEFORE the pick random instance which opens them all up again to be picked. There are also other options such as running a function which inside the function picks a random instance (functions start again with no picked instances).

  • The action where you change the variable, you do the relevant actions at that point

  • Use a loop - for 1 to array.width, add arr_levels.at(loopindex,1) to a local variable.

  • That one above is system compare two values

lionz's avatar

lionz

Member since 5 Aug, 2013

Twitter
lionz has 73 followers

Trophy Case

  • 11-Year Club
  • Jupiter Mission Supports Gordon's mission to Jupiter
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Forum Hero Made 1,000 posts in the forums
  • Forum Wizard Made 5,000 posts in the forums
  • Regular Visitor Visited Construct.net 7 days in a row
  • Steady Visitor Visited Construct.net 30 days in a row
  • Enduring Visitor Visited Construct.net 90 days in a row
  • Unrelenting Visitor Visited Construct.net 180 days in a row
  • Continuous Visitor Visited Construct.net 365 days in a row
  • RTFM Read the fabulous manual
  • Great Comment One of your comments gets 3 upvotes
  • Email Verified

Progress

24/44
How to earn trophies