Demonstration of collision for a top-down scrolling game. Bounciness can be removed, see the commented blocks in the Level sprite.