Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Skeletal animation for 2D games
Search
tkragelj
February 20, 2018
Technology
19
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Skeletal animation for 2D games
Using Spine app to create skeletal animations for 2D games.
tkragelj
February 20, 2018
Other Decks in Technology
See All in Technology
How to Design Configuration for Rails Applications
willnet
1
770
DevelopersIO 2026 知識の地図を描く ─ オントロジーとは何か?
ishikawa_satoru
1
1.7k
re:Invent初参加で変わったこと、2回目にやってみたいこと(JAWS-UG彩の国埼玉 #12)
mhrtech
2
220
Rust で関数型ドメインモデリング
takonda
0
140
Code for Security プロジェクト紹介 2026年10月
yu23ki14
0
110
夫婦で子育てするための育児標準化
codmoninc
PRO
0
330
AIがコードを書く時代に、エンジニアは何で自分の価値を証明するのか / In an era where AI writes code how do engineers prove their value
carta_engineering
3
1.1k
QA4AI 2026-Oct 生成AI時代の品質保証
tokuty
1
860
スプシの手作業からの解脱 ~更新はClaude Codeに、見せ方と使い方はGASアプリに任せる~
kentarofujii
0
150
『SAR衛星データ解析入門』のご紹介とその応用
syuchimu
0
120
ブラウザとサーバーから考えるAI時代のフロントエンド監視
shogo4131
3
940
JAWS-UGグッズ職人仕事の流儀
kentapapa
0
100
Featured
See All Featured
A Guide to Academic Writing Using Generative AI - A Workshop
ks91
PRO
1
520
The AI Revolution Will Not Be Monopolized: How open-source beats economies of scale, even for LLMs
inesmontani
PRO
3
3.8k
Reflections from 52 weeks, 52 projects
jeffersonlam
356
22k
[Rails World 2026] Durable orchestration on Rails: from continuation to workflow
palkan
1
750
Documentation Writing (for coders)
carmenintech
77
5.6k
How to Get Subject Matter Experts Bought In and Actively Contributing to SEO & PR Initiatives.
livdayseo
0
220
From π to Pie charts
rasagy
1
400
The Illustrated Children's Guide to Kubernetes
chrisshort
51
53k
Marketing to machines
jonoalderson
1
5.9k
Faster Mobile Websites
deanohume
310
32k
Balancing Empowerment & Direction
lara
6
1.3k
Tell your own story through comics
letsgokoyo
1
1.1k
Transcript
Skeletna animacija Za 2D igre
Paddler
Izziv / K1 » Hitri a nestabilni kajaki » Različne
animacije za različna stanja
Možnosti » Sličica za vsak frame » Drevesna struktura
Za kulisami » cocos2dx » Drevesna struktura
Za kulisami » cocos2dx » Drevesna struktura » !! Kako
animirat? "
Animacije
Animacije
Animacije
Animacije
Osnova animacij » Rotacija » Translacija » Skaliranje
Osnova animacij » Rotacija » Translacija » Skaliranje » Starš
→ otrok
!! Kako animirat? » Ročno = duhamorno ! » Editor
= veliko dela " » Kosti in sklepi? 2D? #
Spine
Spine Drevesna struktura
Spine Kosti in sklepi
Spine Kosti in sklepi
Spine Animacije
Spine Animacije
Spine Animacije
Spine Uporaba v programu » Izvoz v datoteke: skeleton.json skeleton.atlas
skeleton.png
Spine Uporaba v programu » Uvoz preko runtime: » cocos2dx
» HTML5 » Unity » SpriteKit » ... (20+ uradnih, 50+ third party)1 1 http://esotericsoftware.com/spine-runtimes
Spine Uporaba v programu SkeletonAnimation *node; node = SkeletonAnimation::createWithJsonFile("skeleton.json", "skeleton.atlas");
// Spine nastavitve node->setAnimation(0, "paddle-normal", true); // cocos2dx nastavitve node->setPosition(27, 295); parentNode->addChild(node);
Spine Uporaba v programu SkeletonAnimation *node; node = SkeletonAnimation::createWithJsonFile("skeleton.json", "skeleton.atlas");
// Spine nastavitve node->setAnimation(0, "paddle-normal", true); // cocos2dx nastavitve node->setPosition(27, 295); parentNode->addChild(node);
Spine Dogodki void setStartListener(const StartListener& listener); void setInterruptListener(const InterruptListener& listener);
void setEndListener(const EndListener& listener); void setDisposeListener(const DisposeListener& listener); void setCompleteListener(const CompleteListener& listener); void setEventListener(const EventListener& listener); void setTrackStartListener(spTrackEntry* entry, const StartListener& listener); void setTrackInterruptListener(spTrackEntry* entry, const InterruptListener& listener); void setTrackEndListener(spTrackEntry* entry, const EndListener& listener); void setTrackDisposeListener(spTrackEntry* entry, const DisposeListener& listener); void setTrackCompleteListener(spTrackEntry* entry, const CompleteListener& listener); void setTrackEventListener(spTrackEntry* entry, const EventListener& listener); Primer: node->setAnimation(0, "game-over", false); node->setCompleteListener([&](spTrackEntry *entry) { ... });
Spine Zanimivosti » Hitrost animacije: node->setTimeScale(0.5); » Horizontal/vertical flip: node->setScaleX(isFlipped
? -1 : 1); node->setScaleY(isFlipped ? -1 : 1); » Prelivanje animacij: auto animation = node->setAnimation(0, "paddle-normal", true); animation->mixDuration = 0.4;
! KONEC!!! » Cena in nekaj alternativ:2 Program Cena Spine3
$69 / $199 Creature $99 / $299 Moho 12 $399 Spriter $60 » @tomsbarks » Vprašanja? 3 http://esotericsoftware.com 2 https://www.slant.co/topics/588/~best-2d-skeletal-animation-tools