Obi554's Forum Posts

  • Hi,

    I posted a forum topic several months ago, and now I'm finding it impossible to locate. It isn't listed anywhere in my notifications for replied I received, and the search function doesn't seem to work.

    Can you please add a section to user profiles which links directly to posts we have created individually so we can easily track them or access if we need information?

    This would be fantastic.

  • When i'm setting up conditions in the event sheet such as:

    If value at array cell(x,y) = "example_text1"

    is it possible to add an 'or' value in the same condition, so it would become:

    If value at array cell(x,y) = "example_text1" OR "example_text2"

    Is this possible?

    Thanks

  • Cheers for this Dop, i'll take a look at it this week :)

    Btw - do you know if it's possible to access the 'description (optional)' element of a Global Variable using the events?

    For example, could I use the description inside a global variable inside a text object instead of adding the description manually to the text object separately?

    e.g.

    On button press

    >text object - show text - global_variable1 description

    Thanks for any help.

    Does this mean it's not really feasible with vast amounts of data?

  • Thanks dop2000 I'll try this :)

  • Hi again,

    This doesn't work.

    I'm trying to obtain the value at:

    x = 2

    y = 1

    Using indexof expression for the 'y' variable only. I've tried different combinations, and this expression only seems to work for a single x variable, anything more complicated and it doesn't seem to work.

  • Sorry!

    It does work - I changed a few things in my event sheet and it's perfect now :)

    Thanks.

  • Thanks. Works perfectly :)

  • Hi, is it possible to do the following with array numbers?

    on button press : subtract 5 from cell x,y

    I thought you could manipulate array cells just like global variables, but there doesn't seem to be an event pointer for it/online manual.

    Thanks.

  • I'm getting this with one of my new layouts. All other layouts are loading fine in the preview.

    Any idea why?

    Many thanks.

  • Hi,

    I'm trying to obtain an x value for an expression which goes as follows:

    Sample array:

    dogs 1 2 3

    rabbits 2 2 3

    Expression:

    On listbox entry 'rabbits total' selection:

    >set text to: the array index of "rabbits" at x=2

    an expression for this would help a lot as i'll be adding and removing rows as the game progresses and rows will be moving up and down, so using an expression which searches for the "rabbits" entry instead of pointing to a specific xy position would be amazing.

    Thanks for any help.

  • Ok thanks.

  • Cheers for this Dop, i'll take a look at it this week :)

    Btw - do you know if it's possible to access the 'description (optional)' element of a Global Variable using the events?

    For example, could I use the description inside a global variable inside a text object instead of adding the description manually to the text object separately?

    e.g.

    On button press

    >text object - show text - global_variable1 description

    Thanks for any help.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hello,

    I know this may seem like a simple question, but is it possible for someone to walk me through creating a JSON file using Excel and then getting it imported into Construct 3 into specifically a Dictionary OR Array format?

    I want to save time and not have to go through mistakes and errors. So I'd be very grateful for this.

    Many thanks.

  • SOLVED:

    The layout wasn't assigned to an event sheet.

  • Hi,

    it's supposed to request array.json.

    I know my events are accurate because it works fine in other test projects I've setup but for some reason not in my main project.

    Is there anything specific that can stop it from working normally.

    If the project file is corrupted I may have to start again whih I dont want to do.