This study used a role playing game (RPG) to develop a situational digital animation teaching material system for information management courses, which involves "virtual currency", "third-party payment", "cryptography", "information security", "hacking", and other information related knowledge. It is expected to improve students' learning motivation and develop their professional knowledge and learning efficiency. The research subject is junior students in universities. During the course teaching, students focus on animation learning and reading on computers and then take tests. Regarding the adaptability of animation textbooks, the average accuracy rate of 54 learners is 79%, with a high achievement rate of 59% and a low achievement rate of 7%. The students hold a positive attitude towards digital game-based learning materials, and their learning motivation has improved. Moreover, it is believed that learning the knowledge related to information management contributes to their future. The situational digital animation teaching material system also has a good effect on student learning.