Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

how do i do that?

Find the coordinates of the sprites ie top right, top left, bottom right, bottom left corners. Then check whether any of those points overlap. Here's a tutorial on it that should be helpful. https://developer.mozilla.org/en-US/docs/Games/Tutorials/2D_Breakout_game_pure_J...