There's a collision example. Also, if you're using sprites, you do collision the same was as in 2D Gdev: Separate Objects.