Containers++

Discussion and feedback on Construct 2

Post » Fri Feb 15, 2013 1:55 pm


Hi, didnt really know where to post this..

feature request..

I would like to create a composite object from multiple objects, including duplicates of objects.. then i could spawn the composite by name, and have all the other objects spawned at the positions and orientations relative to the position of the compound object..

spawn compound at x,y would spawn everything in the compound relative to this position..

I could then select compound.. select object type.. pin to blah..


This would mean i can set orientations and positions of instances in the editor and on spawn they would appear relative to the origin of the compound.. would make more complex objects far easier to create..

Containers are great.. but limited..

Hope that makes sense.. :)





   matt752013-02-15 14:09:54
B
6
G
2
Posts: 37
Reputation: 1,499

Post » Fri Feb 15, 2013 3:33 pm

What is wrong with containers and image points? It seems to me like they can do all of these things.
B
90
S
30
G
24
Posts: 3,189
Reputation: 32,400

Post » Fri Feb 15, 2013 3:47 pm

do image points hold angle information?!.. i need to spawn objects at the correct position and orientation.. and as far as containers go.. i see no way of containing multiple instances of the same object..

maybe im misunderstanding how things work.. matt752013-02-15 15:50:40
B
6
G
2
Posts: 37
Reputation: 1,499

Post » Fri Feb 15, 2013 6:23 pm

You can PIN the objects together after positioning them at the correct image point and angle.

The Pin behavior allow you to select the mode: Position & angle, Position only, angle only, Rope style or Bar style.

When I have a composite object that has specific I include all objects in a container, then create the base object - which creates all the others, then position them and angle them and pin them.
B
13
S
4
G
3
Posts: 75
Reputation: 3,425

Post » Fri Feb 15, 2013 8:59 pm

ok thanks :)
- yeh, im really after setting positions and orientations in the editor, not at runtime.. Its fine though, i will do this offscreen and and set bool called template.. i will then duplicate orientate and position and pin objects when i need to spawn them..

I dont think i explained myself very clearly.. apologies

thanks for your help :)
B
6
G
2
Posts: 37
Reputation: 1,499


Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 3 guests