O'Reilly logo

Panda3D 1.6 Game Engine by Dave Mathews

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

Chapter 3: Managing Tasks Over Time

The task manager

Question number

Answer

1

The task manager, called taskMgr.

2

taskMgr.add() executes the task immediately. taskMgr.doMethodLater() gives the task a delay.

3

We can see a list of the tasks in the command prompt by printing the task manager with print(taskMgr).

Delta time

Question number

Answer

1

Delta Time is "change in time" or the amount of time that has passed since the last frame.

2

We use Delta Time to make changes in our game time-based instead of frame-based, so that the change rates are constant regardless of frame rate.

Delta time Task return options

Question number

Answer

1

task.cont, task.again, and task.done.

2

task.done

3

task.again

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