SlideShare a Scribd company logo
Awesome 2D game animations
with Spine
ALVISS HA
Lead Designer, VINOVA Pte. Ltd
alviss@vinova.sg
“Here comes the greatest creative beast
Let’s tame it, my brave warriors!!!”
Anime studio 9
“A precious 2D animation charm
we’ve mastered thousand years ago
In combat, it generates
frame-based animation”
Train, team needs to train
Here, my warriors,
practice with these
cute monsters
You gotta be
Kidding me
1st game: Gasboy
Gasboy Animations
• 1 character
• 1 animation
• 15 frames
• Size on disk: 90KB
2nd Game: God’s Rage
God’s Rage Animations
• 1 character
• 17 animations
• 402 frames
• Size on disk: 1.3MB
Happy with frame-based animation
Dozen of characters, smooth
animations
BOSSes EAT Too much disk & RAM!
“One boss and we’re starving already.
Frame-based animation
won’t make it”
Bosses EAT Too much disk & RAM!
Frame-based animation vs
Modular animation
• “Old-time” technique
• Easy to produce
• Inflexible
– Changes require recompile
– Take more space as
animation gets more
complex
• Expensive trick used in 2D
games with bigger budgets
• Flexible
– Animations compiled as
plain text
– Smooth animation with little
disk usage
• No public tool for 2D games
yet :(
“Spine, We’ve been watching you”
“Your Majesty, the charm named Spine
by Nathan Sweet got ready to produce
2D skeletal animations for game
which is modular animation bonus
programmable ability”
Spine does one thing and does it
perfectly
Feature Spine Anime Studio Flash
Easy to master v
Separate Rotate, Translate, Scale v v
Key-framing at bone level v
Interpolation curve v v
Import PSD layers v v
Work with Vector image v v
Inverse Kinematics (planed
)
v v
Animators love it!
Interpolation curveBone-level key-framing
Great key-framing
system
Clean, elegant
UI
JSO
N
1
2
3
4
5
6
workflow
but,
does it solve the
proble
m
of storage & memory usage
Yes, it does!
FRAME-BASED animation SPINE animation
Smoother animation with half storage & memory usage!
700KB on disk
2.5MB on RAM
300KB on disk
1.2MB on RAM
Oh,
it’s also
FLEXIBLE
&
PROGRAM
MABLE
FLEXIBLE: Run-time auto-generated animation
transition
Without transition With transition
Programmable: animation procedural
Captured from project http://github.com/EsotericSoftware/spine-workshop
Programmable: Combine with physic engine
Cool!
But here comes the
trade off
Need more computation at run-time
Benchmark: display a walking character multiple times on screen
• Environment: XCode 4.5, cocos2d-x 2.1.2
• Device: iPhone 4S running iOS 6
Need more computation at run-time
0
50
100
150
200
250
300
25 50 75 100 125 150 175 200
Framepersecond(FPS)
Number of characters on screen
Frame-based
animation
Skeletal-based
animation
60FPS
Doesn’t replace frame-based animation
• Spine is great 2D skeletal animation tool
• Flexible, programmable, smooth & small
• But need more computation at run-time
Should use both animation methods in game
Should use both animation methods in
game
Frame-based animation for
small characters
Skeletal-based animation for
huge characters
and/or those need
detailed, complex animations
Thank you
It’s Q/A time ;)
info@vinova.sg
Why choose spine over spriter?
• Right tool:
– Slicker & friendlier GUI
– Export format: JSON (Spine) vs XML (Spriter)
– Interpolation curve
• Right time:
– Spine app works great when we try it out (March 2013)
– Usable cocos2d-x runtime right when we needed it (April 2013)
• Right team:
– Nathan Sweet is also the author of libGDX
– Fast development:
• Spine started 1 year later (early 2013 vs early 2012)
• But ecome usable sooner, support more platforms faster:
cocos2d-x, cocos2d-iPhone, Unity, libGDX, Starling, XNA, Flash…
– Open to the community: very fast pull-request merging cycle (within
hours)

More Related Content

What's hot

TMD2063 | Digital Animation - Chapter 3
TMD2063 | Digital Animation - Chapter 3TMD2063 | Digital Animation - Chapter 3
TMD2063 | Digital Animation - Chapter 3
Diyana Harithuddin
 
Dot net in social gaming
Dot net in social gamingDot net in social gaming
Dot net in social gaming
Yan Cui
 
Media evaluation question 4 - Hardware
Media evaluation question 4 - HardwareMedia evaluation question 4 - Hardware
Media evaluation question 4 - Hardware
roma zeps
 
Production experiments
Production experimentsProduction experiments
Production experiments
BenDix4
 
Evaluation task 6
Evaluation task 6Evaluation task 6
Evaluation task 6
JoeTapner
 
DirectX11 Tessellation by Zulfa
DirectX11 Tessellation by ZulfaDirectX11 Tessellation by Zulfa
DirectX11 Tessellation by Zulfa
Agate Studio
 
Max2015 ch12
Max2015 ch12Max2015 ch12
Max2015 ch12
Tracie King
 

What's hot (7)

TMD2063 | Digital Animation - Chapter 3
TMD2063 | Digital Animation - Chapter 3TMD2063 | Digital Animation - Chapter 3
TMD2063 | Digital Animation - Chapter 3
 
Dot net in social gaming
Dot net in social gamingDot net in social gaming
Dot net in social gaming
 
Media evaluation question 4 - Hardware
Media evaluation question 4 - HardwareMedia evaluation question 4 - Hardware
Media evaluation question 4 - Hardware
 
Production experiments
Production experimentsProduction experiments
Production experiments
 
Evaluation task 6
Evaluation task 6Evaluation task 6
Evaluation task 6
 
DirectX11 Tessellation by Zulfa
DirectX11 Tessellation by ZulfaDirectX11 Tessellation by Zulfa
DirectX11 Tessellation by Zulfa
 
Max2015 ch12
Max2015 ch12Max2015 ch12
Max2015 ch12
 

Similar to OGDC2013_ Spine Animation_ Mr Alviss Ha

Super Gun Kids: The Making Of by Iain Lobb
Super Gun Kids: The Making Of by Iain LobbSuper Gun Kids: The Making Of by Iain Lobb
Super Gun Kids: The Making Of by Iain Lobb
mochimedia
 
Creating A Character in Uncharted: Drake's Fortune
Creating A Character in Uncharted: Drake's FortuneCreating A Character in Uncharted: Drake's Fortune
Creating A Character in Uncharted: Drake's Fortune
Naughty Dog
 
「原神」におけるコンソールプラットフォーム開発
「原神」におけるコンソールプラットフォーム開発「原神」におけるコンソールプラットフォーム開発
「原神」におけるコンソールプラットフォーム開発
Unity Technologies Japan K.K.
 
Animation Programming Techniques
Animation Programming TechniquesAnimation Programming Techniques
Animation Programming Techniques
Amir H. Fassihi
 
CUSA advert
CUSA advertCUSA advert
CUSA advert
Bradle
 
