Restoration of 2D games