Dance games are a type of rhythm games, in which the player steps on buttons on a dance pad, following the beat of a song. In these games, the learning curve for the novice player can be steep, because they rarely offer any explanation of how the player should actually move on the dance pad. Even for the experienced player, interpretation of patterns in the harder songs can be tricky.
In this master's thesis, we describe the design and implementation of an animated tutor character for dance games. The character will dance to a particular song in the game, demonstrating how the step patterns for the song are played. A person playing the game can then learn to perform the song by following the demonstration.
The dancer character is animated with procedural animation techniques, including inverse kinematics and PID control. Additionally, we describe an artificial intelligence for dance games, which drives the moves of the dancer.
Tanssipelit ovat eräs rytmipelien tyyppi, jossa pelaaja askeltaa tanssialustalla ja painaa siinä sijaitsevia nappeja, seuraten rytmejä musiikkikappaleessa. Tanssipelien oppimiskäyrä voi olla aloittelevalle pelaajalle korkea, koska pelit harvoin sisältävät mitään opastusta siitä, kuinka pelaajan oikeastaan tulisi liikkua tanssialustalla. Kokeneellekin pelaajalle vaikeampien kappaleiden askelkuvioiden tulkinta saattaa olla konstikasta.
Tässä diplomityössä kuvaamme, kuinka tanssipelin animoitu opastehahmo suunnitellaan ja toteutetaan. Hahmo tanssii pelissä olevan kappaleen tahtiin, ja näyttää kuinka kappaleen askelkuviot tulee pelata. Peliä pelaava henkilö voi opastehahmoa seuraamalla oppia pelaamaan kappaleen.
Tanssijahahmo on animoitu proseduraalisilla animaatiotekniikoilla, kuten käänteiskinematiikalla ja PID-ohjauksella. Lisaksi työssä kuvataan, kuinka toteutetaan tanssipelejä pelaava tekoäly, joka ohjaa tanssijahahmon liikkeitä.