For the end credits, we see the castle help moving the mattresses around, and then the camera zooms in on one of them, and the names and credits are printed on the mattresses. The process is repeated throughout all the credits.
For the opening sequence, the viewer watches a closeup shot of a hand adding finishing touches to a cartoon drawing of the princess, and the title and then names are superimposed on the drawing. These drawings are also used to introduce or end different segments; for instance, when the king and prince have their man-to-man talk, the drawing is of the two. Sometimes the hand is still making changes, as when night is falling and most of the characters are going to sleep and the princess stays up studying, we see a drawing of the castle and the hand blacks out the windows, one at a time, finally leaving the window of the princess to be the only one that is lit.