lionz's Recent Forum Activity

  • If you are already using an array to store the items by name then you should use the array to store the amount, in the next row or column. Then you can compare using the array each time, find name and the amount is at the same position.

    The logic in the function would become something like, array contains name, find co-ordinate of name. lets say co-ordinate is 3,0 - add 1 to 3,1 (amount stored in next column).

  • >

    thank you for the reply!

    I remember trying to do this method but I couldn't get the code on how to generate the matching row for the other value, if that makes sense.

    In other words, I could pick a random value from the meaning part but I didn't know how to get the matching word part, if that makes sense.

    If all of the questions are at X,1 and all of the answers are at X,2, then all you need is X. So if x is 6 then the question is at 6,1 of the array and the answer is at 6,2. So the question is randomnum,1 and the matching answer is randomnum,2 every time.

  • Maybe the base is in the correct place but the knight is pinned below in the wrong position? Make the base visible so you can see where it is in game. what logic did you use to fix the knight to the player movement sprite?

  • Looks like the collision box on the player or the pink sprites, open them in image editor and check the collision box it is one of the icons on the left tool bar.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Report as a bug in the bug area if you think it's broken, devs will fix it.

  • Great! Glad it's resolved :)

  • So what is the specific problem you are having? Each instance would have its own timer so you can track this if you want per instance. If the actions are so different you can use tags to separate them.

  • This seems to be running every tick and you don't reset the variables until you press retry so if you go in debug mode it is probably creating hundreds of these objects? Probably the screen you see is when it waited 0.5 seconds after creating the latest object, you need a trigger once on that first event.

  • I would move it to an array with 2 columns for question and matching answer, easy to write out in a file and import to array as you did with the dictionary. Then you can pick question and answer from the same row and each time pick a random row.

  • Set the timer to random(1,20) as Once, then have On timer finished, set timer to random(1,20) Once

  • Not that I know of

  • On the left there under your avatar it says 6 topics click that

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