The research aims to explore the application of gamified learning experience based on digital media and virtual teaching robots in dance teaching. A virtual teaching robot system is designed, which combines technologies such as 3D motion capture, pose calculation, loss function constraint, and similarity matching. Through methods such as bone orientation, digital media audio-visual synchronization, and analysis of robot motion effects, virtual teaching robots have been able to present dance movements. Integrating virtual teaching robots into the teaching process through gamified learning methods. By introducing elements such as tasks, challenges, and rewards into learning, it is possible to stimulate students’ interest and enthusiasm in learning, and improve learning outcomes. The application of digital media based virtual teaching robots in dance teaching has a good effect. The overall structure of the system is reasonable, and the application of virtual reality technology allows students to learn dance firsthand. Through the analysis of skill teaching effectiveness and comprehensive teaching effectiveness, it was found that students have better participation and learning outcomes when learning dance through virtual teaching robots. The implementation of this system can enhance students’ learning enthusiasm and effectiveness, providing a new way for innovation in dance teaching.