Zeorymer44
Member
Okay, I was trying to make a slope by using move_contact_solid, and it works perfectly fine with objects with sprites made with Game Maker
However when I use the very same object, setting its sprite with the ones I loaded with json files made with Spine, the move_contact_solid code wouldn't work properly with rotated objects, or ones with precise collision.
So in the end this happens.
I have 2 objects A and B-
A is an object with the sprite I made with Game Maker,
while B is an object with the sprite I loaded with Spine json files
And when I do this;
Create :
move_contact_solid(270,1000)
A properly collides with the solid objects according to its current mask, but the B seem to be colliding with thin air.. I mean, the solid object's original collision box before it rotated.
Oh and setting precise collision would make B fall through the solid object while the black ones don't.
The only difference between A and B are the sprites - not masks -
and I don't get why this is happening.
Any solutions?
However when I use the very same object, setting its sprite with the ones I loaded with json files made with Spine, the move_contact_solid code wouldn't work properly with rotated objects, or ones with precise collision.
So in the end this happens.
I have 2 objects A and B-
A is an object with the sprite I made with Game Maker,
while B is an object with the sprite I loaded with Spine json files
And when I do this;
Create :
move_contact_solid(270,1000)
A properly collides with the solid objects according to its current mask, but the B seem to be colliding with thin air.. I mean, the solid object's original collision box before it rotated.
Oh and setting precise collision would make B fall through the solid object while the black ones don't.
The only difference between A and B are the sprites - not masks -
and I don't get why this is happening.
Any solutions?
Last edited: