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
キャンフェスにゲームを出そう -StruckOut 編-
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Yuichi Sato
December 23, 2020
Programming
33
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
キャンフェスにゲームを出そう -StruckOut 編-
Yuichi Sato
December 23, 2020
More Decks by Yuichi Sato
See All by Yuichi Sato
深層学習学習中
satoyuichi
0
53
深層学習はじめました
satoyuichi
0
59
瞑想アプリ
satoyuichi
0
53
SDF を作りたかった
satoyuichi
0
550
初めての iPhone ネイティブアプリ
satoyuichi
0
69
ミクちゃんが歌ったら 家に帰ろう
satoyuichi
0
25
体温記録送信アプリ
satoyuichi
0
32
コロナ横目にバージョンアップ
satoyuichi
0
87
本日のシェーダー芸
satoyuichi
1
800
Other Decks in Programming
See All in Programming
Foundry Localでエージェント開発
seosoft
0
190
AWS Step Functions 大規模並列の壁を越える / jaws-sonic-2026-niigata-step-functions
kasacchiful
PRO
1
440
iOSDC Japan 2026 - Swiftで作って学ぼう!データベース自作入門
kaseken
2
150
【高い買い物LT会】初任給で話題の国産フィジカルAIを買った話
akagami
PRO
0
150
選挙速報を多くのユーザーへ 届ける Live Activities 設計
hamayokokuririn
0
130
Building an Out-of-Order CPU
latte72
1
760
LL言語やWebフレームワークのPostgreSQL対応 〜DBの機能がユーザーに届くまで〜
kentaroutakeda
0
150
GKE で Pod の見方を変えたら、スケールアウト時の挙動を真に捉えられた話
stkk
0
110
信頼性の目標を誰も求めてない
shubox
0
510
iOS開発×AI駆動開発 〜最近使って便利だったスキルの話〜
nogu66
0
150
標準パッケージに uuid が追加された 背景から見る Go らしい意思決定 / go_127_uuid_decision
convto
5
6.4k
新人はどこまで自力でやり、どこからAIに頼るべきか/エンジニア育成に向き合う_先輩たちの悩みと知見共有会
toppan_digital_dev
1
610
Featured
See All Featured
HU Berlin: Industrial-Strength Natural Language Processing with spaCy and Prodigy
inesmontani
PRO
0
700
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
49
10k
BBQ
matthewcrist
89
10k
Making Projects Easy
brettharned
120
6.7k
The AI Search Optimization Roadmap by Aleyda Solis
aleyda
1
6.2k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
8.3k
SEO in 2025: How to Prepare for the Future of Search
ipullrank
3
3.8k
Bridging the Design Gap: How Collaborative Modelling removes blockers to flow between stakeholders and teams @FastFlow conf
baasie
0
700
Odyssey Design
rkendrick25
PRO
2
800
Raft: Consensus for Rubyists
vanstee
141
7.7k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.9k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
659
62k
Transcript
キャンフェスにゲームを出そう -StruckOut 編- 2021年12月23日 佐藤雄一
自己紹介 名前:佐藤 雄一(ゆーいち) 好物:エレキギター、(初期)仏教、Smalltalk Twitter:@satoyuichi80 趣味:読書、ギター練習、映画鑑賞
デモ
開発の思ひ出 Unity で作り始めたものの、「ミニゲーム程度だったら全部プログラミングした方が早い わ!」と思って、JavaScript でやり直した。 トータルの工数では気分的にはトントンな気がしているが、いらぬ苦労もいろいろした けど、そういう苦労が良い経験になりますよね。 隙間時間の8日程度で実装できて一安心。
構成 • Three.js: 3D 描画 • Cannon-es.js: 3D 物理演算 •
(Vue.js → UI 更新が面倒くさいという理由で無駄遣い) • Glitch: デプロイ先
苦労したところ • 表示と当たり判定の合致 ◦ 表示(Three.js)と当たり判定(cannon-es.js)は別物なので、初期に困惑した ◦ cannon-es-debuggerというのを使えば、視覚的に確認できるらしい? • すり抜け対策 ◦
初めて使ってみた Cannon-es.js ◦ リアルスケールに従ってパラメータを設定したところ、すり抜けまくり ◦ セオリーに従って、計算回数を調整したがうまくいかず … ◦ 仕方ないのでリアルは無視して、すり抜けにくい値に調整した • パラメータ調整 ◦ 結局、ゲームの面白さの肝はパラメータ調整 ◦ すり抜け対策にも時間を取られながらギリギリまで調整
資料 GitHub: https://github.com/satoyuichi/StruckOut Three.js: https://github.com/mrdoob/three.js Cannon-es: https://github.com/pmndrs/cannon-es Glitch: https://glitch.com/signin