Chapter 6. 2D Elements and User Interfaces

In this chapter, we will cover:

  • Rendering text to the screen
  • Rendering images to the 2D layer
  • Playing a movie file
  • Creating an interactive user interface
  • Making the user interface data-driven using XML

Introduction

Apart from its 3D rendering capabilities, the Panda3D engine also has features for drawing two-dimensional graphics. This may be useful if you want to build a simple, side-scrolling platformer, but also when creating spectacular 3D action games. Score overlays, head-up displays, and movie clips all need the engine to draw "flat" to the screen, which is exactly what you will be learning over the course of this chapter.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset