How do I Check empty space (floor)

Get help using Construct 2

Post » Tue Apr 22, 2014 10:37 pm

hello, I would check when the road ends or if there is no object.

I have a character like mario turtles and wants will check if there is no floor returned.



here the file .capx example
https://drive.google.com/file/d/0B9uHUU ... sp=sharing
image reference
https://docs.google.com/file/d/0B9uHUU8 ... A2UlU/edit
B
48
S
9
G
10
Posts: 200
Reputation: 8,258

Post » Tue Apr 22, 2014 10:52 pm

I missed your capx but have a look at overlapping at offset.
https://dl.dropboxusercontent.com/u/542 ... Check.capx
B
91
S
31
G
103
Posts: 5,240
Reputation: 67,766

Post » Wed Apr 23, 2014 5:47 pm

Great! but
How do I get that instead that only works with that floor, work with all solid?
B
48
S
9
G
10
Posts: 200
Reputation: 8,258

Post » Wed Apr 23, 2014 8:17 pm

Put all of your solids into one family and check for overlap with that family. You could even give the family the solid behavior... If you have some solid sprites and some solid tiled backgrounds, though, you'll have create two families because these types of object cannot be contained together in the same family group.
I only occasionally visit - I'm learning C# for Unity, but c2 is still a respectable game engine imo....
B
73
S
19
G
66
Posts: 2,198
Reputation: 42,193

Post » Wed Apr 23, 2014 9:42 pm

Excelent!! thx
B
48
S
9
G
10
Posts: 200
Reputation: 8,258


Return to How do I....?

Who is online

Users browsing this forum: jasontoups, OddConfection, Yahoo [Bot] and 3 guests