Slope Headache

Get help using Construct 2

Post » Mon Oct 24, 2011 9:18 pm

Hi guys. Looking for a little help with this.

I'm doing some tests with slopes, but as you can see from the .capx, the ball doesn't follow the collision mask line (as far as I can tell). Am I losing my mind or is something fundamentally wrong with the way this is set up.

Any help or suggestions are gratefully received.

.capx is HERE.

zen
If your vision so exceeds your ability, then look to something closer.
Moderator
B
120
S
28
G
68
Posts: 4,850
Reputation: 48,301

Post » Mon Oct 24, 2011 10:11 pm

Hi,

I think it's maybe about rotating the sprite ! the angle you gave them

I have made some comparison with my project and this is the only difference I can see !

here is my modification

http://dl.dropbox.com/u/27306923/Construct%20public/example-rotate-sprite.capx
B
15
S
6
G
2
Posts: 34
Reputation: 2,122

Post » Mon Oct 24, 2011 10:31 pm

Digging into it !

I think it may have to be with your images !

Maybe it has to be with original size or with format !

I only use png and it works ! I use larger size image that I resize on the layout !

with a triangle png file I made quickly :

http://dl.dropbox.com/u/27306923/Construct%20public/example-rotate-sprite2.capx
B
15
S
6
G
2
Posts: 34
Reputation: 2,122

Post » Mon Oct 24, 2011 10:33 pm

I see what you've done :)

The thing is, this shouldn't be necessary, as it means the sloped sprites are effectually useless. Surely the platform sprite should follow the collision line of the sprite it is in contact with, or am I mistaken in my reasoning?
If your vision so exceeds your ability, then look to something closer.
Moderator
B
120
S
28
G
68
Posts: 4,850
Reputation: 48,301


Return to How do I....?

Who is online

Users browsing this forum: Zebbi and 26 guests