lionz's Recent Forum Activity

  • Post screen of the event

  • If you use a condition such as enemy.UID = num, then when you use the find path to enemy action it will pick that enemy.

  • It's because at the start of the game the inventory doesnt contain the name, but once theyre added then the inventory does contain the name, it doesnt run the logic for creating the objects on future layouts.

  • You should be using test mode when testing until the app is published. Since you tried it without test mode I'm not sure on the expected outcome, you are at risk of your account being closed if you test like this. I don't know if real adverts should be shown, I guess they could be, but since test adverts are working fine then you should first publish the app then and if the real adverts are working.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Where are you testing it? What do you mean when you say it isnt working?

  • The fix is to sort out the image point, it looks like it isnt in the centre of the base object? You can reset it in the image editor. Or its possible that the image point is off on the other object, the knight. Make sure the image point 0 are both in the centre of the objects and it should work.

  • Difficult to guess this without the file but I would make sure te second layout is definitely linked with the event sheet and not set to 'none'. If it is actually linked then there must be a problem with data like with the array or something.

  • You can either make the item bar global so that it is showing the same data through layouts without calling the function again (objects are not destroyed), or you can add the function on start of layout to all event sheets that are linked to the layouts.

  • There is a Persist behaviour, you add this to any objects and they keep their state and variables when you return to the layout.

  • 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?

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