How do I Automatically add Family members to another Family

Get help using Construct 2

Post » Sun Mar 08, 2015 12:37 am

I'm working on an RPG, and I implemented a Touchable family, for things that can get picked by the action button. For cross platform compatibility, objects in this family always call thier action function when either touched by the sensor or tapped by touch or clicked on. I also have and Item Family, which should get picked up when touched. In order to avoid copying the touchable events, I want to add the Item Family to the Touchable family..... What is the best way to do this?
B
14
S
5
G
1
Posts: 189
Reputation: 1,536

Post » Sun Mar 08, 2015 12:59 am

Add a third transparent object "touchable" with the relevant values in an upper layer. Link them (or dont) maybe via Pin behavior to those "real" objects when needed.
B
15
S
3
G
5
Posts: 396
Reputation: 4,977

Post » Sun Mar 08, 2015 1:21 am

At the end, its the same sh*t as my problem :D

The c2 families are useless, for RTS unlimited you need kind of temp objects which hold all values for the childs as a transparent family dad.

This makes the event sheets rock like a hippie concert on valium.
B
15
S
3
G
5
Posts: 396
Reputation: 4,977

Post » Sun Mar 08, 2015 1:45 am

There is admittedly a lack of polymorphism. I've been learning the underlying engine and extending with javascript where I need to, but I think this represents a limitation in the engine.

C2 is not without limitations, but I think its darn good for the level of complexity it is designed for. It's definitely miles more usable and extensible than RPGmaker, but it's several steps less complex than, say, the unreal engine, for example. UE4 has a steep learning curve.
B
14
S
5
G
1
Posts: 189
Reputation: 1,536

Post » Sun Mar 08, 2015 4:50 am

All needed is a realtime IID management for family objects which can be accessed through the same id as the objects inside.

Anyway, Ashley told me to fix that soon.... before few months :)
B
15
S
3
G
5
Posts: 396
Reputation: 4,977


Return to How do I....?

Who is online

Users browsing this forum: Benhh, oddreal and 9 guests