Chodec974
Member
Hi, I'm dealing with a mysterious ghost with sprites. I have a spaceship that uses a precision collision mask. I also have three types of asteroids obj_AsterLarge, obj_AsterMedium, obj_AsterSmall, which also use a precision (per frames) collision mask. Each type of asteroid has 4 frames, which I randomly assign when creating an instance.
Everything seems to work flawlessly (left picture), but it doesn't (right picture). For all sprites, there is one specific empty space in the lower left corner that causes a collision with the ship. I originally thought, ha, an unwanted pixel in graphics, but no no. The graphics are fine. Interestingly, all sizes and all asteroid frames do this, a total of 12 (4 frames × 3 objects).
I tried to set the collision as an ellipse. Also tolerance at 128. It didn't help. Always the lower left corner will cause a collision and the ship will explode. Please, do you have advice for me? Thank you.
Everything seems to work flawlessly (left picture), but it doesn't (right picture). For all sprites, there is one specific empty space in the lower left corner that causes a collision with the ship. I originally thought, ha, an unwanted pixel in graphics, but no no. The graphics are fine. Interestingly, all sizes and all asteroid frames do this, a total of 12 (4 frames × 3 objects).
I tried to set the collision as an ellipse. Also tolerance at 128. It didn't help. Always the lower left corner will cause a collision and the ship will explode. Please, do you have advice for me? Thank you.