The invention relates to a method for editing and controlling the shadow play performing of an intelligent robot. A shadow play can be controlled by a mechanical device, which is single in performing action and is not attractive. The method comprises the following steps of: step 1, editing actions in advance by using animation shadow puppet characters based on two-dimensional pictures; step 2, converting movement tracks of the two-dimensional picture characters into steering engine movement data of a shadow puppet robot by using the point-point space mapping algorithm; step 3, arranging and adjusting the steering engine movement data generated from the step 2 according to played music when the shadow play is performed, and simultaneously editing the control data of a movement control module; step 4, further adjusting and optimizing data arranged in the step 3 by the BPM (beam-propagation method) detection algorithm and self-coupling algorithm; and step 5, carrying out common play and improvisation. According to the method, a system is stable in running, the character control is flexible, the responding is fast, the accuracy is high, and modern entertainment elements are added, so that the method actually plays a heritage role on the shadow play.