Somebody's Forum Posts

  • Another update, check it out:

    • Improved - Went through everything and cleaned up most lose ends in the code. Optimized several things.
    • Improved - Removed the confusing reset button.
    • Improved - The grid is now a little more opaque, the center a little more pronounced and yet less distracting.
    • NEW - New selection display system, a good deal better - now future proof, as it uses the same assets. It now shows the outline of the object no matter how deep under the others it is. Also, and this isn't perfect yet, it lowers in opacity the deeper the object.
    • NEW - Set canvas size (within the grid for now, but this promises a bigger grid soon). Click the canvas edit button and edit the canvas (green rectangle) just like the objects (same controls).

    Just hard refresh the link from the first post to try it.

    Known issues - cannot load an object a second time, unless something else was loaded before that. Please help:

    Mini poll: I'd like to rename the project ObGEN as that better relates it's purpose and is pronounced in a similar way. Is the risk of immature jokes too big?

  • On non-triggered things, thus on events without a green arrow. It does work.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hey, kraed, thanks for the kind words.

    From what I see FX tend to produce artifacts, especially when going extra bright, etc. But I intend to include a good bunch of different part sets which would help with achieving different looks.

  • Hi, all. I have a File chooser object which lets me load a local file using AJAX and pass that onto an array which then gets parsed.

    But why does this only work once per a given file? (In my case it's possible to load the file, and then load it again to generate a copy of the same object, for example:

    [attachment=0:3umk26uh][/attachment:3umk26uh]

    If I pick a different file and then the original again it works, but not directly one after another.

  • Ah, right, two different types of blocks... my bad. The variable approach mentioned by codah sounds very sensible. You can add a subcondition in place of the "Pick top instance" of, say "Destroyed < 1" and do a Destroyed Add 1 and that should work.

  • Ok, then add the "Pick top instance" as subcondition - Right click on the top line and pick "Add ==> Add sub event" and place it there. That oughta work.

  • Exactly - you need to interpolate from the current camera position to the desired one. Why I put "ScrollX" in the example.

  • Right click on that "On Left button clicked..." condition, pick "Add Another condition", pick "Pick top/bottom" under Z Order, pick "top"

  • Add a "Pick top Instance" condition with the necessary part.

  • I would drop that white outline around his mouth, otherwise he looks like a clown. Also Make the top portion of the hair taller.

  • Well, it's about the same as reloading the browser so I suppose it could be removed. It makes sense if in the future the app leaves the browser, for example. As for the differences - this is a leftover of the state system and some other things. You are right, I'll just throw it out.

  • Just lerp over there - something like "Every tick - ScrollX = lerp(ScrollX,TargetX,dt*128) <== Change this number to change speed

  • Super-neat, Burvey. In the next larger update I'll bring out a Flat part pack and more palettes so making different things will become even easier.

  • R0j0 recommended using this for my specifically-sized images and it works perfectly (at least if your canvas isn't stretched in some way within C2).

  • Thanks. I'll have to look into it, as quite a bit of stuff happens every tick (but then there aren't too many objects). My own idea was to basically have dynamic arrays, same as the ones you use to save out files. And just load those back when an undo is called.

    But I need to fix the loading first - something is missing there when you try and load another thing after the first load (perhaps I need to clear the Array object or the AJAX one or something like that).