Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
2017 TGDF - 從零開始的遊戲開發框架
Search
蒼時弦や
July 02, 2017
Technology
0
350
2017 TGDF - 從零開始的遊戲開發框架
Page 7 Video:
https://www.youtube.com/watch?v=QBYZAZlH9cw
蒼時弦や
July 02, 2017
Tweet
Share
More Decks by 蒼時弦や
See All by 蒼時弦や
2023 - RubyConfTW - Rethink Rails Architecture
elct9620
0
62
20230916 - DDDTW - 導入 Domain-Driven Design 的最佳時機
elct9620
0
320
2023 - WebConf - 選擇適合你的技能組合
elct9620
0
520
20230322 - Generative AI 小聚 ft. Happy Designer
elct9620
0
260
2022 - 默默會 - 重新學習 MVC 的 Model
elct9620
1
380
MOPCON 2022 - 從 Domain-Driven Design 看網站開發框架隱藏
elct9620
1
410
2022 - COSCUP - 我想慢慢寫程式該怎麼辦?
elct9620
0
210
2022 - COSCUP - 打造高速 Ruby 專案開發流程
elct9620
0
230
2021 - RubyKaigi - It is time to build your mruby VM on the microcontroller?
elct9620
0
190
Other Decks in Technology
See All in Technology
クラウド利用者の「責任」をどう果たす?AWSセキュリティ対策のススメ #AWSSummit
hiashisan
0
270
20240724_cm_odyssey_hibiyatech
hiashisan
0
110
20240717_イケコパ代表Copilot_in_Teams会社でこう使ってます
ponponmikankan
2
430
[2024最新版]AWS Control Towerを使ったセキュアなマルチアカウント環境の作り方
hiashisan
0
270
OSSコミットしてZennの課題を解決した話
dyoshikawa1993
0
150
さらに高品質・高速化を目指すAI時代のテスト設計支援と、めざす先 / AI Test Lab vol.1
shift_evolve
0
190
コンテナ・K8s研修 - 前半 コンテナ基礎・ハンズオン【MIXI 24新卒技術研修】
mixi_engineers
PRO
0
170
セキュリティ研修 Day1【MIXI 24新卒技術研修】
mixi_engineers
PRO
0
160
Azure AI ことはじめ
tsubakimoto_s
0
130
[NIKKEI Tech Talk]Bias for Action!! 実践から学ぶための仕組とコミュニティ / Community for Practice and Learning
kanamasa
0
270
累計ダウンロード数1億8000万を超えるアプリケーションプラットフォームのレガシーシステム脱却とモダン化への道
kmitsuhashi
0
120
目標設定は好きですか? アジャイルとともに目標と向き合い続ける方法 / Do you like target Management?
kakehashi
10
3k
Featured
See All Featured
What's in a price? How to price your products and services
michaelherold
239
11k
WebSockets: Embracing the real-time Web
robhawkes
59
7.2k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
26
2.1k
How To Stay Up To Date on Web Technology
chriscoyier
784
250k
GraphQLの誤解/rethinking-graphql
sonatard
59
9.6k
Writing Fast Ruby
sferik
623
60k
Designing for Performance
lara
604
67k
Building Better People: How to give real-time feedback that sticks.
wjessup
357
18k
No one is an island. Learnings from fostering a developers community.
thoeni
17
2.8k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
245
1.2M
How GitHub (no longer) Works
holman
305
140k
Gamification - CAS2011
davidbonilla
78
4.9k
Transcript
從零開始的 遊戲開發框架 Photo from https://www.pexels.com/
WEB DEVELOPER GAME DEVELOPER 襟 儘 䓛⛳ @elct9620
None
None
想做個自己的遊戲引擎
CG from http://www.rpgmakerweb.com/
None
None
None
None
Magica & Seeker
build :main do dynamic_library "sdl2" include_path "extra/include" define :debug flag
"-Wall" source "src/**/*.cpp" dest "build" use :cxx end Magicafile
Seeker Engine mruby Game (C++/Ruby)
RubyVM GameObject C++ GC Bad Address 1 2
RubyVM GameObject (Ruby Object) C++ GC 2 1 Create Ruby
Object
Hiro Framework
mruby Hiro Framework
mruby Hiro Core Hiro Renderer …
Data_Get_Struct( mrb, self, &hiro_scene_type, data ); Type Reference
Premature Optimization Is the Root of all evil
Hiro mruby Hiro.rb … Core Engine
Ruby Script Hiro RubyVM SDL inih …
Domain Specific Language
Character.define :aotoki do name 'Aotokitsuruya' animations( stand: animation('char/stand01.png'), walk: animation('char/walk01.png')
) end DSL Sample
Scene.define :starter do character(:aotoki).say 'Hi, Player' say 'Welcome to use
DSL in your game' confirm 'Are you read to start?' do yes do goto :first_level end no do exit_game end end end DSL Sample
Makes Programmers Happy
Q&A