Making a game with Molehill: Zombie Tycoon
Making a game with Molehill: Zombie TycoonMaking a game with Molehill: Zombie Tycoon
Making a game with Molehill: Zombie Tycoon
Jean-Philippe Doiron
 
Confrontation Pipeline and SCons
Confrontation Pipeline and SConsConfrontation Pipeline and SCons
Confrontation Pipeline and SCons
slantsixgames
 
OGDC2013_ Cross platform game development with html5_ Mr Hoang Dinh Quang
OGDC2013_ Cross platform game development with html5_ Mr Hoang Dinh QuangOGDC2013_ Cross platform game development with html5_ Mr Hoang Dinh Quang
OGDC2013_ Cross platform game development with html5_ Mr Hoang Dinh Quang
ogdc
 
Ogdc 2013 cross platform game development with html5
Ogdc 2013 cross platform game development with html5Ogdc 2013 cross platform game development with html5
Ogdc 2013 cross platform game development with html5
Son Aris
 
Stop-Motion-Animation.ppt
Stop-Motion-Animation.pptStop-Motion-Animation.ppt
Stop-Motion-Animation.ppt
raketeeraph
 
PG Day Us: Animations for Web & Hybrid
PG Day Us: Animations for Web & HybridPG Day Us: Animations for Web & Hybrid
PG Day Us: Animations for Web & Hybrid
Alex Blom
 
Controlling Project Size for Student/Hobby Videogame Development
Controlling Project Size for Student/Hobby Videogame DevelopmentControlling Project Size for Student/Hobby Videogame Development
Controlling Project Size for Student/Hobby Videogame Development
Chris DeLeon
 
Puppet Camp London 2014: Chasing AMI: baking Amazon machine images with Jenki...
Puppet Camp London 2014: Chasing AMI: baking Amazon machine images with Jenki...Puppet Camp London 2014: Chasing AMI: baking Amazon machine images with Jenki...
Puppet Camp London 2014: Chasing AMI: baking Amazon machine images with Jenki...
Puppet
 
Chasing AMI - Building Amazon machine images with Puppet, Packer and Jenkins
Chasing AMI - Building Amazon machine images with Puppet, Packer and JenkinsChasing AMI - Building Amazon machine images with Puppet, Packer and Jenkins
Chasing AMI - Building Amazon machine images with Puppet, Packer and Jenkins
Tomas Doran
 
Smooth Animations for Web & Hybrid
Smooth Animations for Web & HybridSmooth Animations for Web & Hybrid
Smooth Animations for Web & Hybrid
FITC
 
BSidesDelhi 2018: Headshot - Game Hacking on macOS
BSidesDelhi 2018: Headshot - Game Hacking on macOSBSidesDelhi 2018: Headshot - Game Hacking on macOS
BSidesDelhi 2018: Headshot - Game Hacking on macOS
BSides Delhi
 
God Of War : post mortem
God Of War : post mortemGod Of War : post mortem
God Of War : post mortem
Mustapha Tachouct
 
Cocos2d programming
Cocos2d programmingCocos2d programming
Cocos2d programming
Changwon National University
 
Ghajini - The Game Development
Ghajini - The Game DevelopmentGhajini - The Game Development
Ghajini - The Game Development
Imran K
 
The Settler 7- 포스트모템
The Settler 7- 포스트모템The Settler 7- 포스트모템
The Settler 7- 포스트모템
drandom
 

Similar to OGDC2013_ Spine Animation_ Mr Alviss Ha (20)

Super Gun Kids: The Making Of by Iain Lobb
Super Gun Kids: The Making Of by Iain LobbSuper Gun Kids: The Making Of by Iain Lobb
Super Gun Kids: The Making Of by Iain Lobb
 
Creating A Character in Uncharted: Drake's Fortune
Creating A Character in Uncharted: Drake's FortuneCreating A Character in Uncharted: Drake's Fortune
Creating A Character in Uncharted: Drake's Fortune
 
「原神」におけるコンソールプラットフォーム開発
「原神」におけるコンソールプラットフォーム開発「原神」におけるコンソールプラットフォーム開発
「原神」におけるコンソールプラットフォーム開発
 
Animation Programming Techniques
Animation Programming TechniquesAnimation Programming Techniques
Animation Programming Techniques
 
CUSA advert
CUSA advertCUSA advert
CUSA advert
 
Making a game with Molehill: Zombie Tycoon
Making a game with Molehill: Zombie TycoonMaking a game with Molehill: Zombie Tycoon
Making a game with Molehill: Zombie Tycoon
 
Confrontation Pipeline and SCons
Confrontation Pipeline and SConsConfrontation Pipeline and SCons
Confrontation Pipeline and SCons
 
OGDC2013_ Cross platform game development with html5_ Mr Hoang Dinh Quang
OGDC2013_ Cross platform game development with html5_ Mr Hoang Dinh QuangOGDC2013_ Cross platform game development with html5_ Mr Hoang Dinh Quang
OGDC2013_ Cross platform game development with html5_ Mr Hoang Dinh Quang
 
Ogdc 2013 cross platform game development with html5
Ogdc 2013 cross platform game development with html5Ogdc 2013 cross platform game development with html5
Ogdc 2013 cross platform game development with html5
 
Stop-Motion-Animation.ppt
Stop-Motion-Animation.pptStop-Motion-Animation.ppt
Stop-Motion-Animation.ppt
 
PG Day Us: Animations for Web & Hybrid
PG Day Us: Animations for Web & HybridPG Day Us: Animations for Web & Hybrid
PG Day Us: Animations for Web & Hybrid
 
Controlling Project Size for Student/Hobby Videogame Development
Controlling Project Size for Student/Hobby Videogame DevelopmentControlling Project Size for Student/Hobby Videogame Development
Controlling Project Size for Student/Hobby Videogame Development
 
Puppet Camp London 2014: Chasing AMI: baking Amazon machine images with Jenki...
Puppet Camp London 2014: Chasing AMI: baking Amazon machine images with Jenki...Puppet Camp London 2014: Chasing AMI: baking Amazon machine images with Jenki...
Puppet Camp London 2014: Chasing AMI: baking Amazon machine images with Jenki...
 
Chasing AMI - Building Amazon machine images with Puppet, Packer and Jenkins
Chasing AMI - Building Amazon machine images with Puppet, Packer and JenkinsChasing AMI - Building Amazon machine images with Puppet, Packer and Jenkins
Chasing AMI - Building Amazon machine images with Puppet, Packer and Jenkins
 
Smooth Animations for Web & Hybrid
Smooth Animations for Web & HybridSmooth Animations for Web & Hybrid
Smooth Animations for Web & Hybrid
 
BSidesDelhi 2018: Headshot - Game Hacking on macOS
BSidesDelhi 2018: Headshot - Game Hacking on macOSBSidesDelhi 2018: Headshot - Game Hacking on macOS
BSidesDelhi 2018: Headshot - Game Hacking on macOS
 
