I'm developing a learning game using C ++ with SDL2, and I want to check when my character touches the floor. For this I created the class "Collider", with the following function (adapted):
bool isCollinding (SDL_Rect a, SDL_Rect b)
{
if(a.x...
asked by
02.06.2017 / 03:49