SlideShare una empresa de Scribd logo
1 de 32
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)

Más contenido relacionado

La actualidad más candente

TMD2063 | Digital Animation - Chapter 3
TMD2063 | Digital Animation - Chapter 3TMD2063 | Digital Animation - Chapter 3
TMD2063 | Digital Animation - Chapter 3Diyana Harithuddin
 
Dot net in social gaming
Dot net in social gamingDot net in social gaming
Dot net in social gamingYan Cui
 
Media evaluation question 4 - Hardware
Media evaluation question 4 - HardwareMedia evaluation question 4 - Hardware
Media evaluation question 4 - Hardwareroma zeps
 
Production experiments
Production experimentsProduction experiments
Production experimentsBenDix4
 
Evaluation task 6
Evaluation task 6Evaluation task 6
Evaluation task 6JoeTapner
 
DirectX11 Tessellation by Zulfa
DirectX11 Tessellation by ZulfaDirectX11 Tessellation by Zulfa
DirectX11 Tessellation by ZulfaAgate Studio
 

La actualidad más candente (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 a 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 Lobbmochimedia
 
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 FortuneNaughty Dog
 
「原神」におけるコンソールプラットフォーム開発
「原神」におけるコンソールプラットフォーム開発「原神」におけるコンソールプラットフォーム開発
「原神」におけるコンソールプラットフォーム開発Unity Technologies Japan K.K.
 
Animation Programming Techniques
Animation Programming TechniquesAnimation Programming Techniques
Animation Programming TechniquesAmir H. Fassihi
 
CUSA advert
CUSA advertCUSA advert
CUSA advertBradle
 
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 TycoonJean-Philippe Doiron
 
Confrontation Pipeline and SCons
Confrontation Pipeline and SConsConfrontation Pipeline and SCons
Confrontation Pipeline and SConsslantsixgames
 
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 Quangogdc
 
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 html5Son Aris
 
Stop-Motion-Animation.ppt
Stop-Motion-Animation.pptStop-Motion-Animation.ppt
Stop-Motion-Animation.pptraketeeraph
 
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 & HybridAlex 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 DevelopmentChris 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 JenkinsTomas Doran
 
Smooth Animations for Web & Hybrid
Smooth Animations for Web & HybridSmooth Animations for Web & Hybrid
Smooth Animations for Web & HybridFITC
 
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 macOSBSides Delhi
 
Ghajini - The Game Development
Ghajini - The Game DevelopmentGhajini - The Game Development
Ghajini - The Game DevelopmentImran K
 
The Settler 7- 포스트모템
The Settler 7- 포스트모템The Settler 7- 포스트모템
The Settler 7- 포스트모템drandom
 

Similar a 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- 포스트모템
 

Más de 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 nguyenogdc
 
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 hoangogdc
 
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 Haiogdc
 
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 Duyogdc
 
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 Scammellogdc
 
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 Giangogdc
 
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 Danhogdc
 
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.Keroogdc
 
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 Quangogdc
 
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 Thanhogdc
 
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 Truongogdc
 

Más de 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
 

Último

Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessPixlogix Infotech
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUK Journal
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?Antenna Manufacturer Coco
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsJoaquim Jorge
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 

Último (20)

Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 

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)

Notas del editor

  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 đó