Nice!
To get it working (Panda3D 1.7, MacOS X 10.5.8 Leopard, 2008 MacBook with lame Intel GMA X3100 graphics), I added a line “_predelta=False” after “_pre_moy=0”
The specific error:
File "...easyinput.py", line 214, in _read_mouse
elif self._predelta:
AttributeError: easyinput instance has no attribute '_predelta'
…
Also, just FYI, some assertions and exceptions:
$ ppython pong3dglo.py
[WARNING] Pygame module not present
Known pipe types:
osxGraphicsPipe
(all display modules loaded.)
Assertion failed: !is_empty() at line 1984 of built/include/nodePath.I
Exception occurred while processing Func-intermessage-10 of Sequence-1:
Sequence-1:
0.000 Sequence-1 {
0.000 *Func-intermessage-1
0.000 *Func-playeffect-2
0.000 Wait dur 1.5
1.500 *Func-intermessage-3
1.500 *Func-playeffect-4
1.500 Wait dur 1.5
3.000 *Func-intermessage-5
3.000 *Func-playeffect-6
3.000 Wait dur 1.5
4.500 *Func-intermessage-7
4.500 *Func-playeffect-8
4.500 Wait dur 1.5
6.000 Wait dur 3
9.000 *Func-intermessage-10
9.000 Wait dur 1
10.000 *Func-<lambda>-9
10.000 }
Traceback (most recent call last):
File "dstroot/pythoncode/Developer/Panda3D/lib/direct/showbase/ShowBase.py", line 1634, in __ivalLoop
File "dstroot/pythoncode/Developer/Panda3D/lib/direct/interval/IntervalManager.py", line 96, in step
File "dstroot/pythoncode/Developer/Panda3D/lib/direct/interval/IntervalManager.py", line 124, in __doPythonCallbacks
File "dstroot/pythoncode/Developer/Panda3D/lib/direct/interval/MetaInterval.py", line 505, in privPostEvent
File "dstroot/pythoncode/Developer/Panda3D/lib/direct/interval/MetaInterval.py", line 481, in __doPythonCallbacks
File "dstroot/pythoncode/Developer/Panda3D/lib/direct/interval/Interval.py", line 207, in privDoEvent
File "dstroot/pythoncode/Developer/Panda3D/lib/direct/interval/FunctionInterval.py", line 88, in privInstant
File ".../pong3d/pong3dgpl.py", line 457, in intermessage
self.text['cmsg'].hide()
AssertionError: !is_empty() at line 1984 of built/include/nodePath.I
:task(error): Exception occurred in PythonTask ivalLoop
Traceback (most recent call last):
File "pong3dglo.py", line 223, in <module>
run()
File "dstroot/pythoncode/Developer/Panda3D/lib/direct/showbase/ShowBase.py", line 2531, in run
File "dstroot/pythoncode/Developer/Panda3D/lib/direct/task/Task.py", line 496, in run
File "dstroot/pythoncode/Developer/Panda3D/lib/direct/task/Task.py", line 454, in step
File "dstroot/pythoncode/Developer/Panda3D/lib/direct/showbase/ShowBase.py", line 1634, in __ivalLoop
File "dstroot/pythoncode/Developer/Panda3D/lib/direct/interval/IntervalManager.py", line 96, in step
File "dstroot/pythoncode/Developer/Panda3D/lib/direct/interval/IntervalManager.py", line 124, in __doPythonCallbacks
File "dstroot/pythoncode/Developer/Panda3D/lib/direct/interval/MetaInterval.py", line 505, in privPostEvent
File "dstroot/pythoncode/Developer/Panda3D/lib/direct/interval/MetaInterval.py", line 481, in __doPythonCallbacks
File "dstroot/pythoncode/Developer/Panda3D/lib/direct/interval/Interval.py", line 207, in privDoEvent
File "dstroot/pythoncode/Developer/Panda3D/lib/direct/interval/FunctionInterval.py", line 88, in privInstant
File ".../pong3d/pong3dgpl.py", line 457, in intermessage
self.text['cmsg'].hide()
AssertionError: !is_empty() at line 1984 of built/include/nodePath.I