Accessing edittime selections

Forum for plugin, effect and behavior programmers. Please use the Help & Support forum for help using Construct.

Post » Wed Jun 16, 2010 11:11 am

Is there a some way to access the currently selected objects from a plugin? I was thinking if it was possible to make a "Export selected objects to XML" style feature.

I guess it's doable by hacking LayoutEditor, but it would be easier to demonstrate a proof of concept as a plugin.
B
2
S
1
G
3
Posts: 71
Reputation: 1,142

Post » Wed Jun 16, 2010 3:25 pm

Exporting is one thing, importing...quite another.
Image Image
B
161
S
48
G
91
Posts: 7,359
Reputation: 67,273

Post » Wed Jun 16, 2010 3:37 pm

Seems like VEditTime does not even have a CreateObject functionality so this is not possible as it is. I wanted to do a sort of a "prefab" functionality.

For runtime I've had xml export/import working for a while. It doesn't support every situation but saving the basic properties (name, position, size, angle, filter...) goes a long way.
B
2
S
1
G
3
Posts: 71
Reputation: 1,142


Return to Construct engineering

Who is online

Users browsing this forum: No registered users and 1 guest