Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Game Development Patterns with Unity 2021 - Second Edition

You're reading from  Game Development Patterns with Unity 2021 - Second Edition

Product type Book
Published in Jul 2021
Publisher Packt
ISBN-13 9781800200814
Pages 246 pages
Edition 2nd Edition
Languages
Author (1):
David Baron David Baron
Profile icon David Baron

Table of Contents (22) Chapters

Preface 1. Sections 1: Fundamentals
2. Before We Begin 3. The Game Design Document 4. A Short Primer to Programming in Unity 5. Section 2: Core Patterns
6. Implementing a Game Manager with the Singleton 7. Managing Character States with the State Pattern 8. Managing Game Events with the Event Bus 9. Implement a Replay System with the Command Pattern 10. Optimizing with the Object Pool Pattern 11. Decoupling Components with the Observer Pattern 12. Implementing Power-Ups with the Visitor Pattern 13. Implementing a Drone with the Strategy Pattern 14. Using the Decorator to Implement a Weapon System 15. Implementing a Level Editor with Spatial Partition 16. Section 3: Alternative Patterns
17. Adapting Systems with an Adapter 18. Concealing Complexity with a Facade Pattern 19. Managing Dependencies with the Service Locator Pattern 20. About Packt 21. Other Books You May Enjoy

Character states

The following section outlines the primary character/vehicle states:

  • Idle: The idle state of the vehicle is an animation cycle that shows the chassis vibrating from the roaring engine and the taillights blinking.
  • Speeding: The speeding state has an animation cycle of the wheels turning.
  • Slowing: The slowing animation slows down the wheels and flashes the taillights.
  • Turning: The turning state has an animation of the vehicle tilting and moving toward the direction of the nearest track.
  • Braking: The braking animation will make the vehicle tilt and slide sideways on a forward trajectory. This state is activated only once the player crosses the finishing line.
  • Shaking: The shaking animation rises in intensity as the handling capacity of the vehicle is reduced at top speeds.
  • Flipping: The flipping animation flips the vehicle forward when it collides with a roadblock obstacle.
  • Sliding: The sliding animation turns the vehicle sideways and slides in a forward...
lock icon The rest of the chapter is locked
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 €14.99/month. Cancel anytime}