Fantastic Beings and How to Match Them. Stage 7/7

Bonus stage

Report a typo

Description

Our game is already playable — it challenges a player; they can win or lose. Let's add another layer of magic and fill our program with sounds and animations.

At the final stage, add sound clips for selecting a creature and the disappearance of matched creatures. Also, add animations when the cursor hovers over creatures and when creatures disappear.

Objectives

We have prepared sounds and frames — make sure you've downloaded this archive.

  • Play click.wav when a player selects a creature. Do not play this when a player clicks on non-adjacent cells;

  • Increase the picture size of a creature by 10% when a player hovers over it. The transformation should take 500 milliseconds;

  • Play match.wav when the matched creatures disappear;

  • Add an animation from keyframes when a creature disappears. The animation duration is 800 milliseconds.

The points above are only wishes and ideas for witchcraft! You can add any other effects that come to your mind to your game, because this is a bonus stage :)

Example

Example 1: gameplay with tricks and magic

 Fantastic Beings and How to Match Them: gameplay with tricks and magic

Write a program
IDE integration
Checking the IDE status
___

Create a free account to access the full topic