God Of War : post mortem
God Of War : post mortemGod Of War : post mortem
God Of War : post mortem
 
Cocos2d programming
Cocos2d programmingCocos2d programming
Cocos2d programming
 
Ghajini - The Game Development
Ghajini - The Game DevelopmentGhajini - The Game Development
Ghajini - The Game Development
 
The Settler 7- 포스트모템
The Settler 7- 포스트모템The Settler 7- 포스트모템
The Settler 7- 포스트모템
 

More from ogdc

OGDC 2014_Entity system in mobile game development_Mr. Cody nguyen
OGDC 2014_Entity system in mobile game development_Mr. Cody nguyenOGDC 2014_Entity system in mobile game development_Mr. Cody nguyen
OGDC 2014_Entity system in mobile game development_Mr. Cody nguyen
ogdc
 
OGDC 2014_Sky Garden Mobile conceptualization: From PC to Mobile_Mr. Luc Hoan...
OGDC 2014_Sky Garden Mobile conceptualization: From PC to Mobile_Mr. Luc Hoan...OGDC 2014_Sky Garden Mobile conceptualization: From PC to Mobile_Mr. Luc Hoan...
OGDC 2014_Sky Garden Mobile conceptualization: From PC to Mobile_Mr. Luc Hoan...
ogdc
 
OGDC 2014_Creativity in Game Design - Case Study: Famous Vietnamese mobile ga...
OGDC 2014_Creativity in Game Design - Case Study: Famous Vietnamese mobile ga...OGDC 2014_Creativity in Game Design - Case Study: Famous Vietnamese mobile ga...
OGDC 2014_Creativity in Game Design - Case Study: Famous Vietnamese mobile ga...
ogdc
 
OGDC 2014_Vietnam Mobile Internet 2014: A focus in smartphone game and compar...
OGDC 2014_Vietnam Mobile Internet 2014: A focus in smartphone game and compar...OGDC 2014_Vietnam Mobile Internet 2014: A focus in smartphone game and compar...
OGDC 2014_Vietnam Mobile Internet 2014: A focus in smartphone game and compar...
ogdc
 
OGDC 2014_Vietnam Smartphone game market 2013 overview. From vision to action...
OGDC 2014_Vietnam Smartphone game market 2013 overview. From vision to action...OGDC 2014_Vietnam Smartphone game market 2013 overview. From vision to action...
OGDC 2014_Vietnam Smartphone game market 2013 overview. From vision to action...
ogdc
 
OGDC 2014_User segmentation and Monetization_Mr. Phat hoang
OGDC 2014_User segmentation and Monetization_Mr. Phat hoangOGDC 2014_User segmentation and Monetization_Mr. Phat hoang
OGDC 2014_User segmentation and Monetization_Mr. Phat hoang
ogdc
 
OGDC 2014_Animation workflow with Spine in Tiny Busters_Mr. Huynh Dong Hai
OGDC 2014_Animation workflow with Spine in Tiny Busters_Mr. Huynh Dong HaiOGDC 2014_Animation workflow with Spine in Tiny Busters_Mr. Huynh Dong Hai
OGDC 2014_Animation workflow with Spine in Tiny Busters_Mr. Huynh Dong Hai
ogdc
 
OGDC 2014_Speed Up and make quality 3D game models_Mr. Pham Duc Duy
OGDC 2014_Speed Up and make quality 3D game models_Mr. Pham Duc DuyOGDC 2014_Speed Up and make quality 3D game models_Mr. Pham Duc Duy
OGDC 2014_Speed Up and make quality 3D game models_Mr. Pham Duc Duy
ogdc
 
OGDC 2014_Architecting Games in Unity_Mr. Rustum Scammell
OGDC 2014_Architecting Games in Unity_Mr. Rustum ScammellOGDC 2014_Architecting Games in Unity_Mr. Rustum Scammell
OGDC 2014_Architecting Games in Unity_Mr. Rustum Scammell
ogdc
 
OGDC 2014_One-Man Studio: How to make a game prototype_Mr. Le Vo Tien Giang
OGDC 2014_One-Man Studio: How to make a game prototype_Mr. Le Vo Tien GiangOGDC 2014_One-Man Studio: How to make a game prototype_Mr. Le Vo Tien Giang
OGDC 2014_One-Man Studio: How to make a game prototype_Mr. Le Vo Tien Giang
ogdc
 
OGDC 2014_Hands on experience with Cocos2dx in cross-platform with Farmery_Mr...
OGDC 2014_Hands on experience with Cocos2dx in cross-platform with Farmery_Mr...OGDC 2014_Hands on experience with Cocos2dx in cross-platform with Farmery_Mr...
OGDC 2014_Hands on experience with Cocos2dx in cross-platform with Farmery_Mr...
ogdc
 
OGDC 2014_Optimize or Die: Key disciplines to optimize your mobile game_Mr. P...
OGDC 2014_Optimize or Die: Key disciplines to optimize your mobile game_Mr. P...OGDC 2014_Optimize or Die: Key disciplines to optimize your mobile game_Mr. P...
OGDC 2014_Optimize or Die: Key disciplines to optimize your mobile game_Mr. P...
ogdc
 
OGDC 2014_ An artist's story_Mr. Vu Cam Cong Danh
OGDC 2014_ An artist's story_Mr. Vu Cam Cong DanhOGDC 2014_ An artist's story_Mr. Vu Cam Cong Danh
OGDC 2014_ An artist's story_Mr. Vu Cam Cong Danh
ogdc
 
OGDC 2014_Tips and Tricks for seasonal events and community building in Drago...
OGDC 2014_Tips and Tricks for seasonal events and community building in Drago...OGDC 2014_Tips and Tricks for seasonal events and community building in Drago...
OGDC 2014_Tips and Tricks for seasonal events and community building in Drago...
ogdc
 
OGDC 2014_Cross platform mobile game application development_Mr. Makku J.Kero
OGDC 2014_Cross platform mobile game application development_Mr. Makku J.KeroOGDC 2014_Cross platform mobile game application development_Mr. Makku J.Kero
OGDC 2014_Cross platform mobile game application development_Mr. Makku J.Kero
ogdc
 
OGDC 2014_Tips and Tricks for seasonal events and community building in Drago...
OGDC 2014_Tips and Tricks for seasonal events and community building in Drago...OGDC 2014_Tips and Tricks for seasonal events and community building in Drago...
OGDC 2014_Tips and Tricks for seasonal events and community building in Drago...
ogdc
 
OGDC 2014_Business design is game design: 10 bits of business/design wisdom_M...
OGDC 2014_Business design is game design: 10 bits of business/design wisdom_M...OGDC 2014_Business design is game design: 10 bits of business/design wisdom_M...
OGDC 2014_Business design is game design: 10 bits of business/design wisdom_M...
ogdc
 
