Does panda3d hava classes and methods to support 2d graphics?
like sprites, tileimages and 2d collisions?
can´t find any class or emthods in the documentation
thanks
Does panda3d hava classes and methods to support 2d graphics?
like sprites, tileimages and 2d collisions?
can´t find any class or emthods in the documentation
thanks
You can do 2-d graphics in Panda, you just don’t use the third dimension. We don’t use the traditional 2-d names for these things, though.
A “sprite” is just a polygon with a texture on it. A tileimage is a bigger polygon with a repeating texture on it. The 3-d collision system works just fine in a planar environment.
Note that, in Panda, you’re always using the hardware graphics card; you’re not using traditional Windows pixel-based GUI calls. So it’s not quite the same thing that a purely 2-d graphics library would be likely to do for you.
David