lionz's Recent Forum Activity

  • To have separate life it is the instance variables you stopped using hehe. In what way was it not working?

  • When you press the F key add 1 to a variable and start a short timer. If the timer ends set the variable to 0. If the variable = 5 then run the ability.

  • If you use persist behaviour on the power up object, when it is destroyed it remains destroyed even when you return to the layout.

  • I remember previous posts where this issue was resolved by putting the Sprite into a Family and then you can pick the object against the family. You would need to subscribe to use Families.

  • Yeah the reason that doesn't work as expected is because framecount is always 1 higher than the final frame, because frames start at 0. The logic to make it work would be something like, on sprite clicked, if current frame not equal to object.animframecount-1 then add 1 to frame else set frame to 0. Which is effectively saying, on object clicked if you are not on the last frame then go to next frame else go to the first frame.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • You don't need to use a global variable, the object has object.animationframecount expression

  • You no longer automatically follow a post when you respond to it and won't receive notifications unless you click follow. It would be good to have this functionality back in.

  • Link is broken and what you're saying is probably true as this is a common error. You can make sure multiple animation conditions are not true, such as if you want to play an idle animation you could say player is not moving, AND not jumping, so a jump animation and a walk animation would still play correctly.

  • When you start an animation it cancels the previous one unless the conditions for the previous one are still true then it would cause a bug. Just make sure conditions for animations cannot be true at the same time.

  • My approach would be to push simon picked colours to an array and when the player presses a combination you can compare the pressed colour with the top colour of the array. If it matches then pop the top of the array then continue and if not then you failed. If the array is empty or by tracking with a global variable for number of colours then go onto the next game.

    The initial colours for picking don't need to be in an array you can use choose("red","green","blue","yellow") which picks a random one of the 4 but then my approach would be to push the colour chosen at this point into the array for comparison.

  • You can have a global variable that adds 1 every time you die and if it reaches 2 then create and play an interstitial, and set the variable back to 0.

  • You need to click on the number now to see the alerts, not the profile avatar pic.

    Oh nice, thanks! :)

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