WixeyWinsock's Recent Forum Activity

  • Hi oosyrag,

    Maybe I'm doing something wrong but I can't find the link to the updated example. The previous link downloads the original example, which only has 10 events.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • You do not have permission to view this post

  • Hi oosyrag,

    Many thanks for clarifying things. For the drag and drop, I was trying to make it so that only the first instance of an item could be dragged into (for example) a pot, and any identical items in the inventory would temporarily have drag and drop disabled until after a recipe was successfully created.

  • Hi oosyrag,

    Thank you so much for this, it's extremely helpful and I think I'll be able to use this for the project. I'm still experimenting with it and have a couple of questions:

    Which json file is the item list one, as they both contain item lists?

    If there were duplicate items on screen, how could I ensure only one of each item has drag and drop enabled?

    Is there a (fairly) simple way of tweaking this so that item order doesn't matter, as it sounds useful but beyond my abilities to code at the moment?

  • Hi oosyrag,

    Many thanks for taking the time to explain this, it's been a big help. Just one question - in event 7, why do I need to set the Used variable to True for both the Item family and the Item object? I accidentally deleted one of the "Set Used to True" actions afterwards and found it still worked.

  • Hi oosyrag,

    Many thanks for all your help. The project's still too early in development for me to have a really clear idea about the interface, but once I've given it more thought I'll post a sample image and description when I have time.

    If I decide to stick with drag and drop I doubt I'll use more than three items as I could see it was starting to get overly complex.

    In the meantime, here's my attempt at adding a third item. I've added the "For each item family" but still can't get them to combine.

    According to debug mode the "ID2Valid" and "ID3Valid" variables don't always switch to "True" when overlapping the other items.

    drive.google.com/file/d/12kvwVJnoTaVl5K5gLJEllirUFHkhvmPy/view

  • Hi oosyrag,

    I reworked the file earlier today and the text is displaying now. I'm still not sure what I changed. I wanted to ask if there's a way to add a third item into the combining "recipes", for example, combine three items instead of two? I've tried adding an extra global variable and matching events but it prevents all items being combined. The code's currently nearly identical to Laura_D's original: https://drive.google.com/file/d/1ybqEwpb8Bc9oyXQI6gTE43jzFVp43tXw/view?usp=sharing

  • Could anyone give a brief explanation as to how modify this to make a line of text appear with "You made a [insert item name here]" when the two items are combined?

    I've tried adding a text object and an "itemDescription" line in the json file, then using "set text to JSON.Get(".itemDescription") but it always displays "0" instead of the text. I'm still very new to JSON so have probably missed out a lot of steps.

  • Many thanks Laura_D, this looks really helpful. :)

  • Thanks, oosyrag. The game's still very early in development but I was thinking along the lines of dragging and dropping items to combine them.

  • Hi,

    I'm trying to implement a feature where the player selects two (or possibly more) items from an inventory and combines them to make a new item, depending on which items were combined. I want to use arrays (unless there's an easier method), but can't work out what events I need to do this.

  • Hi,

    Could someone please explain what to put in the "Key alias" field when compiling a signed APK for Android? I've read the "Building a signed apk for Android in Construct 3" tutorial but am still a bit confused. Thanks in advance.

WixeyWinsock's avatar

WixeyWinsock

Member since 9 Jul, 2019

Twitter
WixeyWinsock has 1 followers

Connect with WixeyWinsock