How do I make a tilemap part of a family?

Get help using Construct 2

Post » Fri Mar 20, 2015 4:44 am

Hi all,

I have lighting and shading effects that I applied on sprites all over my levels using families. I am now adding tilemap "objects". I would like to add the same effects occurring on the family onto the tilemap and therefore on each tile. It appears that you cannot add a tilemap to a family and was wondering if that is something I will have to treat separately in the event sheet? That works, but since you cannot call back the value of effect parameters, I was hoping not to have to add more checks by creating the effect on the tilemap separately and using the family effects instead.

Has anyone found a workaround for this or am I bound to create effects separately on tilemaps from sprites? ..or is it just me?

Thanks heaps to everyone in these forums, it has been very helpful so far and I never had the need to post something as I always found an answer on it, but not this time.

If you know that the issue has been talked about earlier, please redirect me and excuse me in advance.

Sorry, can't give capx
Working on creating MYTHS, a 2D sidescroller adventure game - check more at :
nativepixels.com
Image
B
19
S
4
G
1
Posts: 11
Reputation: 1,522

Post » Fri Mar 20, 2015 6:01 am

Hey DiVeR, :)

I believe a family can only have one kind of object (plugin) in it.
e.g. Only Sprite objects, or only Text objects, or only Tilemap objects.
The icon of the family is borrowed from the object (plugin) type it currently contains.

Manual > Families: https://www.scirra.com/manual/142/families
  • "All the object types in a family must be from the same plugin ..."

The problem you're having might be that you're trying to add a Tilemap object into a family already dedicated to Sprite objects.
B
26
S
17
G
8
Posts: 323
Reputation: 6,019

Post » Fri Mar 20, 2015 5:06 pm

Hey fisholith,

Thank you for your prompt reply. It was me then... solution was in the manual! Thank you for pointing it out, I can stop trying now, it was exactly the issue you described as I had sprites in this family.

Thanks again
Working on creating MYTHS, a 2D sidescroller adventure game - check more at :
nativepixels.com
Image
B
19
S
4
G
1
Posts: 11
Reputation: 1,522

Post » Fri Mar 20, 2015 5:12 pm

No problem, glad I could help :)
B
26
S
17
G
8
Posts: 323
Reputation: 6,019


Return to How do I....?

Who is online

Users browsing this forum: vGoliath and 2 guests

cron