- I work on the server side of online games: network protocols, game logic, in-game economies and the tools that keep a live server running
- I build netcode for real-time games: authoritative servers, client prediction, lag compensation and bandwidth tuning
- I make 2D game asset tools for maps, sprites and bitmap fonts that run in the browser or on the command line
- I work with MySQL / SQL Server for game data: schema design, backups and performance
|
Authoritative server for 2D side-scrolling multiplayer: client prediction with zero corrections, interpolation, lag compensation, delta snapshots and view culling.
|
Describe game packets once in YAML, including bit fields and conditional fields, then generate encoders and decoders for Java, C#, TypeScript and C++, a Wireshark dissector and a reference document.
|
|
Isometric and staggered map editor in the browser. Reads and writes Tiled maps and renders them pixel for pixel like Tiled.
|
View Aseprite files and export sprite sheets, GIFs per tag, scaled and per layer, in the browser or from the command line.
|
|
Check, convert and make BMFont bitmap fonts, including SDF and MSDF, or build one from a .ttf.
|
Lint Tiled maps for missing files, out of range tiles, overlapping or unused tilesets, locally or in GitHub Actions.
|
- colyseus/schema#245 (merged): reject collections of collections with a clear error when the schema is defined
- melonjs/melonJS#1759 (merged): place tile objects on isometric maps where Tiled draws them
- pixijs/pixijs#12324 (merged): add a safariFontDelay option so HTMLText can skip the fixed 100ms font wait in Safari
- melonjs/melonJS#1766 (merged): project isometric collision shapes with the map tile ratio instead of a fixed 2:1
- diasurgical/DevilutionX#8808 (merged): fix the build with UNPACKED_MPQS=ON by always including the mod identity header
- adamhathcock/sharpcompress#1497 (merged): flush the final block when a DeflateStream is disposed with leaveOpen: true
- fallahn/tmxlite#187 (merged): resolve tileset and template paths relative to their own file so templates in subfolders load
- philterd/phileas-dotnet#200 (merged): stop the ZIP code filter from flagging five digits hyphen-joined to a longer identifier such as
2026-00847 - mini-software/MiniExcel#1052 (merged): honor ReadEmptyFieldsAsDefault for CSV files read with a header row
- MapsterMapper/Mapster#1036 (merged): escape control characters in char and string constants so translated expressions and generated code compile
- RevenantX/LiteNetLib#621 (merged): cut strings before a surrogate pair when truncating to maxLength so NetDataWriter no longer throws on emoji at the limit
- ncalc/ncalc#645 (merged): keep Guid values in ToExpressionString output instead of dropping them
- quartznet/quartznet#4363 (merged): a calendar with no base calendar no longer equals the same calendar layered over one, making the six calendar Equals symmetric
- NLog/NLog#6380 (merged): parse integer literals outside the Int32 range in conditions instead of throwing OverflowException
- mini-software/MiniExcel#1059 (merged): strip enclosing quotes before unescaping CSV fields so fields made only of quotes round-trip
- kaplayjs/kaplay#1184 (merged): make AudioPlay.time() follow playback speed, detune and seek instead of reporting a stale position
- porsager/postgres#1286 (merged): retry a LISTEN reconnect when its first attempt fails
- nissl-lab/npoi#1938 (merged): XSSFWorkbook.ForceFormulaRecalculation keeps the value that was assigned
- WerWolv/ImHex#2936 (merged): the pattern language accepts the Instruction type in every syntax, not only default
- quartznet/quartznet#4380 (merged): port the symmetric calendar Equals fix to the 3.x line, shipping in 3.22.11
- ncalc/ncalc#646 (merged): escape quotes, backslashes and line breaks when serializing string literals, so ToExpressionString output parses back
- RevenantX/LiteNetLib#622 (merged): throw instead of silently writing a wrapped length when an array has more than 65535 elements for its ushort length header
- quartznet/quartznet#4398 (merged): calendars in different time zones no longer compare equal, so the five typed calendar Equals check TimeZone like BaseCalendar does
- adamhathcock/sharpcompress#1503 (merged): write tar mtimes before 1970 or after 2242 in base-256 for GNU format instead of overwriting the size field, and read GNU tar's base-256 times
- fallahn/tmxlite#188 (merged): zstd-compressed tile layers no longer fall through to the zlib path, so maps saved with zstd load their tiles
- mini-software/MiniExcel#1066 (merged): column names past IV, such as IW and XFD, now resolve to their real column index instead of failing
- xoofx/Tomlyn#143 (merged): write the fractional seconds of DateTime and DateTimeOffset values, so sub-second times round-trip instead of being cut to whole seconds
- xoofx/SharpYaml#182 (merged): decimal members read with UseSchema keep their full precision instead of going through double and stopping at about 15 digits
- scriban/scriban#695 (merged): string.slice1 and the Liquid slice filter return an empty string when a negative start lands before the string, instead of throwing
- duckdb/duckdb-node-neo#538 (merged): DATE infinity values print as infinity and -infinity, matching DuckDB, instead of as dates one day past the DATE range
- fallahn/tmxlite#189 (merged): stop on truncated zlib data instead of growing the buffer until allocation fails, and stop reading past the end of short base64 layer data
- genaray/Arch#324 (merged): exclusive queries no longer match archetypes that also have a component whose id sits in a higher bitset word, which showed up once a project had more than 32 component types
- mini-software/MiniExcel#1067 (merged): the data reader's GetChars returns the field length when called with a null buffer, as IDataRecord documents, instead of always returning 0
- duckdb/duckdb-node-neo#547 (merged): TIMESTAMP_S and TIMESTAMP_MS infinity values print as infinity and -infinity, matching DuckDB, instead of as out-of-range timestamps
- adamhathcock/sharpcompress#1506 (merged): tar entry names, link targets and the ustar prefix keep their leading and trailing spaces instead of being trimmed, so entries such as " notes.txt" and "notes.txt " no longer collapse into one file
- perpetualKid/GetText.NET#60 (merged): fix the built-in plural rules for Arabic, Icelandic and Tachelhit, so counts such as 103, 21 or 0 pick the right translated form
- ncalc/ncalc#648 (merged): ToExpressionString writes DateTime values in a form the #...# date literal parser accepts and keeps milliseconds, so expressions with dates parse back in 12-hour cultures too
- colyseus/schema#261 (merged): encode a lone surrogate (a string cut in the middle of an emoji) as U+FFFD so the length header matches and the values after it decode correctly
- fallahn/tmxlite#190 (merged): read tile probability as Tiled's relative weight, so fractional weights such as 0.5 no longer become 0 and a weight of 2 no longer ranks below the default
- fallahn/tmxlite#191 (merged): text objects without a color attribute default to black like Tiled, so text drawn with Tiled's default color no longer loads as white
- mini-software/MiniExcel#1072 (merged): CSV rows with more fields than the header row, such as a trailing separator, now leave out the extra fields instead of throwing KeyNotFoundException
- philterd/phileas-dotnet#204 (merged): the redaction format replaces
%lwith the label or an empty string and supports%vfor the original value, instead of leaving both in the output - perpetualKid/GetText.NET#61 (merged): GetParticularPluralString fills the count into the translated string like GetPluralString, and GetParticularString uses the catalog's FormatProvider, so context plurals no longer show a raw {0}
- Hexagon/croner-rust#94 (merged): cron descriptions say "every N" only when a stepped field holds the same values as */N, so ranges such as 1-6/2 are no longer described as every 2 months
- adhocore/gronx#88 (merged): an open-ended weekday step such as 1/2 runs up to 7, so it now also matches Sunday like 1-7/2
- perpetualKid/GetText.NET#62 (merged): compiled plural rules evaluate && and || as short-circuiting logical operators like the interpreted rules, so 2 && 4 is true and a guarded division by zero no longer throws
- Hexagon/croner-rust#98 (merged): cron descriptions no longer call a step wider than its field "every N", so */100 minutes reads as minute 0, and every second or minute of stepped hours reads "Every minute, of every 2 hours"
- mini-software/MiniExcel#1076 (merged): the exception for too many empty cells in a range names
OpenXmlConfiguration.MaxSynthesizedCellsand how to turn it off, and the limit is documented in the README and upgrade notes - perpetualKid/GetText.NET#63 (merged): plural rules give <, >, <= and >= higher precedence than == and != like GNU gettext, so 3 != 2 < 1 evaluates to 1 instead of 0
- Hexagon/croner-rust#99 (merged): cron descriptions of a stepped year range name its years, so 2024-2030/2 reads "every 2 years from 2024 to 2030" instead of dropping the range
- 專注在線上遊戲的伺服器端:封包協定、遊戲邏輯、經濟系統,以及營運用的管理工具
- 做即時遊戲的連線同步:權威伺服器、客戶端預測、延遲補償與流量優化
- 做 2D 遊戲素材工具:地圖、sprite、點陣字型,網頁和命令列都能用
- 處理遊戲資料用的 MySQL/SQL Server:結構設計、備份與效能調整
| 專案 | 說明 |
|---|---|
| sidescroll-net | 橫向捲軸多人連線的權威伺服器:客戶端預測(修正量 0)、內插、延遲補償、快照差量與視野裁切(線上試玩) |
| pktspec | 用一份 YAML 描述遊戲封包(支援位元欄位與條件欄位),產生 Java、C#、TypeScript、C++ 讀寫程式、Wireshark 外掛與文件;diff 檢查新舊版相容、fuzz 產生測試資料 |
| isotiles | 網頁版等角與交錯式地圖編輯器,讀寫 Tiled 地圖,渲染與 Tiled 逐像素一致(線上試用) |
| aseview | Aseprite 檢視與匯出:sprite sheet、逐標籤 GIF、放大、逐圖層,網頁與命令列都能用(線上試用) |
| fntview | BMFont 點陣字型檢查與轉檔,支援 SDF/MSDF,也能從 .ttf 產生字型(線上試用) |
| tiledcheck | Tiled 地圖檢查:缺檔、超出範圍的圖塊、重疊或沒用到的 tileset,可放進 GitHub Actions |
- colyseus/schema#245(已合併):多人連線狀態同步庫,巢狀集合在定義時就給出清楚的錯誤,不再到執行時才莫名失敗
- melonjs/melonJS#1759(已合併):HTML5 遊戲引擎,等角地圖上的圖塊物件改成放在 Tiled 畫的位置,不再偏移
- pixijs/pixijs#12324(已合併):2D 繪圖引擎,HTMLText 新增 safariFontDelay 選項,字型已載入時 Safari 不必再固定等 100ms
- melonjs/melonJS#1766(已合併):HTML5 遊戲引擎,等角地圖的碰撞形狀依圖塊比例投影,非 2:1 圖塊不再左右拉伸
- diasurgical/DevilutionX#8808(已合併):經典 ARPG 的開源移植,開啟 UNPACKED_MPQS 時一律引入 mod 標頭檔,修好編譯失敗
- adamhathcock/sharpcompress#1497(已合併):.NET 壓縮函式庫,DeflateStream 以 leaveOpen: true 關閉時補寫最後的壓縮區塊,不再輸出空資料
- fallahn/tmxlite#187(已合併):C++ Tiled 地圖讀取庫,物件範本與其圖塊集改從各自所在目錄解析路徑,放在子資料夾的範本不再讀不到
- philterd/phileas-dotnet#200(已合併):.NET 個資遮蔽函式庫,郵遞區號過濾器不再把
2026-00847這類用連字號接在較長編號後的五位數誤判為郵遞區號 - mini-software/MiniExcel#1052(已合併):.NET Excel/CSV 讀寫庫,有標題列的 CSV 也套用 ReadEmptyFieldsAsDefault,空欄位改回型別預設值
- MapsterMapper/Mapster#1036(已合併):.NET 物件對應庫,運算式轉成 C# 程式碼時跳脫字元與字串常數裡的換行等控制字元,產生的程式碼不再無法編譯
- RevenantX/LiteNetLib#621(已合併):C# 可靠 UDP 網路庫,字串依 maxLength 截斷時不再切開代理字元對,長度上限處有 emoji 的訊息不再送出失敗
- ncalc/ncalc#645(已合併):.NET 運算式求值庫,ToExpressionString 輸出時保留 Guid 值,不再被吞掉變成空字串
- quartznet/quartznet#4363(已合併):.NET 排程函式庫,沒有基底的行事曆不再等於套了基底的同一份行事曆,六種行事曆的 Equals 改為對稱
- NLog/NLog#6380(已合併):.NET 日誌函式庫,條件式裡超出 Int32 範圍的整數改為正常解析,不再丟出 OverflowException
- mini-software/MiniExcel#1059(已合併):.NET Excel/CSV 讀寫庫,CSV 欄位先去掉外層引號再還原跳脫,全是引號的欄位不再少一個引號
- kaplayjs/kaplay#1184(已合併):JavaScript 遊戲框架,AudioPlay.time() 會跟著播放速度、detune 與跳轉位置更新,不再回報過時的播放時間
- porsager/postgres#1286(已合併):Node.js PostgreSQL 驅動,LISTEN 第一次重連失敗時會繼續重試
- nissl-lab/npoi#1938(已合併):.NET 試算表函式庫,XSSFWorkbook.ForceFormulaRecalculation 會保留設定的值
- WerWolv/ImHex#2936(已合併):十六進位編輯器,模式語言的 Instruction 型別在所有語法都能用,不再只有 default 語法
- quartznet/quartznet#4380(已合併):.NET 排程函式庫,把行事曆 Equals 對稱的修正移植到 3.x 版,隨 3.22.11 發布
- ncalc/ncalc#646(已合併):.NET 運算式求值庫,序列化字串時跳脫引號、反斜線和換行,ToExpressionString 的輸出能再解析回來
- RevenantX/LiteNetLib#622(已合併):C# 可靠 UDP 網路庫,陣列超過 65535 個元素、放不進 ushort 長度欄位時直接丟例外,不再默默寫出錯誤的長度
- quartznet/quartznet#4398(已合併):.NET 排程函式庫,不同時區的同一份行事曆不再被判定相等,五種行事曆的 Equals 跟 BaseCalendar 一樣比對時區
- adamhathcock/sharpcompress#1503(已合併):.NET 壓縮函式庫,tar 的修改時間早於 1970 或晚於 2242 年時,GNU 格式改用 base-256 寫入,不再蓋到大小欄位,也能讀回 GNU tar 寫的這類時間
- fallahn/tmxlite#188(已合併):C++ Tiled 地圖讀取庫,zstd 壓縮的圖層不再掉進 zlib 分支,用 zstd 存的地圖能正確讀出圖塊
- mini-software/MiniExcel#1066(已合併):.NET Excel/CSV 讀寫庫,IV 之後的欄名(如 IW、XFD)能正確換算成欄位索引,不再失敗
- xoofx/Tomlyn#143(已合併):.NET TOML 函式庫,DateTime 與 DateTimeOffset 寫出時保留小數秒,不再被截成整秒
- xoofx/SharpYaml#182(已合併):.NET YAML 函式庫,開啟 UseSchema 時 decimal 欄位保留完整精度,不再先轉成 double 只剩約 15 位
- scriban/scriban#695(已合併):.NET 樣板引擎,string.slice1 與 Liquid 的 slice 遇到超出字串開頭的負數起點時回傳空字串,不再丟例外
- duckdb/duckdb-node-neo#538(已合併):DuckDB 的 Node.js 用戶端,DATE 的正負無限大印成 infinity 與 -infinity,跟 DuckDB 一致,不再印成超出範圍一天的日期
- fallahn/tmxlite#189(已合併):C++ Tiled 地圖讀取庫,截斷的 zlib 資料改為回報錯誤不再無限加大緩衝區,base64 圖層資料不足時不再讀過結尾
- genaray/Arch#324(已合併):C# ECS 函式庫,排他查詢不再誤配到多帶一個高編號元件的 archetype,元件種類超過 32 個時才會出現
- mini-software/MiniExcel#1067(已合併):.NET Excel/CSV 讀寫庫,資料讀取器的 GetChars 在緩衝區為 null 時照 IDataRecord 規範回傳欄位長度,不再一律回 0
- duckdb/duckdb-node-neo#547(已合併):DuckDB 的 Node.js 用戶端,TIMESTAMP_S 與 TIMESTAMP_MS 的正負無限大印成 infinity 與 -infinity,跟 DuckDB 一致,不再印成超出範圍的時間
- adamhathcock/sharpcompress#1506(已合併):.NET 壓縮函式庫,tar 的檔名、連結目標和 ustar 前綴保留開頭與結尾的空白," notes.txt" 和 "notes.txt " 不再被讀成同一個檔案
- perpetualKid/GetText.NET#60(已合併):.NET gettext 翻譯庫,修正阿拉伯語、冰島語與塔切希特語的內建複數規則,數量 103、21、0 等不再選錯翻譯句
- ncalc/ncalc#648(已合併):.NET 運算式求值庫,ToExpressionString 把 DateTime 寫成 #...# 日期常值能解析的格式並保留毫秒,12 小時制地區的輸出也能再解析回來
- colyseus/schema#261(已合併):多人連線狀態同步庫,從表情符號中間截斷留下的孤立代理字元改編碼成 U+FFFD,長度標頭對得上,後面的欄位不再解錯
- fallahn/tmxlite#190(已合併):C++ Tiled 地圖讀取庫,圖塊機率改照 Tiled 的相對權重讀取,0.5 這類小數權重不再變成 0,權重 2 也不再比預設值低
- fallahn/tmxlite#191(已合併):C++ Tiled 地圖讀取庫,沒有 color 屬性的文字物件改照 Tiled 預設為黑色,用預設顏色的文字不再讀成白色
- mini-software/MiniExcel#1072(已合併):.NET Excel/CSV 讀寫庫,有標題列的 CSV 某列欄位比標題多(例如結尾多一個分隔符號)時略過多出的欄位,不再丟 KeyNotFoundException
- philterd/phileas-dotnet#204(已合併):.NET 個資遮蔽函式庫,遮蔽格式的
%l換成分類標籤(沒有就留空),並支援用%v帶出原始值,不再把兩者原樣留在輸出 - perpetualKid/GetText.NET#61(已合併):.NET gettext 翻譯庫,帶情境的複數翻譯會像一般複數翻譯一樣代入數量,帶情境的翻譯也改用目錄設定的 FormatProvider,畫面不再出現原樣的 {0}
- Hexagon/croner-rust#94(已合併):Rust cron 解析庫,帶步長的欄位只有值跟 */N 相同時才描述成「每 N」,1-6/2 這類範圍不再被說成每 2 個月
- adhocore/gronx#88(已合併):Go cron 解析庫,星期欄沒寫終點的步長(例如 1/2)會算到 7,跟 1-7/2 一樣也會排到星期日
- perpetualKid/GetText.NET#62(已合併):.NET gettext 翻譯庫,編譯後的複數規則把 && 和 || 當成會短路的邏輯運算,跟直譯版一致,2 && 4 為真,被條件保護的除以零不再丟例外
- Hexagon/croner-rust#98(已合併):Rust cron 解析庫,步長比欄位範圍還大時不再描述成「每 N」,*/100 分改說成第 0 分;帶步長的小時前面接每秒或每分時,文法改成「Every minute, of every 2 hours」
- mini-software/MiniExcel#1076(已合併):.NET Excel/CSV 讀寫庫,範圍內空儲存格太多時丟出的例外會寫出控制它的
OpenXmlConfiguration.MaxSynthesizedCells和關閉方法,README 與升級說明也補上這個上限 - perpetualKid/GetText.NET#63(已合併):.NET gettext 翻譯庫,複數規則的比較運算(<、>、<=、>=)優先於 == 與 !=,跟 GNU gettext 一致,3 != 2 < 1 得 1 不再得 0
- Hexagon/croner-rust#99(已合併):Rust cron 解析庫,帶步長的年份範圍會描述出年份,2024-2030/2 說成「every 2 years from 2024 to 2030」,不再丟掉範圍



