Structure GDQuest 的 Mannequin Project 裏,在不談 Camera Rig 的情況下,只有三個主要的 Sc[…]
Continue reading …
Structure GDQuest 的 Mannequin Project 裏,在不談 Camera Rig 的情況下,只有三個主要的 Sc[…]
單用 GetMetrics() 所取得的物件高度 (metrics.height),在畫小寫的 y 或類似的字元時會發生誤差。而且字元上方也[…]
[2021/02/26 Update] These is a much easier way to handle this kind of […]
這篇筆記是紀錄用 DirectWrite 在遊戲或一般 application UI 中寫文字會用到的東西。 IDWriteFactory […]
這問題卡了我整整一天半,差點要開一個 Daily WTF catalog 來放這篇文章了。 問題很簡單,我要開一個 Direct2D 的 B[…]
Change the font, measure the text string area and draw the text Hint: […]
我們在 WinProc onPaint() 事件中,可以用下面的方法取得目前 Window Size // get window’s inf[…]
Login Server / Game Server 要寫一個 Login Server 要考慮。 Player 在 Login 時,和 L[…]
SSL_accept / SSL_read 在 EPOLL 告知 server fd 有 EPOLLIN 事件時,代表有有一個或多個新的連線[…]