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
All 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
Practical Game AI Programming

You're reading from   Practical Game AI Programming Unleash the power of Artificial Intelligence to your game

Arrow left icon
Product type Paperback
Published in Jun 2017
Publisher Packt
ISBN-13 9781787122819
Length 348 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
 DaGraça DaGraça
Author Profile Icon DaGraça
DaGraça
Arrow right icon
View More author details
Toc

Smooth transitions


Another important aspect that is worth mentioning is the smooth transition between animations. It is very important to maintain the integrity of the animations, so that every action performed by the character looks fluid, helping the virtual immersion of the player.

On this subject, 2D and 3D animations have considerable differences. If we are using 2D sprites, we need to draw the necessary frames that will be used for every transition, and every time we want the character to change from one animation to another, the transition animation will be played.

On the other hand, with 3D characters we can use the bone structure to create the transitions automatically, where the coordinates for each bone will move from the previous animation to the new one. Even if we choose to use the bone structure to help create the transitions, sometimes it might be necessary, or it would be a better option, to manually create new animations that will be used as transitions. This is a common...

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
Visually different images