Reference object type - like Family but a bit different

Discussion and feedback on Construct 2

Post » Sun Mar 16, 2014 8:52 am

Hi,

While I am at it here another feature that would be very useful to support reuse with included event sheet.

It would be great to have a reference object type that can point to object types. This would be like family, but instead would support referring to at most one element. A system action should allow setting the object type.

For example, suppose I have included a Reference "plugin".
In a main sheet one could then set: ReferenceCanvas = Canvas1
In the included event sheet I could then use this in conditions and actions.

Touch isTouching ReferenceCanvas ReferenceCanvas draw circle


In another main sheet I could set ReferenceCanvas=Canvas2, and the include event sheet would also work with Canvas two.

hope I explained that clearly.
Dan
B
9
S
4
G
1
Posts: 210
Reputation: 1,391

Return to Construct 2 General

Who is online

Users browsing this forum: Yahoo [Bot] and 7 guests