facecrime's Forum Posts

  • Hi everyone,

    is there a way I can check if a string is upper or lower case? Typically you'd probably just care about the first letter, although in my case string are either gonna be all upper or all lower case. But I dont know how to check whether it's either of the two, checking first letter only or full word therefore doesn't really matter.

    Any ideas please?

  • Ah sweet, I wasnt aware!

    Or would that be a C3 feature only?

  • Hi everyone,

    I posted my project on this one gaming site and got an error telling me it had "Too many files".

    Now I asked them to exempt this project from that cap since, so that is not a problem anymore.

    However I'm wondering about the relevance of such a concern. My project is currently around 15mb large but has a bit more than 1000 files and more is to come. What are the effects of many files on a client?

    I was also recommended to use sprite sheets, to share files for multiple objects, I presume. I don't know of such a technique in Construct, nor do I intend to rework my project. But I was wondering if anyone has suggestions towards creating fewer files in a project that just has a lot of objects?

  • Hi everyone,

    I posted my project on itch.io and ran into their limitation for max amount of files.

    After talking to their support (and getting the cap raised) I was given the recommendation to try working with sprite sheets to avoid producing 'Too many files'.

    Now I wonder if the amount of files is really something to consider - not that I actually intend to rework my project in that regard - given that my html project is only around 14mb right now, I dont feel too bad about it. So what's the impact of a 'large' number of files, if I were go extreme? And about where would that start?

    Thanks

  • Thanks guys.

    Informative posts, Ashley, if slightly condescending ;) Good to hear of those relations, eases my concerns at least.

  • Hi everyone,

    have always been wondering, is it wise to be using dictionary lookups like "has key" or string "find" operations inside arrays for actions that are meant to be responsive and go over many ticks, like firing a weapon?

    E.g. I keep track of weapon upgrades in a concatenated string inside an array, since there can be an indefinite amount theoretically.

    But I'm wondering if parsing that string in an array is performant?

  • Think i played your earlier version. Cool beans, looking promising!

    Keep it up!

  • Really accomplished, nicely done!

    How many completed projects have you done in C2 so far? And outside of that?

  • A lot has happened, just swinging by here for a few impressions of where things are these days:

    A quick introduction of the Player character: The Hound Trooper

    The basic Rig, callable via Drop Pod:

    Anomalies - a mutator system that modifies random gameplay aspects

    in this case: time moves only when the player moves ...

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Nice! Cool to see you pulling through on this.

    Totally wishlisting this.

  • I would've never figured that out, thanks so much!

  • I realized when checking from another machine. Should work now ...

  • dop2000 thanks for checking

    Here's a capx that reproduces the exact issue. pretty simple so i'm hoping the solution is as well :P

    Edit: fixed the dropbox link (hopefully)

  • Hi everyone,

    I'm importing a bunch of strings from Json to an Array. I want to pick a random line from that array and add it to a dictionary, but I get only a truncated text.

    In debugger the imported lines look ok, but when retrieving one of the lines from the array I'm only getting the first letter...

    The array I'm importing:

    The lines after import from Json via Ajax:

    Fetching a random line from the C2 array:

    This is the result, I'm only getting the first letter of the string:

    Can someone please point me to my mistake?

  • Nice one! :)