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
S
1
Posts: 9
Reputation: 368

Post » Mon Nov 28, 2016 7:32 pm

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

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
S
1
Posts: 9
Reputation: 368

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
80
S
33
G
27
Posts: 1,027
Reputation: 21,114


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 14 guests