How do I Fix This Collision Problem

Get help using Construct 2

Post » Fri Apr 24, 2015 9:34 pm

Hopefully this is the correct place for this question. But I'm almost positive this should be working... I've assigned the 'Solid' behavior to my Ground tileset sprites and all of it's instances and then the 'Platform' behavior to my Player character sprite but when I test the game, the Player goes through the ground tiles slightly and I can't for the life of me figure out why.

The sprites seem to be correct in their bounding box in the image editor so any help would be appreciated! I'll attach the capx file below. Am I missing something here?

https://drive.google.com/file/d/0B_fsFsHtHjNqS2VHZUZWUDk0YkU/view?usp=sharing
B
5
Posts: 19
Reputation: 263

Post » Fri Apr 24, 2015 9:59 pm

I downloaded your file and opened it up to take a look. The first I looked at was the sprites collision polygon. The entire polygon has been pushed to the left side of the sprite and a little above the base. In your post you said,
The sprites seem to be correct in their bounding box in the image editor...


I am not sure what you looked at but, the collision polygon is the problem. Open the image editor and select the bottom item in the left side menu. It looks like a bunch of dots connected by lines and will say "Set collision polygon" when you hover over it.
B
38
S
12
G
11
Posts: 331
Reputation: 7,712

Post » Fri Apr 24, 2015 10:01 pm

Well, I certainly feel dumb. Haha. I've only really looked over the initial tutorials and wasn't introduced to that feature in the image editor. Haha. Thanks!
B
5
Posts: 19
Reputation: 263


Return to How do I....?

Who is online

Users browsing this forum: Sparkz and 3 guests