lionz's Recent Forum Activity

  • 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.

  • 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.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • 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

  • in an expression you would use player.platform.stat

  • No problem, good luck :)

  • Problems arise if there are no waits anywhere in these functions, if you send a signal and wait for signal within the same tick I've seen issues. Using 'wait for previous actions to complete' under some of the actions has also resolved this issue for me as I think that possibly waits for next tick.

  • - The enemy does not have a box like the player so you need to change the collision box of the enemy, open the image editor and have a look at its shape, you should change it to a box

    - Change initial animation to 'idle' in properties of the player

lionz's avatar

lionz

Member since 5 Aug, 2013

Twitter
lionz has 79 followers

Trophy Case

  • 13-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

26/44
How to earn trophies