Stupid question but... (objects)

This forum is currently in read-only mode.
From the Asset Store
Welcome! I-Spy (Hidden objects) is an educational puzzle that is more than just seek-and-find activities.
  • How do I have objects that aren't on any particular layout until they're created? I've got stuff that needs to appear later (or sometimes not at all, really) and I don't know how to do such a thing without just keeping some off to the side, which is not the best idea in this case.

  • Check "Destroy on startup" in the Attributes section of the object's properties.

    Then when you need to create it during run-time, use the System action "Create object."

    Edit:

    Oh, you mean you don't want them cluttering up the layout itself while you're working in the IDE? I dunno. You'll just have to stick them somewhere. You could always just use the Hide feature if they're in your way or whatever.

    Edit 2:

    The "Hide Selected" option appears not to be working (it's grayed out). But the "Hide Unselected" and "Unhide All" are working ok.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I suppose that'll have to do, I guess. Thanks.

  • Yeah, you need to have at least 1 instance of an object existing in some layout so Construct knows what object properties to give newly created objects. You could always have an unused layout where you throw your spare instances (they'll never be created if you never go to the layout).

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)