RANDOM USER PROJECTS
Disney's Pirates of the Caribbean Online
Epoch: a space combat game
Super Duper Mario Bros: a cool variant of an old classic

Panda3D Manual: Sample Programs: Boxing Robots

The Boxing Robots Sample Program

To run a sample program, you need to install Panda3D. If you're a Windows user, you'll find the sample programs in your start menu. If you're a Linux user, you'll find the sample programs in /usr/share/panda3d.

Screenshots

Screenshot-Sample-Programs-Boxing-Robots.jpg

Explanation

This tutorial will show how to play animations on models aka "actors". We will base this world on a the popular game of "Rock 'em Sock 'em Robots".

Actors are specific models that come with some pre-generated animations. These animations are either available in the same egg file as the model or they are available as their own egg files. Only actors may play these animations, and actors also come with their own set of functions to use. Actors behave almost identically to models but use a different load command called Actor.Actor(). For more information on actors, please consult the Panda3D online manual.

The image above shows the tutorial in action. Use the A,S,K,L keys to make the robots punch and thus triggering their animations.

Back to the List of Sample Programs:

Sample Programs in the Distribution