Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Arrow up icon
GO TO TOP
Panda3D 1.6 Game Engine Beginner's Guide

You're reading from   Panda3D 1.6 Game Engine Beginner's Guide This is the A-Z of Panda3D for developers who have never used the engine before. Step-by-step, it takes you from first principles to ultimately creating a marketable game. You‚Äôll learn through first-hand experience and clear explanations.

Arrow left icon
Product type Paperback
Published in Feb 2011
Publisher Packt
ISBN-13 9781849512725
Length 356 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Toc

Table of Contents (22) Chapters Close

Panda3D 1.6 Game Engine
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
1. Installing Panda3D and Preparing a Workspace 2. Creating the Universe: Loading Terrain FREE CHAPTER 3. Managing Tasks Over Time 4. Taking Control: Events and User Input 5. Handling Large Programs with Custom Classes 6. The World in Action: Handling Collisions 7. Making it Fancy: Lighting, Textures, Filters, and Shaders 8. GUI Goodness: All About the Graphic User Interface 9. Animating in Panda3D 10. Creating Weaponry: Using Mouse Picking and Intervals 11. What's that Noise? Using Sound 12. Finishing Touches: Getting the Game Ready for the Customer Creating a Sky Sphere with Spacescape Using Egg-Texture-Cards and ExploTexGen Pop quiz Answers Index

Chapter 4. Taking Control: Events and User Input

In addition to tasks, we have one more system in Panda3D that we can use to control dynamic elements in our game: events. In this chapter, we're going to use events and tasks to set up our cycle so that the player can move it around the track. We're also going to set up some important rules for our cycle's movement, such as acceleration and simulating drift.

This is what we'll talk about:

  • Working with events

  • Using keyboard events

  • Implementing advanced cycle controls

  • Utilizing mouse input and creating camera control

  • Ending event response

The event system is vital to making our game respond to anything other than the passage of time. It's not too complicated, but we still need to pay attention and make sure we don't miss anything!

lock icon The rest of the chapter is locked
Visually different images
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Panda3D 1.6 Game Engine Beginner's Guide
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at ₹800/month. Cancel anytime
Modal Close icon
Modal Close icon