lionz's Recent Forum Activity

  • That is the code. Take BESTSCORE, divide it by 100. use floor to round it down to the nearest integer. Multiply by 100. The result is POINTS.

  • What does this have to do with an array, are you missing some info?

  • You can add points to it if you right-click on the box and add point

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Set targetId to loopindex

  • Depends on the design of the game but sure start with something like that. The for each only assigns to the enemies that exist on the layout so it works for any number.

  • Not sure exactly on the system as I've not played those games but assuming like most turn based RPGs where they are set positions you can use variables so on first press you're at position '1' and then press it again you're at position '2' etc.

    You could also use something like 'for each enemy (ordered by X)' which would pick each enemy in order across the screen and you could assign them variables 1,2,3 which relates to the above.

  • Not sure how it can be explained further. If you are using 4 different objects not instances then put them in a Family. Look up Family in the manual if you don't know how to create one. Then the logic is system pick a random instance of 'Family'.

  • Each time you can use 'pick a random instance' under system conditions

  • This is exclusive to your own project, we would have to see it to help with this. You could be going to a blank layout.

  • Call the function every X seconds so it's outside of the function.

  • This is still vague, is it a secret? If it's different sprites on a selection screen and all events apply regardless of which is picked then you can put all those objects in a family and apply events to the family object.

  • You can't increase the objects from another layout however it is possible to return to the layout and they have the same variables as when you left if you give the objects 'Persist' behaviour.

    If you want them to grow while you're in another layout you would need to use global variables or an array, or another option is to make them global objects but they are invisible but that is a strange option to go for.

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