O'Reilly logo

GameSalad Essentials by Miguel DeQuadros

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Adding emotion to the scene

There are a few things in the scene that I added that we didn't discuss. For example, the background image has a Play Music behavior which has a nice, soft cheery tune. Then a timer after 8 seconds; it changes the color of the actor from the blue sky to an ominous purple. To do this, simply add in three Change Attribute behaviors and change each self.color.blue(.green(.red)) to whatever value you like. Another thing I love about GameSalad: Even the color changing is powerful! After that, I added a new Play Music behavior to make it more ominous.

We now have to get our hero Kevin run off screen after Dominic gets kidnapped.

Open up our Kevin actor in the scene, and simply add in two Timer behaviors: the first one will ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required