facecrime's Recent Forum Activity

  • 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! :)

  • Hi everyone,

    anyone have a good technique to create a Lightning Sprite that can be modified in length - not scaled but freely extended to any width like a tileable object, all the while being animated?

    My first guess was using the Tiled Background object for its scaling properties, but it doesnt support animation.

    The only other approach I can think of is a sprite with some animations of different sizes and a little scaling (ie distortion) for an exact fit. Kinda nasty tho.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • this is pretty damn great, love the focus and polish!

    so what's the plan, when are you hitting steam and the appstore :)

  • Becoming more complete of an experience, check it here:

    gamejolt.com/games/craterhounds/367742

    The game has finally found its structure and scope.

    I'm working towards making it a rogue-lite twin-stick shooter, with loads of Mechs and Guns to find along the way and more options to unlock across multiple session.

  • Updated the demo, it now features 3 mission types to choose from.

    Sabotage: Destroy the Power Node

    Retrieval: Steal the Mech

    Purge: Kill everything

  • Thanks dop2000

    Would I be able to use break loop instead of the comparison, too?

    Also, since I'd like to have it happen on start of layout, cant this also be done in a single pass?

    I feel like my approach might not the most streamlined, would you suggest another approach altogether?

  • Hi everyone,

    how is the while condition used properly?

    I'm guessing it's what I need for what I want to do, but cant get it to work.

    I'd like to add two values to random cells of an array, but make sure that i dont write in to the same cell twice. I figured I might want to reroll the line until I find one how's value is zero, but i dont get how to articulate that in C2.

    Thanks for your time!

  • Got a first pass of the dungeon generation up.

    Only generates a single theme so far, and mission objectives and difficulty control aren't in yet, as well as many other features.

    But dungeon generation works and is ready for extending!

    Try here:

    facecrime.itch.io/crater-hounds

  • dop2000 thanks! helpful as always, dop, glad to have you on here.

  • Hi everyone,

    I want to load a Json file into a dictionary and have the Json's content available in multiple keys.

    The bits I'm unclear about is why I'm seeing zero keys after loading the ajaxdata into the dictionary and how I would best break down the loaded data into dictionary keys.

    My setup looks like this:

    The data I want to import:

    imgur.com/eNNmP0x

    Loading into the dictionary:

    imgur.com/9GiXBOV

    So I'm guessing my data is formatted incorrectly, since the import results in zero keys?

    Also what key would it be stored in, how would I adress it for breaking down into?

facecrime's avatar

facecrime

Member since 25 Mar, 2014

None one is following facecrime yet!

Trophy Case

  • 10-Year Club
  • Email Verified

Progress

11/44
How to earn trophies