Video Thumbnail

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

UNLOCK LESSON

Premium Features

Download Video

Ghost Delta Time

Published 6 months ago

We cleared up Pacman's movement for varying refresh rates, but we've yet to take care of things for our ghosts. To ensure our ghosts move at a standard rate regardless of a monitor's refresh rate, we need to implement some of the same functionality we added for Pacman, then refactor our collision detection and pathway finding mechanism to take into account a dynamic velocity.

In this lesson, I'll teach you every little thing you need to know to achieve that while making our code more readable and easier to understand.

I'll also show you how to animate Pacman's chomping mechanism at a consistent rate as a bonus.

Comments

Want to participate?

Create a free Chris Courses account to begin

Login

No comments yet, be the first to add one

Providing the lift to launch your development career

© 2024 Chris Courses. All rights reserved.