lionz's Recent Forum Activity

  • Stored at the same x as what? You didn't give enough info about how you are using the array.

  • For this you don't pick with the family but the sprite object itself. Family is used when it applies to all.

  • Actually yes you could set it to 'static', it will retain its value

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • It resets every time you run the event, so every time you click on the object. Maybe you are looking for an 'instance variable' on the object itself.

  • When you have one sprite object with all the possible covers it loads everything into memory even when you might not need it. It is better to have separate objects for each cover. Cutting down the individual image the best you can is also good. As for applying to all covers at the same time, use a Family.

  • You do not have permission to view this post

  • You created an instance variable 'frame' but it's not used, do you need it?

    Because your animation is 120 frames, you can cut down on image memory by removing the backwards animation and instead playing the forwards animation in reverse by setting animation speed to -60

  • Add timer behaviour to object A and say, object A on collision with object B, start timer. Then have another event 'on timer' destroy object A. And another one to cancel the timer like object A not overlapping object B, stop timer.

  • You do not have permission to view this post

  • You do not have permission to view this post

  • The first one just because the second way will drive you crazy

  • I think you can't access the variable in the way that you're describing. Based on the design of the game and how letter are used maybe there is a better way to do it in general though. For now you can just use condition, if family.type=A then set var to family.A. You could use a function where you send through the type as a parameter then apply as necessary.

lionz's avatar

lionz

Member since 5 Aug, 2013

Twitter
lionz has 72 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