Skip to content

Yih Horng

Programmer and Gamer

分類:Programming

Make a Common “Damage Number” Animation Using Godot, PaintNet and Bitmap Font Generator

這篇文章講的是如何做一個遊戲中常見的會跳動的傷害值動畫,長得像下面的圖示。 會用到的有 Bitmap Font Generator Pain[…]

Continue reading …

Node/Scene structure in Godot C++ Programmer Perspective

Godot 裡的最基本元素是 Node,概念上等同 C++ Class。 當我們為一個 Node 附加 GDScript 時,就是準備在 s[…]

Continue reading …

Direct2D quick start Start a Direct2D program in a standard win32 application

To use Direct2D, first you need to include “d2d.h” and lin[…]

Continue reading …

Working with HBITMAP (win32 api) Read from external file, Get raw data and Create one programmatically

This article shows how to work with bitmap using win32 API, includes r[…]

Continue reading …

Win32 Font Study load font from external file / get font metrix / draw text in custom byte array

Change the font, measure the text string area and draw the text Hint: […]

Continue reading …

Win32 Titlebar How to get the real drawable window size / Remove the Titlebar and Border

我們在 WinProc onPaint() 事件中,可以用下面的方法取得目前 Window Size // get window’s inf[…]

Continue reading …

Login Server for Massive User Sinlge login server with multiple game servers

Login Server / Game Server 要寫一個 Login Server 要考慮。 Player 在 Login 時,和 L[…]

Continue reading …

Implement openssl server in edged triggered (ET) mode Use SSL_accept / SSL_write / SSL_read with non-blocking socket

SSL_accept / SSL_read 在 EPOLL 告知 server fd 有 EPOLLIN 事件時,代表有有一個或多個新的連線[…]

Continue reading …

Blockchain and Bitcoin Brief introduction for entry level programmer

What kind of problem blockchain try to solve? 跟 Blockchain (區塊鍊) 功能最相近[…]

Continue reading …

Build OpenSSL on Windows (64bits) 在 Win64 上編譯 OpenSSL

在 Windows 上要編譯 OpenSSL (1.1.1-pre8 beta) 需要以下的工具 Perl 在這下載 https://www[…]

Continue reading …
  • Github
  • Linkedin
  • Email
  • Facebook

分類

  • C/C++ Tutorial
  • Computer Graphics
  • Daily log
  • Direct2D
  • Godot
  • Programming
  • Shader
  • Uncategorized
  • win32 api
Proudly powered by WordPress | Theme: Oblique by Themeisle.
  • Github
  • Linkedin
  • Email
  • Facebook