OGDC 2014_Build your own Particle System_Mr. Nguyen Dang Quang
OGDC 2014_Build your own Particle System_Mr. Nguyen Dang QuangOGDC 2014_Build your own Particle System_Mr. Nguyen Dang Quang
OGDC 2014_Build your own Particle System_Mr. Nguyen Dang Quang
ogdc
 
OGDC 2014_ Game Design: 5 years of painful lessons_Mr. Do Van Thanh
OGDC 2014_ Game Design: 5 years of painful lessons_Mr. Do Van ThanhOGDC 2014_ Game Design: 5 years of painful lessons_Mr. Do Van Thanh
OGDC 2014_ Game Design: 5 years of painful lessons_Mr. Do Van Thanh
ogdc
 
OGDC 2014_3D Graphic on mobile_Mr. Hoang Minh Truong
OGDC 2014_3D Graphic on mobile_Mr. Hoang Minh TruongOGDC 2014_3D Graphic on mobile_Mr. Hoang Minh Truong
OGDC 2014_3D Graphic on mobile_Mr. Hoang Minh Truong
ogdc
 

More from ogdc (20)

OGDC 2014_Entity system in mobile game development_Mr. Cody nguyen
OGDC 2014_Entity system in mobile game development_Mr. Cody nguyenOGDC 2014_Entity system in mobile game development_Mr. Cody nguyen
OGDC 2014_Entity system in mobile game development_Mr. Cody nguyen
 
OGDC 2014_Sky Garden Mobile conceptualization: From PC to Mobile_Mr. Luc Hoan...
OGDC 2014_Sky Garden Mobile conceptualization: From PC to Mobile_Mr. Luc Hoan...OGDC 2014_Sky Garden Mobile conceptualization: From PC to Mobile_Mr. Luc Hoan...
OGDC 2014_Sky Garden Mobile conceptualization: From PC to Mobile_Mr. Luc Hoan...
 
OGDC 2014_Creativity in Game Design - Case Study: Famous Vietnamese mobile ga...
OGDC 2014_Creativity in Game Design - Case Study: Famous Vietnamese mobile ga...OGDC 2014_Creativity in Game Design - Case Study: Famous Vietnamese mobile ga...
OGDC 2014_Creativity in Game Design - Case Study: Famous Vietnamese mobile ga...
 
OGDC 2014_Vietnam Mobile Internet 2014: A focus in smartphone game and compar...
OGDC 2014_Vietnam Mobile Internet 2014: A focus in smartphone game and compar...OGDC 2014_Vietnam Mobile Internet 2014: A focus in smartphone game and compar...
OGDC 2014_Vietnam Mobile Internet 2014: A focus in smartphone game and compar...
 
OGDC 2014_Vietnam Smartphone game market 2013 overview. From vision to action...
OGDC 2014_Vietnam Smartphone game market 2013 overview. From vision to action...OGDC 2014_Vietnam Smartphone game market 2013 overview. From vision to action...
OGDC 2014_Vietnam Smartphone game market 2013 overview. From vision to action...
 
OGDC 2014_User segmentation and Monetization_Mr. Phat hoang
OGDC 2014_User segmentation and Monetization_Mr. Phat hoangOGDC 2014_User segmentation and Monetization_Mr. Phat hoang
OGDC 2014_User segmentation and Monetization_Mr. Phat hoang
 
OGDC 2014_Animation workflow with Spine in Tiny Busters_Mr. Huynh Dong Hai
OGDC 2014_Animation workflow with Spine in Tiny Busters_Mr. Huynh Dong HaiOGDC 2014_Animation workflow with Spine in Tiny Busters_Mr. Huynh Dong Hai
OGDC 2014_Animation workflow with Spine in Tiny Busters_Mr. Huynh Dong Hai
 
OGDC 2014_Speed Up and make quality 3D game models_Mr. Pham Duc Duy
OGDC 2014_Speed Up and make quality 3D game models_Mr. Pham Duc DuyOGDC 2014_Speed Up and make quality 3D game models_Mr. Pham Duc Duy
OGDC 2014_Speed Up and make quality 3D game models_Mr. Pham Duc Duy
 
OGDC 2014_Architecting Games in Unity_Mr. Rustum Scammell
OGDC 2014_Architecting Games in Unity_Mr. Rustum ScammellOGDC 2014_Architecting Games in Unity_Mr. Rustum Scammell
OGDC 2014_Architecting Games in Unity_Mr. Rustum Scammell
 
OGDC 2014_One-Man Studio: How to make a game prototype_Mr. Le Vo Tien Giang
OGDC 2014_One-Man Studio: How to make a game prototype_Mr. Le Vo Tien GiangOGDC 2014_One-Man Studio: How to make a game prototype_Mr. Le Vo Tien Giang
OGDC 2014_One-Man Studio: How to make a game prototype_Mr. Le Vo Tien Giang
 
OGDC 2014_Hands on experience with Cocos2dx in cross-platform with Farmery_Mr...
OGDC 2014_Hands on experience with Cocos2dx in cross-platform with Farmery_Mr...OGDC 2014_Hands on experience with Cocos2dx in cross-platform with Farmery_Mr...
OGDC 2014_Hands on experience with Cocos2dx in cross-platform with Farmery_Mr...
 
OGDC 2014_Optimize or Die: Key disciplines to optimize your mobile game_Mr. P...
OGDC 2014_Optimize or Die: Key disciplines to optimize your mobile game_Mr. P...OGDC 2014_Optimize or Die: Key disciplines to optimize your mobile game_Mr. P...
OGDC 2014_Optimize or Die: Key disciplines to optimize your mobile game_Mr. P...
 
OGDC 2014_ An artist's story_Mr. Vu Cam Cong Danh
OGDC 2014_ An artist's story_Mr. Vu Cam Cong DanhOGDC 2014_ An artist's story_Mr. Vu Cam Cong Danh
OGDC 2014_ An artist's story_Mr. Vu Cam Cong Danh
 
OGDC 2014_Tips and Tricks for seasonal events and community building in Drago...
OGDC 2014_Tips and Tricks for seasonal events and community building in Drago...OGDC 2014_Tips and Tricks for seasonal events and community building in Drago...
OGDC 2014_Tips and Tricks for seasonal events and community building in Drago...
 
OGDC 2014_Cross platform mobile game application development_Mr. Makku J.Kero
OGDC 2014_Cross platform mobile game application development_Mr. Makku J.KeroOGDC 2014_Cross platform mobile game application development_Mr. Makku J.Kero
OGDC 2014_Cross platform mobile game application development_Mr. Makku J.Kero
 
OGDC 2014_Tips and Tricks for seasonal events and community building in Drago...
OGDC 2014_Tips and Tricks for seasonal events and community building in Drago...OGDC 2014_Tips and Tricks for seasonal events and community building in Drago...
OGDC 2014_Tips and Tricks for seasonal events and community building in Drago...
 
OGDC 2014_Business design is game design: 10 bits of business/design wisdom_M...
OGDC 2014_Business design is game design: 10 bits of business/design wisdom_M...OGDC 2014_Business design is game design: 10 bits of business/design wisdom_M...
OGDC 2014_Business design is game design: 10 bits of business/design wisdom_M...
 
