Hi again everyone,
This week we improved on our Ghostcatcher game from last week.
We introduced two new concepts which we haven’t used before, animation and broadcasting.
Using a simple technique of changing between costumes and having a waiting time we can animate our Sprites. In our case, we animated the Ghosts so they were blinking or sticking out their tongue. You could of course use this technique to have a sprite look like they are walking etc.
We also then had our first introduction to Broadcasting, which is a way of exchanging data/messages between our sprites.
We used Broadcasting to send a message from the Ghosts (that they have been eaten) to be received by the Pacman, who then will change costumes i.e. Open and close its mouth.
Hope you all enjoyed the session and we will be using animation and broadcasting over the next couple of months.
Here are this weeks notes in PDF CDA-S4-Week_04-BetterGhostCatcher.pdf
Hope I see a lot of you next week in NUI, Galway, it should be a great day!!