A newer Beginner's Tutorial

Hello guys,
i’m new to Panda3d and follow the easy simple Tutorial from:

It’s look like a good tutorial, but inside Lesson 2 he will use some *.egg file with the name:
– Models/PandaChan/act_p3d_chan –

but in the newest version 1.10.6 this and other files doesn’t exist.

Did any body knows, where i will find this files, to complete the tutorial.

thx
your tanto

You can use other models as replacements, for example:

self.tempActor =  Actor('models/panda-model.egg', {
    'walk': 'models/panda-walk4.egg',
})

“panda-model.egg” model file and “panda-walk4.egg” animation file are included in engine.

thank you, i will try :wink:

You can download that model here:

Other models referenced in the tutorial can be found here:

1 Like

thanks to both

greets

Hi @all,
i have a new question, i try the tutorial, but in lesson 7 will create classes and everytime he write about a global variable called base, but i doesn’t find the variable
i search in the API, but nothing
if anybody knows where i can search or something like this?

thx

You can take a look here:
https://docs.panda3d.org/1.10/python/programming/showbase#showbase

Hi,
is it possible that the tutorial doesn’t work with the panda3d version 1.10.6 ?
he speak every time from the variable ‘base’ but this produce every time an exception if i use it

the tutorial is very nice, that’s why i will do it until the last lesson

thx

from direct.showbase.ShowBase import ShowBase

class Game(ShowBase):
    def __init__(self):
        ShowBase.__init__(self)

game = Game()
game.run()

Pay attention.

ShowBase.__init__(self)

If you forget this line, base will not be available.

That you weren’t confused.

base.disableMouse()

and

self.disableMouse()

Equivalent entry, but this is also available after:

ShowBase.__init__(self)

1 Like

this line to initialize i have,
but i found some other mistakes in my code

sorry
@all

thx
serega-kkz

1 Like