Changing Frames per Second

I saw this thread linked from another and thought I’d make a similar post here just in case anyone with a similar problem misses that thread.

You could also start a periodic task in this manner:

def myPeriodicFunc(task):
    print '60 seconds have elapsed'
    return task.again

taskMgr.doMethodLater(60, myPeriodicFunc, 'myPeriodicFunc')

It’s a little cleaner since this keeps just a single task running without spawning a new one at the completion of the previous one.

As for Panda being dead or not, it’s most certainly not dead. One point of confusion may be the difference between the actively developed code and the binary releases from CMU. Improvements and updates go into the Panda source on a daily basis. However, the pre-built binaries are only updated when the good people over at CMU feel it’s necessary and prudent to push a new “numbered” release.

You could actually build it all from the source yourself, like the CMU distribution team does, if you wanted to get the very latest developments, but that’s a bit of a chore at the moment for newcomers to the project and most people do well enough with the binary releases.