main

1. MainActivity

public void gotoSecondActivity(View v){
Intent it = new Intent(this, SecondActivity.class);
startActivity(it);
}

bravohsiao 發表在 痞客邦 留言(0) 人氣()

1. Abstract 的重點在最後一行

2. Claim 的重點在找技術的關鍵字

3. 從 Patent Application 找到的專利比較新

4. 下載專利PDF方法: 進入Image頁面,右鍵檢視網頁原始碼,拉到最下面點附檔名為PDF的連結即可 

5. 看專利圖的方法: 印出來,找圖片裡的數字,對比說明,寫下註解,即可快速瞭解

bravohsiao 發表在 痞客邦 留言(0) 人氣()

XAMPP 包含Apache&MySQL

使用PHP語言,寫好後放在對應路徑,

開啟本機端XAMPP伺服器後即可將PHP檔內容顯示於瀏覽器上。

--------

20150528

bravohsiao 發表在 痞客邦 留言(0) 人氣()

問題如下:

android studio開以後出現錯誤訊息 且看不到gradle " Error:Unable to start the daemon process. This problem might be caused by incorrect configuration of the daemon. For example, an unrecognized jvm option is used. Please refer to the user guide chapter on the daemon at http://gradle.org/docs/2.2.1/userguide/gradle_daemon.html Please read the following process output to find out more: ----------------------- Error occurred during initialization of VM Could not reserve enough space for object heap Error: Could not create the Java Virtual Machine. Error: A fatal exception has occurred. Program will exit. "

解決方法1:

https://code.google.com/p/android/issues/detail?id=93641

解決方法2:

bravohsiao 發表在 痞客邦 留言(0) 人氣()

Android Studio 的 Spinner 設置方式與eclipse不太一樣

<參考>

1. 在strings.xml 新增(建議用手打字):
< string name = " choose_chocolate " > Choose Chocolate
< string-array name = " chocolate " >

bravohsiao 發表在 痞客邦 留言(0) 人氣()

Android Studio - R.java id 問題, 更新id, 找不到id

bravohsiao 發表在 痞客邦 留言(0) 人氣()

AndroidStudio裡的Rjava檔

bravohsiao 發表在 痞客邦 留言(0) 人氣()

1. 找不到src資料夾?

ANS: 將左上角的(app上面)"Android" 模式 改成"Project" 模式 即可看到

2. 如何建立assets資料夾?

ANS: 參考1 參考2

        (1): 打开 项目名称.iml 文件.

bravohsiao 發表在 痞客邦 留言(0) 人氣()

參考<這個>

1. 從原來的遊戲畫面要Load 選單時,使用 Application.LoadLevelAdditive("MoreStuff");

   而非 Application.LoadLevel("MoreStuff");

   因為Application.LoadLevelAdditive 直接將新的畫面疊加在原有的畫面上,

   而Application.LoadLevel 會將畫面重置

bravohsiao 發表在 痞客邦 留言(0) 人氣()

1. Unity本身提供了多種粒子樣式

點選[Assets]→[Import Package]→[Particles],之後點選[Import]將所有粒子材質匯入

2. 發射魔法軌跡

在物體移動過後留下長長的尾巴

製作子彈代表發射的魔法

bravohsiao 發表在 痞客邦 留言(0) 人氣()

// Load the level named "HighScore".
// 加载名为"HighScore"的关卡。

Application.LoadLevel ("HighScore");

bravohsiao 發表在 痞客邦 留言(0) 人氣()


參考: http://theunity3d.blogspot.tw/2012/04/find.html

尋找物件的方法有很多種

這邊我介紹幾種常用的

GameObject.Find("name"); //用名字尋找GameObject子物件

GameObject.FindWithTag("Tag"); //用Tag尋找物件(第一個物件)

bravohsiao 發表在 痞客邦 留言(0) 人氣()

1 2
Blog Stats
⚠️

成人內容提醒

本部落格內容僅限年滿十八歲者瀏覽。
若您未滿十八歲,請立即離開。

已滿十八歲者,亦請勿將內容提供給未成年人士。