Objects outside the layout

0 favourites
  • 9 posts
From the Asset Store
Weather Sounds contains 132 sounds from them 64 seamless loops
  • Hello,

    I have a question, do not know if here is the right place to ask.

    I searched the forum but have not found.

    There are 'good practices' for creating layouts? For example, is it really necessary to leave all objects out of the layout(see attached image) in ALL layouts? I think disorganized, is there any way to do it well?

    <img src="https://dl.dropboxusercontent.com/u/2064178/example-objects.png" border="0" />

    Tnks

  • My understanding is that that's what margins are for. However, I don't organize my objects because I don't drag/drop from there. I actually check in the list on the project tab.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • all objects that I need to create copies (to spawn object) need to even get out of the layout and repeat them in all layouts. Way to go, or am I doing wrong?

  • I just pull from the project's object list. All the objects are on a layout somewhere in the project (I have a dummy layout for mass-importing of a lot of stuff). I can't think of a reason to have so many objects scattered about your margins.

  • moebios, you only need to drag your objects to a single layout, even if you use the object in multiple layouts. The purpose of putting the objects in the layouts at least once (even if you don't need it in the beginning) is so that the C2 game engine knows what the initial values are for the object, i.e. the values in the properties bar.

    For organizing, I just group like things together. And, I've put the objects outside of margins and it still works. In a future project, I've been thinking about putting all the objects in a layout that is never shown to the user. That might be the best way to organize the objects and keep them out of your way.

  • In a future project, I've been thinking about putting all the objects in a layout that is never shown to the user. That might be the best way to organize the objects and keep them out of your way.

    About two weeks ago I removed all of the stuff I had in the margins of all my layouts and placed them on an inaccessible layout I called "defaults". I recommend it. It helps you keep things clean and organized <img src="smileys/smiley1.gif" border="0" align="middle" />

  • Nice tip, thx

  • I do not understand. If I do this, delete all objects and puts them all in a layout that is not used, the objects you create with SPAWN simply do not work.

  • I do not understand. If I do this, delete all objects and puts them all in a layout that is not used, the objects you create with SPAWN simply do not work.

    moebios . Hi! That is because first you need to have or create at least 1 instance of the spawner object in the active layout so that it can spawn the other object. Please try it.

    In this CAPX ( dropbox.com/s/kh6pp15q7smspy0/create%26spawn.capx ) you can appreciate this by first trying to spawn an object pressing "2". It works by first pressing "1" (System>Create Object) and then pressing "2" (Sprite1>Spawn Another Object).

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