Bug found on the character collision
Página 1 de 1
Bug found on the character collision
To solve the problem on the character collision:
Click on code, and when it opens the notepad ++ open the file player.cpp inside the folder mygame on the line 137
Replace
SDL_Rect destrect={j*32-baseclass::coord.x+12,i*32-baseclass::coord.y,4,4};
for:
SDL_Rect destrect={j*32-baseclass::coord.x+12,i*32-baseclass::coord.y,16,32};
Save and compile it again.
Click on code, and when it opens the notepad ++ open the file player.cpp inside the folder mygame on the line 137
Replace
SDL_Rect destrect={j*32-baseclass::coord.x+12,i*32-baseclass::coord.y,4,4};
for:
SDL_Rect destrect={j*32-baseclass::coord.x+12,i*32-baseclass::coord.y,16,32};
Save and compile it again.
Página 1 de 1
Permissões neste sub-fórum
Não podes responder a tópicos