Preparing instances

Discussion and feedback on Construct 2

Post » Mon Feb 13, 2017 6:07 pm


In my game there's tons of different objects, mostly different enemy types and their subobjects like particles and whatnot. What would be the most preferable way to prepare these objects for spawning in levels? So far I've had this seperate layout I call the "Stuff Board" where I simply put everything that's going to be manually spawned in the actual game. On that board I set up the object's behavior settings and such to what they should be. I've noticed that I can't change those numbers through the actual object list, so I was sorta forced to make this kind of messy stuff board. I'm not sure if this is the most optimal way to do this, though.

How do you guys manage your big piles of objects in your projects? I've heard that some people just put those objects outside the level layouts and remove them on the startup, but somehow that seems even messier to me. I could maybe use that for one-off things like bosses and level-specific effects, but not for "generic" stuff like enemies and objects that are found in every level.
Posts: 235
Reputation: 3,503

Post » Tue Feb 14, 2017 3:37 am

So all these objects are not spawned but start in the layout?

The object list only gives you the parent information, you need to select the individual instance to set it's specific values.

I put everything outside the layout, I make my margins giant and use CTRL-MouseWheel to scroll way in/out

Anything that is spawned-only like, bullets, explosions, enemies etc.. I immediately destroy OnStart of Layout, but then I would only have one of that object in my Layout.
Posts: 1,212
Reputation: 17,018

Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 11 guests