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
Common Lisp製のゲームエンジンTrialについてすこし
Search
t-sin
May 26, 2022
Programming
1.5k
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Common Lisp製のゲームエンジンTrialについてすこし
Shibuya.lisp lispmeetup #103
で発表したときの資料です。
t-sin
May 26, 2022
More Decks by t-sin
See All by t-sin
Lispの紹介 〜 令和最新版
tsin45
0
860
Carp言語さわってみた 〜鯉を取り戻せ編〜
tsin45
0
1.4k
Common Lispでのゲームボーイエミュレータ実装進捗報告 vol.1
tsin45
0
960
Other Decks in Programming
See All in Programming
iOSDC Japan 2026 - Swiftで作って学ぼう!データベース自作入門
kaseken
2
170
XHTMLが残したもの
yosuke_furukawa
PRO
2
810
変化を抱擁するドキュメントの作り方 - ビジネスルール駆動開発がもたらす、コードとの新しい関係
ioki
2
210
すこし踏み込む CancellationToken
htkym
1
500
Intent as Code
shoppingjaws
6
1k
Augmenting AI with the Power of Jakarta EE
ivargrimstad
0
170
TiDB Cloudのカスタムコントローラーによるオートスケール対応
takaidohigasi
0
130
Streamlitで実現する自然言語データアプリ開発
ayumu_yamaguchi
1
290
アクセシビリティから考える情報設計
high_g_engineer
0
380
FreeBSDでZabbixを動かす
kenkino
0
310
GKE で Pod の見方を変えたら、スケールアウト時の挙動を真に捉えられた話
stkk
0
130
AWS Step Functions 大規模並列の壁を越える / jaws-sonic-2026-niigata-step-functions
kasacchiful
PRO
1
490
Featured
See All Featured
コードの90%をAIが書く世界で何が待っているのか / What awaits us in a world where 90% of the code is written by AI
rkaga
63
46k
Sam Torres - BigQuery for SEOs
techseoconnect
PRO
0
540
Beyond borders and beyond the search box: How to win the global "messy middle" with AI-driven SEO
davidcarrasco
3
240
Documentation Writing (for coders)
carmenintech
77
5.5k
A Guide to Academic Writing Using Generative AI - A Workshop
ks91
PRO
1
470
Agile that works and the tools we love
rasmusluckow
331
22k
Building Adaptive Systems
keathley
44
3.2k
It's Worth the Effort
3n
188
29k
HDC tutorial
michielstock
2
870
Build The Right Thing And Hit Your Dates
maggiecrowley
39
3.4k
Digital Ethics as a Driver of Design Innovation
axbom
PRO
1
430
Building Flexible Design Systems
yeseniaperezcruz
330
41k
Transcript
Common Lisp製のゲームエンジン Trialについてすこし @t-sin 2022-05-26 lispmeetup #103
ゲームエンジン: Trial • Common Lispのライブラリをたくさん書いてる Shinmeraさん作のゲームエンジン – https://github.com/Shirakumo/trial • SteamストアにあるゲームKandria
(early access)に使ってる – メトロイドヴァニアという探索系2Dアクションっぽい – https://store.steampowered.com/app/1261430/Kandria/ • Shinmeraさんのソフトウェアといえばこのへんが有名? – https://shirakumo.github.io/radiance/ – https://github.com/portacle/portacle
ゲームエンジンについて • ゲーム開発に特化した共通プログラムのこと • 単なるライブラリから統合開発環境までいろんな形態のものがある • ゲームに特殊化してない共通プログラムを「ミドルウェア」といっ て区別したりする – 3Dグラフィック向けとかサウンド向けとか
– 区別するものの、境目はあいまいっぽい • 参考: Wikipediaの『ゲームエンジン』の記事 – ゲームエンジンの一覧、こんなにあるのかーとなれるのでオススメ
ゲームエンジンの形態 • 統合開発環境型 – 大規模: Unity、Unreal Engine、Godot、 – 中〜小規模: RPGツクール、WOLFエディタ、吉里吉里(Z)
• ライブラリ型 – SDL (Simple DirectMedia Layer)、DXライブラリ • API型 – Direct X • ……境目はあいまい – DXライブラリは3Dグラフィックライブラリとも捉えられるし Direct XはマルチメディアAPIとも言える
Trialは? • 現時点ではライブラリ型っぽい • Kandria用に別途マップエディタを用意してあるもよう – https://twitter.com/Shinmera/status/1512750290474311681 – https://twitter.com/Shinmera/status/1466359294945894403 –
https://twitter.com/Shinmera/status/1403729050531663877 • まだドキュメントはほとんどない – 使いたい場合は参照実装のゲームリポジトリのコード読んでとなってる – https://github.com/shinmera/vpetjam
trial.asdを眺めてみる • 太字はShinmeraさん製 • • • • • • •
感想: – 生OpenGL、varjo (Lisp→GLSLコンパイラ)未使用 – サウンドのライブラリは含まれてない (自作はされている) – パーティクルエンジン (flare) 内蔵 – COM (com-on) とか DOM操作 (lquery) とか何につかってるんだ…?? :depends-on (:alexandria :3d-vectors :3d-matrices :verbose :deploy :closer-mop :trivial-garbage :trivial-indent :bordeaux-threads :cl-opengl :cl-gamepad :cl-ppcre :pathname-utils :flare :for :flow :glsl-toolkit :fast-io :ieee-floats :float-features :lquery :static-vectors :mmap :messagebox :form-fiddle :lambda-fiddle :jsown :zpng (:feature :linux :clx) (:feature :windows :com-on)))
まとめ • Common Lisp製ゲームエンジンTrialについて述べた – Steamに出せるくらいの本格ゲームがつくれる – 現状はまだ他人がさくっと使えない – もしかしたらKandriaのレベルエディタはリポジトリとして生えるかも?
• 「ゲームエンジン」についてちょろっと解説した • Trialの中をasdファイルだけ覗いた – 依存ライブラリの自作率すごい – もうちょっとディープに中を見たかったけど今回むりだった