頂置文

========================= [頂置文開始] =========================
獨立遊戲「蠟筆大冒險」專頁

JJKid 常出沒地點:




========================= [頂置文結束] =========================

2024年4月3日 星期三

使用Unity,在本地端使用 New Input System,讓不同輸入設備分別控制各自的角色

 因為覺得寫流程有點麻煩,這次嘗試著錄影片,但是好像沒有比較快XD。


補充一下影片裡沒有提到的。影片裡示範的情境是電腦裡只有裝一支控制器,所以用 Gamdpad.current 來抓到該設備。如果電腦裡裝著多支手把要怎麼處理?

可以用 Gamepad.all 列出所有控制器設備。

用 Gamepad.all.Count 可以取得清單長度。

用 Gamepad[0] 可以抓到個別的設備。

另外一點是提供給 PlayerInputManager 的 Player Prefab 物件,上面一定要掛 Player Input 這個元件,不然會出錯。


2022年3月26日 星期六

Google Play APP 隱私權政策

 本開發者於Google Play上提供之所有應用程式,均符合以下隱私權政策規範:


當您使用APP功能時,我們將視該服務功能性質,請您提供必要的APP系統權限,並在該特定目的範圍內處理及利用您的個人資料; 本APP不會將個人資料用於其他用途。本人不會於任何伺服器會自行記錄相關行徑,包括您使用連線設備的IP位址、使用時間、使用的瀏覽器、瀏覽及點選資料記錄等。 


本APP其他第三方APP的網路連結或廣告SDK行為,不適用本網站的隱私權保護政策,您必須參考該連結網站中或該廣告公司的隱私權保護政策。 


本APP絕不會提供、交換、出租或出售任何您的個人資料給其他個人、團體、私人企業或公務機關。 


本網站隱私權保護政策將因應需求隨時進行修正,修正後的條款將刊登於網站上。


All apps provided by this developer, on Google Play are subject to the following privacy policy: When you use the APP function, we will regard the nature of the service function, you provide the necessary APP system permissions, and within the scope of the specific purpose of handling and use of your personal information; this APP will not use personal data for other purposes .


I will not automatically record any action on any server, including the IP address of the device you are using, the time of use, the browser you are using, browsing, and clicking on data records. This APP's other third party APP's web link or advertisement SDK's behaviour does not apply to the privacy policy of this site, you must refer to the privacy policy in the link site or of the advertisement company.


 The APP will never provide, exchange, rent or sell any of your personal information to other individuals, groups, private enterprises or public authorities. The privacy policy of this site will be amended at any time in accordance with the needs, the revised terms will be published on the website.

2021年1月1日 星期五

使用Unity,自製小鬧鐘 GG Easy Timer

花了點時間做一個小鬧鐘。對啦,做鬧鐘。對啦,用 Unity。一直以來我都是用一個小軟體叫作 Easy Timer,它提供了自訂鬧鐘功能。那不是重點,覺得 Easy Timer 真正好用之處在於它讓我很容易看到「時間的流逝」,提醒自己專心。

然而之前不曉得怎麼回事,可能水逆吧,鬧鐘變得要響不響的一直出問題,重開機也無效。可是我真的很愛它可以看到時間流逝的功能,那就自己寫一個吧,命名為 GG Easy Timer。

執行檔在此下載


繼續閱讀有開發心得

2020年9月8日 星期二

簡單比較 Unity Anima2D 與 2D Animation

整理心得,來比較二套骨架軟體的優缺點。

選手一:Anima2D,Unity 官方套件。

選手二:2D Animation,也是 Unity 官方套件。


網內互打開始。

2020年6月5日 星期五

用 After Effects 製作帶有 Alpha 的 Webm 影片 (並使用 Unity Video Player 播放)

前提,為什麼需要輸出成 Webm?
因為使用 Unity VideoPlayer 播放帶有 Alpha 格式的影片就必須是 Webm。

看看最終在 Unity 的測試結果,真的會透明。 (廢話)

2020年5月16日 星期六

Unity 載入帶有Animator 之 Bundle 出現動畫不合法的問題

遇到一個奇怪的問題,載入 Asset Bundle 建立物件 (GameObject.Instantiate) 時出現這個奇怪的錯誤訊息。

The Animator Controller you have used is not valid. Animations will not play



反覆檢查後發現是動畫 Clip 沒有載入造成的。

2020年4月20日 星期一