Toggle navigation
Search
思元的開發筆記
Programming
Unity
LeetCode
Golang
Game Demos
Archive
Blog
About
思元的開發筆記
關於 web service, unity, blogger 等軟體工程筆記
×
Search dev.twsiyuan.com
讓 Google 不要針對網頁特定內容製作索引
2016-10-09 更新: Only for Google Search Appliance,一般的 Google 網頁搜尋是沒有作用的。 遇到問題找解法,在測試部落格搜尋結果時,意外發現關鍵字跟部落格文章搭不起來。經過研究後,發現是「熱門文章」這一個小工具所產生...
Read More
王思元
10:51 下午
網站
,
SEO
Global variables across share objects problem (Dynamic Linking Library in UNIX-like system)
We had a program which link multiple share objects, and those objects exported same different same functions but same name global variables...
Read More
王思元
1:11 下午
程式語言
,
C-plus-plus
Blogger 文章列表 (Blogger archive list page)
提示:2019-03-17 更新程式碼,使得能正確顯示全站的文章,採用新的 JavaScript 語法,老舊的瀏覽器可能無法運作 之前在找 Blogger 資料時發現的這一篇, Create an Archive List/Page for Blogger 。文章列表讓你...
Read More
王思元
2:23 下午
Blogger
Blogger 版面配置標籤 (Blogger Layout Tags)
最近為了將 Blogger 調整改版,研究並嘗試 Blogger 編排,做個筆記紀錄。 概觀 概觀來看的 HTML 大致上都是這樣,HTML 的標準,<html></html> 定義網頁內容;<head></head> 定義網...
Read More
王思元
5:26 下午
Blogger
C/C++ Size of LONG Integer varies between os and architecture
This is note about the size of ""long" integer varies between different OS and architecture. We deployed our KISS random numb...
Read More
王思元
10:55 下午
程式語言
,
C-plus-plus
Compile C/C++ share object in Linux using GCC and G++ (for dynamic linking library)
這是一份為了在 Linux 佈署專案的筆記,內容使用虛擬機器來建置 Linux 環境,將 C/C++ 的專案程式碼,透過 Code::Blocks IDE,使用 GCC G++ 來編譯 Share objects (*.so files)。 Linux 環境 ...
Read More
王思元
12:58 下午
軟體開發
,
C-plus-plus
,
Linux
較新的文章
較舊的文章
粉絲專頁
本週熱門
網誌存檔
贊助廣告
粉絲專頁
每周熱門
Unity rendering order 整理筆記
自從上次 GameJam 體驗在 Unity 中,使用 SpriteRenderer 可直接調整 Sorting layer 來決定 render 順序後,便一直很好奇其背後實作到底是什麼,為什麼改變一個數值便能調整 sprites 在 render 結果的先後順序,而不...
Unity 專案中 *.meta 做什麼用
最近團隊有人詢問 Unity 的 GUID 機制,在思考回答的過程中,順便把它整理成這篇筆記。如果要尋找能夠與工程團隊合作的 Unity 工程師,我想這一題應該會列在考題之中,meta 檔是做什麼用的?如果能回答出 Unity GUID 追蹤資源的機制,相信已經能夠滿足團隊...
Unity 遊戲存檔機制淺談,加密 (Encryption) 保護遊戲存檔防作弊
延續在 前一篇文章 中的議題。 前題,任何的加密機制只是增加破解難度,單機遊戲存檔若沒有特殊硬體的保護,幾乎都可以被破解,光是程式碼反編譯 (decompiling) 並且分析程式碼,便能知道該遊戲如何處理存檔加密,甚至能直接拿到加密用的金鑰 (key)。
學習 Unity 自製編輯器需要知道的三個管道 (Custom editor programming in Unity)
Unity 現在算是台灣業界常用的遊戲引擎之一,其功能不僅協助開發人員快速開發遊戲外,還提供讓開發人員自訂專案所需要的編輯器 (Editor)。 一位資深的程式設計師不僅得學習如何使用 Unity,撰寫架在 Unity 上的專案程式碼,甚至還需要學習如何開發 Unity ...
There are inconsistent line endings in the 'SomeScript.cs' script. Some are Mac OS X (UNIX) and some are Windows. 的處理方法
Unity 使用上常常遇到的警告,經常從 Unity Project 點選程式碼,使用預設的 IDE - Visual Studio 編輯程式碼後,回到 Unity 等待編譯完成後,會遇到丟出來的警告訊息:
Unity 遊戲存檔機制淺談,從序列化 (Serialization) 到儲存裝置 (Storage)
之前在社團看到的有趣問題,因此綜合以前的開發經驗,整理成這份筆記。
HTTP TimeoutHandler 所踩到的雷與解決方式,需要額外判斷 Request.Context() 的狀態
最近遇到在 HTTP 伺服器壓力測試時遇到棘手的問題,從 nginx logs 發現伺服器回應許多 HTTP 503 service unavailable 的錯誤,一路追蹤最終發現是程式碼實作錯誤,記錄其筆記提醒自己不要忘記這個雷。
在 Unity 使用 AssetBundles 實作簡易的遊戲資源打包以及更新機制
Unity 官方之前在 Asset Store 上有分享 AssetBundle Manager ,並提供官方教學文章介紹 AssetBundle 載入機制,我們參考該教學以及範例,因應遊戲設計考量,自己使用 Unity 提供的底層 AssetBundle API,製作...
Unity 開發者大會筆記 2017,優化x優化x優化
紀錄這次參加 Unity 開發者論壇,比較有印象的場次筆記。因為是開發者大會,所以大多是聽技術專場,而很大一部分都是在討論遊戲優化的議題。如何讓遊戲效能能夠穩定 FPS 60 以上,讓玩家擁有較好的遊戲體驗,而不是玩起來卡卡的,這是一個相當重要的議題。 而遊戲優化議...
AWS Beanstalk: 日誌 Logs 推送到 CloudWatch 之設定筆記
參考 Reference 章節的 AWS 文件,紀錄如何將部署 在 AWS Beanstalk 的服務所產生的日誌 (logs),設定 CloudWatch Logs agent 來自動推送至 CloudWatch,而不用每次發生問題得自己花時間去撈 logs……。 ...
網誌存檔
►
2018
( 27 )
►
10月
( 1 )
►
9月
( 1 )
►
8月
( 1 )
►
6月
( 3 )
►
5月
( 5 )
►
4月
( 4 )
►
3月
( 1 )
►
2月
( 6 )
►
1月
( 5 )
►
2017
( 59 )
►
12月
( 4 )
►
11月
( 3 )
►
10月
( 6 )
►
9月
( 5 )
►
8月
( 5 )
►
7月
( 5 )
►
6月
( 5 )
►
5月
( 4 )
►
4月
( 5 )
►
3月
( 8 )
►
2月
( 6 )
►
1月
( 3 )
▼
2016
( 44 )
►
12月
( 3 )
►
11月
( 2 )
►
10月
( 6 )
►
9月
( 4 )
►
8月
( 5 )
►
7月
( 4 )
►
6月
( 4 )
►
5月
( 2 )
►
4月
( 2 )
►
3月
( 3 )
▼
2月
( 6 )
讓 Google 不要針對網頁特定內容製作索引
Global variables across share objects problem (Dyn...
Blogger 文章列表 (Blogger archive list page)
Blogger 版面配置標籤 (Blogger Layout Tags)
C/C++ Size of LONG Integer varies between os and a...
Compile C/C++ share object in Linux using GCC and ...
►
1月
( 3 )
►
2015
( 1 )
►
12月
( 1 )
贊助廣告