Video Thumbnail

Sign up for a plan to instantly unlock all premium lessons.

UNLOCK LESSON

Premium Features

Download Video

Change ghosts to blue when scared

Published 5 months ago

Now that we're using sprites for our ghosts, we need to re-add some functionality that turns our ghosts "blue." The blue ghosts represent a scared state, something that's still active within our game (we can still eat the ghosts when a power up is obtained), but we're missing the visual indicator that touching a ghost won't hurt us anymore.

Here we're going to swap our ghosts' sprites with a new, blue sprite that I created behind the scenes.

To download this sprite, click the "Video Source Code" button above and click the download button associated with the sprite image in the GitHub commit.

Comments

Want to participate?

Create a free Chris Courses account to begin

Login
m
mozartlee28 posted 5 months ago
1

Providing the lift to launch your development career

© 2024 Chris Courses. All rights reserved.