Alalala's Recent Forum Activity

  • My bad ! It was announced, even though the page I checked is this one :

    scirra.com/store/construct-2

    newt : Not sure what you mean but pretty sure that's a nasty comment, so keep it for yourself. I was just saying that I won't buy a tool I have spent so little time trying.

  • I've been trying Construct 2 for a week now and this pops up :

    "This project exceeds the free edition limits

    You may only have 100 events in a project, up to 4 layers on any layout, and 2 effects in the project. [etc]"

    I saw no hint of these limitations when I checked and double-checked the "Compare Features" page.

    I wish I'd known sooner.

    If there aren't any code tricks around that, it's bye bye for me. This comes totally unannounced, and there's no way I'd buy this tool with so little mileage on it.

  • Wait a minute.

    In my project there are 4 arrays so far (and planning to add more). I have created each one by double-clicking on the layout, so actually each one is actually a different class, right ? It suited me fine because each one has a different size and very different treatments.

    But I want to be able to count the occurences of a particular element in any type of array, because that's useful for any array. But the 'pick by UID' condition will only iterate over a particular sub-class of array, right ?

    Same thing for 'pick by evaluate' or 'pick by comparison', they both ask for a user-defined sub-class of array. If there is a way to simply pick 'Array', that would do the trick for me.

    But if there is not, then I see only two choices :

    • make my arrays into instances of a single array sub-class, which means having to make an additional test each time I select an array (and additional risk of error and cost of maintenance)
    • make a count function for each sub-class, which does not make it totally useless, but not far from...

    Did I miss something ? Is there a better way ?

  • Thanks for the answers ! I kinda feared it would come to that, but now that I know someone has used them and is mostly fine. I feel more confident in trying myself. I'm not used to using UIDs, but as long as it's unique and immutable, it is really the same thing as passing the name of the object like I'd do in any text-based language, just more wordy. So, should be safe.

    Alright, I'll try that out !

    Yes, my last question was strangely worded but you got the meaning right

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • How do I pass an array as a parameter ?

    How do I pass an array as a return value ?

    How do I have a local array in an event ?

    Same for dictionaries and XML trees...

    And how do I count occurences of an element in an array ?

Alalala's avatar

Alalala

Member since 24 Mar, 2017

None one is following Alalala yet!

Trophy Case

  • 7-Year Club

Progress

7/44
How to earn trophies