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
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
Transcript
7 slides
キャンフェスにゲームを出そう -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
More Decks by Yuichi Sato
See All by Yuichi Sato
深層学習学習中
satoyuichi
0
55
深層学習はじめました
satoyuichi
0
65
瞑想アプリ
satoyuichi
0
53
SDF を作りたかった
satoyuichi
0
570
初めての iPhone ネイティブアプリ
satoyuichi
0
70
ミクちゃんが歌ったら 家に帰ろう
satoyuichi
0
26
体温記録送信アプリ
satoyuichi
0
34
コロナ横目にバージョンアップ
satoyuichi
0
87
本日のシェーダー芸
satoyuichi
1
830
Other Decks in Programming
See All in Programming
React Native経験者が Flutterを30⽇間触って驚いたこと
3saito
0
190
Growing PicoRuby's Ecosystem on ESP32
yuuu
2
140
はじめてのPLATEAU
nokonoko1203
1
650
自宅サーバはどこまで再現できるのか - Proxmox VE上のVM環境をIaCとバックアップで戻してみた
youto
0
360
止まらない比較を止める — 余帰納法で無限ストリームを比べる
tarao
0
190
React Native에 현대적인 빌드 도구 더하기: Rollipop 구현기
leegeunhyeok
0
180
手の動かし方がわからなかった私が個人開発者になるまで
usagi0920_pochi
0
120
ローカルLLMの基本と近況 2611 / Local LLM basics and recent situation 2611
kishida
2
500
graphql-ruby を Spinel で速くしようとした話
mtsmfm
0
150
RaspberryPi 5で軽くはじめるk3sとtailscaleを用いたホームサーバー構築 (1)
nasum
0
290
私なりのハーネスエンジニアリング ~独自の言語処理系の開発を通して~
seosoft
0
210
Secure Your Coding Agent Like It’s Malware (v1.5) 🇬🇧 @Code.talks 2026
richargh
0
160
Featured
See All Featured
Git: the NoSQL Database
bkeepers
PRO
433
67k
How to Align SEO within the Product Triangle To Get Buy-In & Support - #RIMC
aleyda
2
1.9k
技術選定の審美眼(2025年版) / Understanding the Spiral of Technologies 2025 edition
twada
PRO
121
130k
GraphQLとの向き合い方2022年版
quramy
50
15k
WENDY [Excerpt]
tessaabrams
15
41k
Skip the Path - Find Your Career Trail
mkilby
1
290
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
Believing is Seeing
oripsolob
1
280
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
35
2.6k
Visual Storytelling: How to be a Superhuman Communicator
reverentgeek
2
750
A Soul's Torment
seathinner
9
3.9k
Raft: Consensus for Rubyists
vanstee
143
7.9k