How do I find the first instance of an object

0 favourites
  • 4 posts
From the Asset Store
Use this game pack to create your own game, modify the existing game or simply take a look and see how it was made.
  • Hello, how do I find the first instance of an object on the stage, in the case already have 30 Levels ... do not know where I put the first instance it ...

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • There isn't really a 'first instance' until you run the game. Then the objects are listed in order of IID in each layout. What is it that you are trying to do?

  • You mean the instance that has the defaults for newly created instances?

    If you save you capx as a project folder and look in the xml files in the layouts folder then look at all the lines with say

    <instance type="TiledBackground" uid="0">

    The one with the lowest uid is the first I think. You probably want to use some searching software like agent ransack to automate the searching.

  • You mean the instance that has the defaults for newly created instances?

    If you save you capx as a project folder and look in the xml files in the layouts folder then look at all the lines with say

    <instance type="TiledBackground" uid="0">

    The one with the lowest uid is the first I think. You probably want to use some searching software like agent ransack to automate the searching.

    Exactly... Thank...

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