Collision Mask Won't Update - Bug?

For questions about using Classic.

Post » Sun Mar 21, 2010 7:51 pm

I have a door-type sprite with a few frames of animation for opening, then reversed in another animation for closing. The final frame for opening and the first for closing is a blank frame. Whenever the player is touching the door while it plays its opening animation, the collision mask will stay at one of the frames before the empty one. It still shows the empty frame, but the player sprite hits it like its one of the frames from the door opening. I think its the one just before it, but I'm not sure. I believe this is a bug as I don't have anything affecting this. It just plays the animation when I click the mouse (just for testing) and closes when I hit space bar. It works fine if the player was not touching the door when it opened.

Is anyone else having this bug?
B
2
S
2
G
2
Posts: 372
Reputation: 1,794

Post » Tue Mar 23, 2010 10:34 pm

I'm not sure I understand what's going on from your post. You should post a .cap so someone can take a look at what's going wrong.
Moderator
B
5
S
2
G
6
Posts: 4,348
Reputation: 10,971

Post » Wed Mar 24, 2010 12:31 am

@deadeye

Seems the system isn't using each frames collision mask, its using a mask from a random frame, and not switching when the frame does.

You know the bug where a sprite could sometimes fall through platforms as well as solids?
This is probably the reason why.
Image Image
B
161
S
48
G
90
Posts: 7,347
Reputation: 66,749


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 2 guests