lionz's Recent Forum Activity

  • You didn't really say the purpose of the overlap but since you are using drag and drop and I am imagining some kind of crafting mechanic, you can add 'on drop' so it's a trigger once to the overlapping conditions. If you grab the UID of the item you picked up you can compare the other item that is overlapping with it 'on drop'.

  • Well you didn't need to create a new post but if you make the 2 events like I mentioned above it should work. On start of layout is so that the timer starts only once, and then the on timer should be a new event.

  • Put the timer behaviour on the object

    Then say on A key pressed : object start timer, set animation 1

    Then say system compare two values, object.timer.duration greater than 2 : set animation 2

    Also on A key released : stop timer

  • Yes if you are having trouble with timers then post again and with a screenshot of the events preferred.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • My approach is usually this as one event :

    - on object clicked,

    - sub event store the UID in an instance variable

    - sub event pick all object set opacity to 100

    - sub event pick object where UID = instance var, set opacity to 60

  • Bit difficult with the system condition. You could try using a timer behaviour. For each object on start of layout, start timer for time value 'object.variable'. Then on timer completed, spawn the object and start timer again for time value 'object.variable'. This should work well for picking the right instances.

  • What exactly is happening and what do you expect to happen? From what we can see this looks ok but we can't see the full event in the screenshot.

  • I wonder do people even need a tutorial for this?

    Not really but people get scared when they see new things

  • For pickedcount you can set it to a global if you want. There's more info on Families in the manual.

  • I'm saying the variable for faceval should become a family instance variable then it's easier. As for the logic to check for the straight I mentioned it above but you'll have to work it out. You need to check that any dice is a 1 then a 2 then a 3 etc

  • Family can be used independently of other events. You use it where you want to pick all of the dice together to find their values. You may have to bring the dice value variable up to the family level though, something called a family instance variable, and go from there.

  • There's no point doing the array method if you've already started this way. As I mentioned you can use a family to group all the dice into one condition 'for each dice(family)' checks all of the objects.

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