The Journey to Melonia (1989)
The Journey to Melonia is a 1989 Swedish-Norwegian animated fantasy adventure film directed by Per Åhlin, very loosely based on William Shakespeare's The Tempest. It was Per Åhlin's first fully animated feature film, since his earlier films Out of an Old Man's Head and Dunderklumpen! had both used a mix of animation and live action. The full English title is The Journey to Melonia: Fantasies of Shakespeare's 'The Tempest'.
More at Wikipedia.