OGDC 2014_Build your own Particle System_Mr. Nguyen Dang Quang
OGDC 2014_Build your own Particle System_Mr. Nguyen Dang QuangOGDC 2014_Build your own Particle System_Mr. Nguyen Dang Quang
OGDC 2014_Build your own Particle System_Mr. Nguyen Dang Quang
 
OGDC 2014_ Game Design: 5 years of painful lessons_Mr. Do Van Thanh
OGDC 2014_ Game Design: 5 years of painful lessons_Mr. Do Van ThanhOGDC 2014_ Game Design: 5 years of painful lessons_Mr. Do Van Thanh
OGDC 2014_ Game Design: 5 years of painful lessons_Mr. Do Van Thanh
 
OGDC 2014_3D Graphic on mobile_Mr. Hoang Minh Truong
OGDC 2014_3D Graphic on mobile_Mr. Hoang Minh TruongOGDC 2014_3D Graphic on mobile_Mr. Hoang Minh Truong
OGDC 2014_3D Graphic on mobile_Mr. Hoang Minh Truong
 

Recently uploaded

HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAUHCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
panagenda
 
AWS Cloud Cost Optimization Presentation.pptx
AWS Cloud Cost Optimization Presentation.pptxAWS Cloud Cost Optimization Presentation.pptx
AWS Cloud Cost Optimization Presentation.pptx
HarisZaheer8
 
Deep Dive: AI-Powered Marketing to Get More Leads and Customers with HyperGro...
Deep Dive: AI-Powered Marketing to Get More Leads and Customers with HyperGro...Deep Dive: AI-Powered Marketing to Get More Leads and Customers with HyperGro...
Deep Dive: AI-Powered Marketing to Get More Leads and Customers with HyperGro...
saastr
 
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with SlackLet's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
shyamraj55
 
“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...
“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...
“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...
Edge AI and Vision Alliance
 
TrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy SurveyTrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy Survey
TrustArc
 
Digital Banking in the Cloud: How Citizens Bank Unlocked Their Mainframe
Digital Banking in the Cloud: How Citizens Bank Unlocked Their MainframeDigital Banking in the Cloud: How Citizens Bank Unlocked Their Mainframe
Digital Banking in the Cloud: How Citizens Bank Unlocked Their Mainframe
Precisely
 
Astute Business Solutions | Oracle Cloud Partner |
Astute Business Solutions | Oracle Cloud Partner |Astute Business Solutions | Oracle Cloud Partner |
Astute Business Solutions | Oracle Cloud Partner |
AstuteBusiness
 
zkStudyClub - LatticeFold: A Lattice-based Folding Scheme and its Application...
zkStudyClub - LatticeFold: A Lattice-based Folding Scheme and its Application...zkStudyClub - LatticeFold: A Lattice-based Folding Scheme and its Application...
zkStudyClub - LatticeFold: A Lattice-based Folding Scheme and its Application...
Alex Pruden
 
JavaLand 2024: Application Development Green Masterplan
JavaLand 2024: Application Development Green MasterplanJavaLand 2024: Application Development Green Masterplan
JavaLand 2024: Application Development Green Masterplan
Miro Wengner
 
Main news related to the CCS TSI 2023 (2023/1695)
Main news related to the CCS TSI 2023 (2023/1695)Main news related to the CCS TSI 2023 (2023/1695)
Main news related to the CCS TSI 2023 (2023/1695)
Jakub Marek
 
Generating privacy-protected synthetic data using Secludy and Milvus
Generating privacy-protected synthetic data using Secludy and MilvusGenerating privacy-protected synthetic data using Secludy and Milvus
Generating privacy-protected synthetic data using Secludy and Milvus
Zilliz
 
Nordic Marketo Engage User Group_June 13_ 2024.pptx
Nordic Marketo Engage User Group_June 13_ 2024.pptxNordic Marketo Engage User Group_June 13_ 2024.pptx
Nordic Marketo Engage User Group_June 13_ 2024.pptx
MichaelKnudsen27
 
Columbus Data & Analytics Wednesdays - June 2024
Columbus Data & Analytics Wednesdays - June 2024Columbus Data & Analytics Wednesdays - June 2024
Columbus Data & Analytics Wednesdays - June 2024
Jason Packer
 
Driving Business Innovation: Latest Generative AI Advancements & Success Story
Driving Business Innovation: Latest Generative AI Advancements & Success StoryDriving Business Innovation: Latest Generative AI Advancements & Success Story
Driving Business Innovation: Latest Generative AI Advancements & Success Story
Safe Software
 
HCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAUHCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAU
panagenda
 
Energy Efficient Video Encoding for Cloud and Edge Computing Instances
Energy Efficient Video Encoding for Cloud and Edge Computing InstancesEnergy Efficient Video Encoding for Cloud and Edge Computing Instances
Energy Efficient Video Encoding for Cloud and Edge Computing Instances
Alpen-Adria-Universität
 
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdfHow to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
Chart Kalyan
 
Serial Arm Control in Real Time Presentation
Serial Arm Control in Real Time PresentationSerial Arm Control in Real Time Presentation
Serial Arm Control in Real Time Presentation
tolgahangng
 
Skybuffer SAM4U tool for SAP license adoption
Skybuffer SAM4U tool for SAP license adoptionSkybuffer SAM4U tool for SAP license adoption
Skybuffer SAM4U tool for SAP license adoption
Tatiana Kojar
 

Recently uploaded (20)

HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAUHCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
 
AWS Cloud Cost Optimization Presentation.pptx
AWS Cloud Cost Optimization Presentation.pptxAWS Cloud Cost Optimization Presentation.pptx
AWS Cloud Cost Optimization Presentation.pptx
 
Deep Dive: AI-Powered Marketing to Get More Leads and Customers with HyperGro...
Deep Dive: AI-Powered Marketing to Get More Leads and Customers with HyperGro...Deep Dive: AI-Powered Marketing to Get More Leads and Customers with HyperGro...
Deep Dive: AI-Powered Marketing to Get More Leads and Customers with HyperGro...
 
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with SlackLet's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
 
“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...
“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...
“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...
 
TrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy SurveyTrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy Survey
 
Digital Banking in the Cloud: How Citizens Bank Unlocked Their Mainframe
Digital Banking in the Cloud: How Citizens Bank Unlocked Their MainframeDigital Banking in the Cloud: How Citizens Bank Unlocked Their Mainframe
Digital Banking in the Cloud: How Citizens Bank Unlocked Their Mainframe
 
Astute Business Solutions | Oracle Cloud Partner |
Astute Business Solutions | Oracle Cloud Partner |Astute Business Solutions | Oracle Cloud Partner |
Astute Business Solutions | Oracle Cloud Partner |
 
