(04-08-2018, 02:34 AM)Hypernova Wrote: Since I am not able to DM you (Error message: Existant has private messaging disabled. You cannot send private messages to this user.), I'll just post an alternative solution here:
Code:if (collision_rectangle(bbox_left,bbox_bottom-4,bbox_right,bbox_bottom,obj_slopeparent,1,0))
{
do
{
y--;
}
until !(collision_rectangle(bbox_left,bbox_bottom-4,bbox_right,bbox_bottom-1,obj_slopeparent,1,0))
}
else if (collision_rectangle(bbox_left,bbox_bottom+1,bbox_right,other.bbox_bottom+32,obj_slopeparent,1,0))
{
do
{
y++;
}
until (collision_rectangle(bbox_left,bbox_bottom-4,bbox_right,bbox_bottom,obj_slopeparent,1,0))
}
And this time it worked!
Thanks for your big help!
I was trying to fix that problem like in 2 months!