To use Direct2D, first you need to include “d2d.h” and lin[…]
Continue reading …
To use Direct2D, first you need to include “d2d.h” and lin[…]
This article shows how to work with bitmap using win32 API, includes r[…]
Change the font, measure the text string area and draw the text Hint: […]
我們在 WinProc onPaint() 事件中,可以用下面的方法取得目前 Window Size // get window’s inf[…]
The “RPG” homework in Chapter 3 第三章 (http://www.yhorng.com[…]
在 C/C++ Tutorial, Goal-Oriented Style (2) 中,有一個問題是如何用遞迴 (Recursive) 算出[…]
Login Server / Game Server 要寫一個 Login Server 要考慮。 Player 在 Login 時,和 L[…]
物件導向總結 這篇會提到稍微進階,但是依然是很常用的二個東西,一個是 Smart Pointer,一個是 Thread,最後還會稍微提一下 […]
目標 本章最後會寫一個回合制的 RPG 遊戲,怪物是個物件,玩家是個物件,整個世界地圖也是個物件。 物件 (Object) 物件 (Obje[…]
目標 本章最後會玩成一個仿生態系進化的模擬遊戲,使用者在棋盤上某些位置放置生物後,觀察是否能繼續繁衍下去。會學到的東西有: 以 C/C++ […]