zkStudyClub - LatticeFold: A Lattice-based Folding Scheme and its Application...
zkStudyClub - LatticeFold: A Lattice-based Folding Scheme and its Application...zkStudyClub - LatticeFold: A Lattice-based Folding Scheme and its Application...
zkStudyClub - LatticeFold: A Lattice-based Folding Scheme and its Application...
 
JavaLand 2024: Application Development Green Masterplan
JavaLand 2024: Application Development Green MasterplanJavaLand 2024: Application Development Green Masterplan
JavaLand 2024: Application Development Green Masterplan
 
Main news related to the CCS TSI 2023 (2023/1695)
Main news related to the CCS TSI 2023 (2023/1695)Main news related to the CCS TSI 2023 (2023/1695)
Main news related to the CCS TSI 2023 (2023/1695)
 
Generating privacy-protected synthetic data using Secludy and Milvus
Generating privacy-protected synthetic data using Secludy and MilvusGenerating privacy-protected synthetic data using Secludy and Milvus
Generating privacy-protected synthetic data using Secludy and Milvus
 
Nordic Marketo Engage User Group_June 13_ 2024.pptx
Nordic Marketo Engage User Group_June 13_ 2024.pptxNordic Marketo Engage User Group_June 13_ 2024.pptx
Nordic Marketo Engage User Group_June 13_ 2024.pptx
 
Columbus Data & Analytics Wednesdays - June 2024
Columbus Data & Analytics Wednesdays - June 2024Columbus Data & Analytics Wednesdays - June 2024
Columbus Data & Analytics Wednesdays - June 2024
 
Driving Business Innovation: Latest Generative AI Advancements & Success Story
Driving Business Innovation: Latest Generative AI Advancements & Success StoryDriving Business Innovation: Latest Generative AI Advancements & Success Story
Driving Business Innovation: Latest Generative AI Advancements & Success Story
 
HCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAUHCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAU
 
Energy Efficient Video Encoding for Cloud and Edge Computing Instances
Energy Efficient Video Encoding for Cloud and Edge Computing InstancesEnergy Efficient Video Encoding for Cloud and Edge Computing Instances
Energy Efficient Video Encoding for Cloud and Edge Computing Instances
 
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdfHow to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
 
Serial Arm Control in Real Time Presentation
Serial Arm Control in Real Time PresentationSerial Arm Control in Real Time Presentation
Serial Arm Control in Real Time Presentation
 
Skybuffer SAM4U tool for SAP license adoption
Skybuffer SAM4U tool for SAP license adoptionSkybuffer SAM4U tool for SAP license adoption
Skybuffer SAM4U tool for SAP license adoption
 

OGDC2013_ Spine Animation_ Mr Alviss Ha

  • 1. Awesome 2D game animations with Spine ALVISS HA Lead Designer, VINOVA Pte. Ltd alviss@vinova.sg
  • 2. “Here comes the greatest creative beast Let’s tame it, my brave warriors!!!”
  • 3.
  • 4. Anime studio 9 “A precious 2D animation charm we’ve mastered thousand years ago In combat, it generates frame-based animation”
  • 5. Train, team needs to train Here, my warriors, practice with these cute monsters You gotta be Kidding me
  • 7. Gasboy Animations • 1 character • 1 animation • 15 frames • Size on disk: 90KB
  • 9. God’s Rage Animations • 1 character • 17 animations • 402 frames • Size on disk: 1.3MB Happy with frame-based animation
  • 10.
  • 11. Dozen of characters, smooth animations
  • 12. BOSSes EAT Too much disk & RAM!
  • 13. “One boss and we’re starving already. Frame-based animation won’t make it” Bosses EAT Too much disk & RAM!
  • 14. Frame-based animation vs Modular animation • “Old-time” technique • Easy to produce • Inflexible – Changes require recompile – Take more space as animation gets more complex • Expensive trick used in 2D games with bigger budgets • Flexible – Animations compiled as plain text – Smooth animation with little disk usage • No public tool for 2D games yet :(
  • 15. “Spine, We’ve been watching you” “Your Majesty, the charm named Spine by Nathan Sweet got ready to produce 2D skeletal animations for game which is modular animation bonus programmable ability”
  • 16. Spine does one thing and does it perfectly Feature Spine Anime Studio Flash Easy to master v Separate Rotate, Translate, Scale v v Key-framing at bone level v Interpolation curve v v Import PSD layers v v Work with Vector image v v Inverse Kinematics (planed ) v v
  • 17. Animators love it! Interpolation curveBone-level key-framing Great key-framing system Clean, elegant UI
  • 19. but, does it solve the proble m of storage & memory usage
  • 20. Yes, it does! FRAME-BASED animation SPINE animation Smoother animation with half storage & memory usage! 700KB on disk 2.5MB on RAM 300KB on disk 1.2MB on RAM
  • 22. FLEXIBLE: Run-time auto-generated animation transition Without transition With transition
  • 23. Programmable: animation procedural Captured from project http://github.com/EsotericSoftware/spine-workshop
  • 24. Programmable: Combine with physic engine
  • 25. Cool! But here comes the trade off
  • 26. Need more computation at run-time Benchmark: display a walking character multiple times on screen • Environment: XCode 4.5, cocos2d-x 2.1.2 • Device: iPhone 4S running iOS 6
  • 27. Need more computation at run-time 0 50 100 150 200 250 300 25 50 75 100 125 150 175 200 Framepersecond(FPS) Number of characters on screen Frame-based animation Skeletal-based animation 60FPS
  • 28. Doesn’t replace frame-based animation • Spine is great 2D skeletal animation tool • Flexible, programmable, smooth & small • But need more computation at run-time Should use both animation methods in game
  • 29. Should use both animation methods in game Frame-based animation for small characters Skeletal-based animation for huge characters and/or those need detailed, complex animations
  • 30.
  • 31. Thank you It’s Q/A time ;) info@vinova.sg
  • 32. Why choose spine over spriter? • Right tool: – Slicker & friendlier GUI – Export format: JSON (Spine) vs XML (Spriter) – Interpolation curve • Right time: – Spine app works great when we try it out (March 2013) – Usable cocos2d-x runtime right when we needed it (April 2013) • Right team: – Nathan Sweet is also the author of libGDX – Fast development: • Spine started 1 year later (early 2013 vs early 2012) • But ecome usable sooner, support more platforms faster: cocos2d-x, cocos2d-iPhone, Unity, libGDX, Starling, XNA, Flash… – Open to the community: very fast pull-request merging cycle (within hours)

