................../// top of boy touches bottom of platform AND he's jumping
collideType = 2;
when he jumps against a platform from underneath it (“top of boy touches bottom of platform”), then yspd
WAS negative and should get positive now in the function boycollision
?
When he FALLS (“bottom of boy touches top of platform”) and lands on a platform yspd
WAS pos and should get 0 now in the function boycollision
?
I am not sure why you check for yspd==0
though