Collision detection with complex shapes
..there will be complex corners and not everything will be rectangle. This could be achieved by drawing and dealing with Shape and Area instances. E.G. Yellow is a little animated ‘player’. The bounds of the image represent walls that contain the path of the player (it bounces off them). Obstacles are painted green when not … Read more