You might be thinking of Minecraft, with its sprawling, procedurally generated worlds full of islands and terrain to explore.
Another strong candidate is Poptropica, the browser-based adventure game built entirely around exploring a series of islands. The main difference is that Minecraft is a fully 3D experience, while Poptropica plays out in a more stylized 2D world.