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
Simutrans本体2018年総まとめ
Search
Himeshi
December 08, 2018
0
980
Simutrans本体2018年総まとめ
シムトラ学会2018 in 京都( #シムトラ学会4 )で発表した話です。
2018年のシムトラ本体まわりの変化をまとめました。
Himeshi
December 08, 2018
Tweet
Share
More Decks by Himeshi
See All by Himeshi
(iOSDC Japan 2024) Concurrency Safe SwiftData - 並行安全なSwiftDataの使い方
teamhimeh
0
360
The Future of C++ Interoperability: Insights from Porting a Game to Swift
teamhimeh
0
780
iOSDC ポスター発表のすゝめ
teamhimeh
0
260
(iOSDC Japan 2023) ActorでCoreDataをスレッドから解放しよう
teamhimeh
2
1.6k
Featured
See All Featured
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
9
680
Speed Design
sergeychernyshev
24
570
How to Ace a Technical Interview
jacobian
275
23k
Raft: Consensus for Rubyists
vanstee
136
6.6k
Teambox: Starting and Learning
jrom
132
8.7k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
246
1.3M
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
47
5k
Intergalactic Javascript Robots from Outer Space
tanoku
268
27k
The Language of Interfaces
destraynor
154
24k
How STYLIGHT went responsive
nonsquared
95
5.2k
Art, The Web, and Tiny UX
lynnandtonic
296
20k
Making the Leap to Tech Lead
cromwellryan
132
8.9k
Transcript
4JNVUSBOTຊମ ૯·ͱΊ ͻΊ͠ɹ@himeshi_hob
Έͳ͞Μ 4JNVUSBOTͷ৽ػೳ ͍ͬͯ·͔͢ʁ
৽ػೳͳΜ͚ͯ͋ͬͨͬʁ !
·ͩͳΜͰ͚͢Ͳʜ " ˞ຊՈͷ࠷৽TUBCMFͰ͢
ࠓͷత ৽ػೳΛΓɺ୳ٻ͠Α͏
࣍ ंݿը໘ -POHDPOWPZ BOJNBUFEQFEFTUSJBOT ߴ্ݶͷҾ্͖͛
ऩࢧϝοηʔδͷ0/0'' QSJPSJUZTJHOBMɾMPOHCMPDLTJHOBM ΞυΦϯ໊ॏෳܯࠂ ಓ࿏৴߸ͷਐೖํ੍ޚ ൣғɾఫڈɾӺݐઃπʔϧ ެڞӺຽӦԽπʔϧ ࢢಓԽࢭΦϓγϣϯ XBZPCKͷִؒઃஔɾߴՍߴΦϑηοτ BEWBODF@UP@FOE TUBOEBSE 0531 0531
ंݿը໘ ɾ໊લͰݕࡧ ɾ໊લ༰ྔՁ֨ҡ࣋අ ͳͲͰฒͼସ͑ TUBOEBSE 0531 େྔͷΞυΦϯΛ ؆୯ʹѻ͑ΔΑ͏ʹͳͬͨ
-POH$POWPZ ɾ࠷େฤΛՄೳ ɾNBY@SBJM@DPOWPZ@MFOHUI ͳͲͷύϥϝʔλฤू͕ ඞཁ ɾॳظैདྷͲ͓Γ྆ ·Ͱ TUBOEBSE 0531 ը૾ɿχίχίమಓԣࢧࣾڦͳΜͯͳ͔ͬͨฤɹΑΓ
"OJNBUFE1FEFTUSJBOT TUBOEBSE 0531 าߦऀͷಈ͖Λ ΞχϝʔγϣϯʹͰ͖Δ ը૾ɿ1BL$PNJD"OJNBUFE1FEFTUSJBOT IUUQTGPSVNTJNVUSBOTDPNJOEFYQIQUPQJD NTHIUNMNTH ಈ͘าߦऀΞυΦϯ΄͍͠ʂ steps_per_frame
(internal steps per frame, straight movement across tile is 256 steps) image[dir][a] (dir - direction, a - animation counter, a=0,1,..)
ߴ্ݶͷҾ্͖͛ ऩࢧϝοηʔδͷ0/0'' TUBOEBSE 0531 ը૾ɿχίχίమಓԣࢧࣾڦͳΜͯͳ͔ͬͨฤɹΑΓ ɾߴ্ݶ Լݶ ɾXPSME@NBYJNVN@IFJHIUͷ มߋ͕ඞཁ ɾϛχϚοϓͷߴදࣔઃఆ
ʹԠͯ͡৭͕มΘΓ·͢ ɾදࣔઃఆ͔Βऩࢧϝοηʔδ ͷ0/0''Λ੍ޚՄೳ ɾڌӺͷԕܠ͕ࣈͰຒ·Δ ͷΛ͑ΒΕ·͢
ࡾݱࣔ৴߸ 1SJPSJUZ4JHOBM TUBOEBSE 0531 ࡾݱࣔ৴߸͕࿈ଓˠ࿈ଓͯ͠༧ ࡾݱࣔ৴߸ΞυΦϯ΄͍͠ʂ લํྻंͳ͠ ˠ࣍ͷด࠹༧ ด࠹ʹྻं ˠด࠹͚ͩ༧
ࡾݱࣔ ৴߸ ී௨ͷ ৴߸ ී௨ͷ ৴߸
༏ྻंͷͪ߹Θͤ 0531 ࡾݱࣔ৴߸ΞυΦϯ΄͍͠ʂ ࡾݱࣔ ৴߸ ී௨ͷ ৴߸ ଟด࠹ ৴߸ ଟด࠹৴߸ˠఀंӺΛ͑ͯ͜༧
ٸߦ ී௨ ڱ͍ྻंִؒͰεϜʔζͳӡߦ ٸߦ ී௨
ΞυΦϯ໊ॏෳܯࠂ TUBOEBSE ɾ໊લ͕ॏෳ͍ͯ͠ΔΞυΦϯʹ͍ͭ ͯىಈ࣌ʹܯࠂ͕ग़Δ ɾ4QBDFΩʔͰઌʹਐΉ͜ͱ͕Ͱ͖Δ ɾҟͳΔ04ؒͰ/4͢Δͱ͖ʹΞυΦ ϯෆҰகΛى͜͢ͷͰಋೖ͞Εͨ ˞0531ͰTIPXPWFSMBZΦϓγϣϯΛ͚ͭͨͱ͖ͷΈදࣔ͠·͢ ΞυΦϯෆҰகͷ͘͠Έ $BS
BCD $BS EFG $BS YYFS $BS ΞυΦϯ໊ɹɹϋογϡ 'JMF" 'JMF# $BS BCD $BS EFG $BS $BS BCD $BS YYFS $BS 8JOEPXT 6CVOUV ϋογϡςʔϒϧ FTWE WW[XT νΣοΫαϜ 8JOEPXT#ˠ" 6CVOUV"ˠ#ɹͰಡΈࠐΈ
ɾैདྷͷ৴߸ೆͷΈ ˠӈં͕Ͱ͖ͳ͍ʂ ɾ࣌ؒ͝ͱʹਐೖՄೳํΛ ࢦఆͰ͖ΕΑ͍ ɾ্ଆͷ৴߸Ͱ͋Ε ೆˠৗ࣌ਐೖڐՄ͢Δ ɾަࠩͰͷं྆ͷཱͪԟ ੜࢭ େަࠩ༻৴߸ΞυΦϯ΄͍͠ʂ ಓ࿏৴߸ਐೖํ੍ޚ
0531 ౦ํ͕੨ʹͳ͍ͬͯΔैདྷܕಓ࿏৴߸
ൣғɾఫڈɾӺݐઃπʔϧ ެڞӺຽӦԽπʔϧ 0531 ൣғఫڈπʔϧ ެڞԽπʔϧ TIJGUΩʔ ˣ ӺબதͷϓϨΠϠʔॴଐʹ ൣғπʔϧ ൣғݐݐઃπʔϧ
ɾࢢಓԽɾDJUZDBSͷਐೖͷ Մ൱Λݐઃ࣌ʹࢦఆՄೳ ɾ3JCJ"SSPXදࣔπʔϧͰ ಓ࿏ʹ৭͚͞Ε·͢ ப͕ϚεִؒͷՍઢΞυΦϯ΄͍͠ʂ ࢢಓԽࢭΦϓγϣϯ XBZPCKִؒઃஔɾߴՍߴΦϑηοτ ߴ Ϛε͓͖ ˣࢢಓԽ͠ͳ͍
ˢDJUZDBSਐೖېࢭ ˢࢢಓԽ͠ͳ͍ઃఆͳͷͰ ৭ʹண৭͞Ε͍ͯΔ ˣߴՍߴ ˢՍઢִؒ ɾDUSMΩʔΛԡ͠ͳ͕ΒΞυ ΦϯΛબͯ͠ઃఆ ɾحߴͷߴՍΛݐઃՄೳ 0531
BEWBODF@UP@FOE 0531 ɾྻं͕ࢦఆͨ͠ϚεΛઌ಄ ʹͯ͠ࢭ·ΔΑ͏ʹͳΔ ɾBEWBODF@UP@FOEΛ0'' ʹ͢Δ͜ͱͰ༗ޮ ɾϗʔϜ͕Γͳ͍߹ ͕ͯ͢ऩ·Δ·Ͱલਐ