Editor's Notes

  1. Xin chào tất cả các bạn, rất vinh dự khi được có mặt tại hội nghị OGDC do VNG tổ chức ngày hôm nay.Mình tên là Alviss hiện tại là Lead Designer tại Vinova.Hôm nay đếnvới OGDC mìnhsẽgiớithiệuđếncácbạn 1 phầnmềmdiễnhoạttrong game, đóchínhlà SpineĐâylà 1 côngcụgiúptăngchất animation trong game giúpgiảmthiểuđángkể dung lượngvàtăngtínhmượtmàtrong gameTeam meat củachúngtôi lead game develop Stefan vìlí do sứckhỏenênkhôngthamgiađượchộinghị, chonêntôiLead Designer sẽthay team meat củatôitrìnhbàybàinóinày
  2. Mìnhxinđượckể 1 câuchuyện, Vinovađượcthànhlậptừnăm 2010 tại Singapore,bướcđầuchúngtôipháttriểncácdịchvụcho web và mobile. Đếnnăm 2012, chúngtôibắtđầubướcchânvào mobile game.Chúngtôicoimìnhlàcácchiếnbinh, chiếnđấuvớinhữngthửtháchthúvịtrongthếgiớicôngnghệ. Và Mobile Game là con quáivậtrấtkhủngkhiếpvàthông minh đểchúngtôichinhphục.
  3. Vâng,vàđâyđộingũlàm game củachúngtôivới 6 thànhviên, chúngtôiđãtựchọnchomìnhvũkhíđểramặttrậnDev đã chọnvũkhí cocos2d-xlàcôngcụ open soucerấthữuíchCác artist chọnvũkhílà PhotoshopCác animator đã chọn Anime Studiolà 1 tool phổbiếntronglàmhoạthình
  4. Tại sao lại chọn "Anime Studio"? Không phải đâylà một công cụ chuyên dụng cho việc làm phim hoạt hình hayquảngcáo 2d haysao?Đúng, vìnólà 1 côngcụ animation 2D rấtmạnh. Vàchúngtôiđãcó 1 sốkinhnghiệmlàmhoạthìnhtrướcđó.Cáchmàchúngtôisửdụnglà:Anime Studio exportcác animation rachuỗiảnh. Như bạn đã biết, kỹ thuật này được gọi là frame-based animation
  5. Saukhiđãlậpteam, chọnvũkhíchomìnhchúngtôitựhỏinênlàm game báđạo, game mìnhthíchhaylàmnhững game nhỏtrướcđểlấykínhnghiệm? Chúngtôilànhữngngườimớitronglĩnhvực game, vàcònthiếunhiềukinhnghiệm, chonênđểcóđượckinhnghiệmvànhữngkĩnăngphùhợp, chúngtôiquyếtđịnhlàmcácbàitậpnhỏtrước.
  6. Game đầutiêncủachúngtôilàGasboy, một game nhỏvàđángyêu.Bạnnghiêngchiếcđiệnthoạisangtráisangphảiđểđiềukhiểncậubégasboybaytrongvũtrụđểănsaovàtránhchứngngạivật, bạnbaycàngxathìđiểmsốcàngcao
  7. VớiGasboychỉcó 1 nhânvậtvà 1 animationvàchỉtốncó 15 frame ảnh, Anime studioxửlí 1 cáchhoànhảo.
  8. Tiếptụcluyệntập 1 bàitậpkhóhơn, game T2 củachúngtôilàGod’s Rage: Câuchuyệnlà 1 chàngtraiyêu con gáicủavịthầnvàtìmmọicáchvượt qua mọigiankhổđểđếnđượcvớingườimìnhyêu. Nhưng hay ởchỗbạnkhôngđiềukhiểnchàngtraiđó, thayvàođóbạnlàChúatrờingăncảnchàngtraiđếnvới con gáicủamình, tại sao..bởivìbạnghétanhta, anhtayêu con gáibạnvàbạnnàocó con gáimớilớnchắcsẽhiểuđiềuđó ^^
  9. Với 1 game thúvịnhưvậychúngtôilàmrấtnhiều animation chochàngstickman v 1 nhânvậtvới 17 animation vàlênđến 400 bứcảnhchỉtốnhơn 1 Mb dung lượngTínhđếnthờiđiểmnày, thìchúngtôivẫnhàilòngvới frame based animation và Anime Studio qua 2 game: GasBoy & God rage
  10. Sau 2 game, chúngtôiđãcósựtựtin, kinhnghiệm, độchắcchắnvềcôngcụđểthựchiệnlàm 1 game lớn , màchúngtôiưuthíchvàđammêtừlâu, đóchínhlàUltimate Arrow Ultimate ArrowLà 1 game thủthànhhơnlàchiếnlược, khônggiống 1 số game nổitiếngnhư: fiedrunner, haykingdom rush. Ở UA bạnnhập vai AnDươngVươngđiềukhiểnnỏthần, gọilínhđểbảovệthànhtrì.
  11. Chúngtôiđãđầutưkhánhiềuvàocốttruyên, UA đượcpháttriểntừcâutruyệntruyềnthuyếtViệt Nam đólàAnDươngVương, Ngàiđãdùngchiếcnỏthầncủamìnhđểchốnglạiquânđịch, mỗiphátnỏthầnbắnragiếtchếthàngtrăm, hàngngànquânđịch. Trong UA thìchúngtôicórấtnhiềunhânvật, banđầuthìanimationcácnhânvậtnhỏ, cácloạilính, loạiquáithì Anime Studio xửlírấthoànhảo, cứngỡlàmọichuyệnêmxuôi..Nhưngxuấthiện 1 conBossđầutiên
  12. Đóchínhlà: Golem ném đáHãy để tôi giới thiệu với bạn con boss của chúng tôi:Như bạn có thể thấy, con quáivậtnày thực sự lớn và ... cũng ... Rấtlà nặng.Với tổng số 8 animation khác nhau, nóngốncủa chúng tôi 20MB dung lượngđĩavà50MB bộ nhớ RAM.Game lúcnàythường crash xuyênthiếubộnhớram.Chúngtôiđãcốgắngtôiưuvềchấtlượnghìnhảnhvàsố frame nhưngvẫnbị crash
  13. Chỉriêngvới 1 con Boss nhưvậymàcácbạnthửtưởngtượng 5 con boss sẽnhưthếnào ?Chúngtôibuộcphảitìm 1 phươngánkhácđểthaythếđểgiảiquyếtvấnđề animation chonhữngnhânvậtlớn
  14. Ngaytừnhữngngàyđầubắttayvàolàm game, chúngtôicũngđãnghiêncứuvàbiếtđượckháiniệm: Frame base animationvà Modular animationModular animation có 1 sốưuđiểmhơn ở chỗ:Cácbộphậnnhânvậtđượctáchrờira, thông tin về animation đượclưu ở file text riêngbiệt, do đótốnrấtítbộnhớ, giảiquyếtvấnđềbộnhớmàchúngtôiđãgặpphảiTuynhiênvàothờiđiểm ban đầuchúngtôilàm game chưacócôngcụnàođược public, cáccôngtylớnthườngpháttriểnriêngchomình 1 côngcụ animation, vàkhông share rangoài. Đâylà 1 trởngạivớihầuhếtcácstuidonhỏ.Modular animation: là animation dựatrêncácbộphậnnhânvậtFrame baselàkĩthuậtcũ, tuynhiênlạithiếutínhlinhhoạttốnnhiềubộnhớ
  15. Lúcbấygiờ qua tìmhiểuchúngtôibiếtđượcrằngcó 1 lậptrìnhviêntên Nathan Sweet ôngđãquyếtđịnhthayđổitìnhhìnhbếtắcđóvàquyếtđịnhlàm 1 dựán animation dựatrênxương. Đóchínhlà Spine.Chúngtôicũngđãtìmhiểuvàtheodõiquátrìnhpháttriểncủa Spine ngaytừnhữngngàyđầupháttriểnVàthật may mắnđúnglúckhichúngtôigặpvấnđềvềbộnhớvà dung lượnglưutrữthì Spine đãchínmuồivàđãhỗtrợ Cocos2d-xHỗtrợ (cocos2d, unity, và 1 số framework làm game khác, bạncóthểxemtrêntrang web)http://esotericsoftware.com/spine-runtimes/
  16. Sau khi dùngchúngtôinhậnthấyđâylà 1 côngcụrấttốtvàcónhiềuưuđiểm, bạnchỉmấtnửangàyđểhọcnó1.Dễ học2.Tách biệtgiữa Rotate, translate, scale3.Key frame choxươngdễdàng4.Nội suylàmmượtchuyểnđộng
  17. Animators sauvàigiờdùngthửthìđãrấtthích Spine vìgiaodiệnđơngiản, dễdùng, animation mượtmàMột hệ thống key-frame lớn cho phép animator tạo ra hình ảnh đẹp, dễ dàng, trong một thời gian ngắn.Vàkhi animation xongviệctíchhợpvào game cũngrấtdễdàng,Đểcácbạndễhình dung tôisẽtrìnhbày qui trìnhlàmviệcvới Spine
  18. Đây là quy trình làm việc:1. Boctáchhìnhảnhcácbộphậntừ PTS2. Xây dựng bộ xương3. Đính kèm hình ảnh vàoxương4. Làmanimaiton5. Xuất ra file JSON6. Importcả file Jsonvà h/ả vàotrongCocos (sửdụng texture packer đểtạora 1 spritesheet )7. Nhập vàotrò chơi
  19. Dễdùngrồi, thíchrồi, nócógiảiquyếtđượcvấnđề : Dung lượnglưutrữvàbộnhớsửdụng hay không?Spine nàycó sử lí được vấn đề chúng tôi đang gặp phải hay không?
  20. Câu trả lời là có!Chúng tôi có thể tiết kiệm một nửa lưu trữ và bộ nhớ, vàtuyệtvờihơn animation nuộtnàhơn frame base rấtnhiềuChỉtốn 1 nửa dung lượngmà animation nuộtnàhơnrấtnhiều
  21. Oh, đó không phải là điều duy nhất. Spine còn nhiều thứ hay ho hơn nữa
  22. Linhhoạtthứ 1: Làcóthểtựchuyểntiếpgiữa 2 animation 1 cáchtựđộngvàrấtmượt=> làm mượt mà sự chuyển giao giữa các animationCách tay từ từ đưa xuống và có sự chuyển giao
  23. Lậptrìnhđượcchuyểnđộng:Điềukhiểnkhungxươngđượctrong codeChúngtacóthểdùng code đểđiềukhiểnxương:nhưcáchbạncóthểthấy, chúngtacóthểđiềukhiểnxươngtaytheohướngnhấtđịnhtrongkhinhânvậtvẫnđi
  24. Lậptrìnhthứ 2:Chúngtacóthểkếthợpđượcvớicác engine vậtlí (vd Chipmunks / Box2D) trêntừngbộphận, kếtquảdạtđượcxácđịnhvachạmđượcchuẩnhơnỞ dạngframebaseluônlàhìnhchữnhậtnhưngvới skeletal based animaitonthìbạncóthểtươngtáctrêntừngbộphậncủanhânvật
  25. Spine córấtnhiềuđiểmtuyệtvờituynhiêncũngcó 1 điểmhạnchếnhấtđịnh
  26. Nó tiêu thụ nhiều CPU(chíp) và GPU(cardmànhình) trong thời gian chạy (trong so sánh với frame base animation)Chúng tôi đã làm một thử nghiệm nhỏsắpxếprấtnhiềunhânvậtđangchuyểnđộnglênmànhìnhvàđosựkhácbiệtvề frame rate giữa 2 dạng animationFPS là: frame hình trên 1s
  27. Vàđâylàkết quả: Màuxanhthểhiện: Frame based animationMàuđỏthểhiện: Skeletal based animationNếudùng skeletal based animation trên 50 nhânvậtthì frame rate sẽgiảmxuốngdướimức 60fpsTrongkhiđónếudùng Frame Base thìkểcảcóđến 200 nhânvậtthì frame rate vẫntrênmức 60fpsFrame rate: Sốlượng frame mà device cóthểvẽratrong 1s60FPS làmứclýtưởng
  28. Tóm lại, đây là những gì đáng ghi nhớ của 15 phút vừa qua:Spine là một công cụ làm2D skeletal animation tuyệt vời cho gameNólinhhoạt, lậptrìnhđượcchuyểnđộng, dung lượngnhỏTuynhiênlạitốnnhiềuvềtínhtoánxửlí. >Vìvậychúngtanêndùngcả 2 cáchlàm animation trong game
  29. Vàlàmsaođểkếthợp 2 dạng animation trong game:Frame Base animation cho các nhân vật nhỏ, nhiềuđôngSkelatal based animation cho các nhân vật rất lớn, chi tiết hoặc những nhânvậtmìnhmuốnđiềukhiểntrong game.Chắchẳnbạnsẽbănkhoănliệuvới 1 phầnmềmmớinhưvậy, liệunócóđáng tin đểsửdụng hay không?
  30. Và điều đó đã được chúng tôikiểmchứng khi đoạt giải nhất tham dự hội nghị game quốc tế: Casual connect Asia 2013Một phần thành công lớn của chúng tôi là từ animation trong game, nó quá nuột nà, và hầu như ai xem cũng rất bất ngờ.Game của chúng tôi cũng được rất nhiều publichsher chú ý đến và trong đó có 2 công ty: Kongregate của Anh phát hành Kingdom RushWorker Bee của Nhật chuyên nội địa hóa gameBước đầu thành công chúng tôi sẽ cố gắng hết mình phát triển thật tốt game UA Và các thể hiện game độc đáo, cá tính, có nét riêng để cho gamer trong và ngoài nước yêu thích.
  31. Cảmơncácbạnđãlắngnghebàichiasẻcủamình, nếucócâuhỏi hay thắcmắcvề Spine animation mìnhxinsẵnsànggiảiđápvớicácbạnFrame base animation: xuấtrachuỗiảnhModuler animation : Không có xương, cũng tách riêng các bộphânSkeletal based: Tách riêng và có bone để điều khiển
  32. Vì spine ra đúng thời điểm tôi cầnThằng làm Spine lại là tác giả của 1 framework làm game khác lib GDX (tương tự cocos)Vì nó cũng là thằng làm game, mình tin tưởng và nó hiểu game cần gì, mình tin tưởng vào điều đó