Sprite Fonts overlapping

Get help using Construct 2

Post » Mon Nov 28, 2016 6:09 pm

In the conditions for sprite fonts there is no "Overlapping" . I need this because I need something to be triggered as soon as SpriteFont2 is overlapping SpriteFont1. Is there any other way to do this?
B
4
Posts: 8
Reputation: 216

Post » Mon Nov 28, 2016 7:32 pm

Put object in a family
B
48
S
9
G
10
Posts: 200
Reputation: 8,258

Post » Mon Nov 28, 2016 7:54 pm

luisgmolina wrote:Put object in a family

I tried, but it made the family a Sprite Font Family, and so it still didnt work.
B
4
Posts: 8
Reputation: 216

Post » Mon Nov 28, 2016 8:25 pm

It's most likely an oversight, but you can test if either one of the points of the bounding box of spritefont1 is in the spritefont2's bounding box and vice versa.

Like this : https://dl.dropboxusercontent.com/u/700 ... erlap.capx
B
69
S
28
G
24
Posts: 977
Reputation: 18,739


Return to How do I....?

Who is online

Users browsing this forum: Lancifer and 15 guests