Gather Town 教學: 活用 Active Image
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
認識互動式元件
在 gather town 裡面可以透過上傳圖片的方式,製作出客製化的物品。如果想要讓客製化的物品多一些變化,只要把物品設置為互動式物件(interactive object)即可。
互動物件和一般物件不同,當人物進入(此時會出現按下x鍵即可進行互動的訊息)。如果沒有特別需求,一般我們會把物品設為 Note object。 該物件按下x鍵時,會出現預設的訊息。(注意: message 部分一定要填(可以隨便填個空格之類的),不然不能 select。)
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
預備知識
1.物件的大小
地圖上每一格的大小是32x32個pixels。所以一個40x70個pixels的圖片上傳後會變成一個大小為2x3格的物件,並且右邊會有24個pixels寬的空白,下面會有26個pixels寬的空白。
2. Activation distance
從物品所擺放的格子往外開始算的觸發範圍。下圖是一個大小為 3x2 格的物件。如果 Activation distance 是 3,那麼整個觸發範圍會是 9x8 格(如下圖所示,也就是上下左右各拓展 3 格)。如果 distance設為 0 則只有直接站在該物件上才能觸發。
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
3. Active image (在 advanceed options 中)
當物品被觸發後,顯示出來的圖片。這個圖片如果和原本的大小不同,會以對齊原始圖片左上角的方式來呈現觸發後的圖片。
基本教學範例
1. 物品變化
當 object image 和 active image 不同時,觸發時就會產生變化。
例如 object image 使用
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
,active image 使用
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
就會產生以下的效果。
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
2. 物品出現
當 object image 使用空白圖片時,觸發時就會產生物品突然出現的效果。
例如 object image 使用空白圖片
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
,active image 使用
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
就會產生以下的效果。
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
3. 物品消失
當 active image 使用空白圖片時,觸發時就會產生物品突然消失的效果。
例如 object image
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
,active image 使用 使用空白圖片
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
就會產生以下的效果。
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
進階範例
1. 對話框
原圖是 npc 圖片
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
,而希望觸發後是帶有對話的圖片
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
。 此時 active image 設為有對話的圖片,但是 object image 不能直接使用只有 npc 的圖片。必須要從帶有對話的圖片把對話用修圖修掉,進而得到一個大小相同的圖片
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
才可以作為 object image。 否則觸發後人物的位置會跑掉。
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
2. 物品變大
如果原圖是大小 1x1 的寶可夢,希望觸發後變成大小為 5x5 的寶可夢。
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
如果直接使用的話,變大的寶可夢中心位置會跑掉。
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
變成
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
3. 物品在指定位置出現。
如果我們今天想走到左邊的祭壇時,在畫面的中心顯示大小為 15 x9 格的題目圖片
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
因為觸發的位置與題目圖片左上角相差10格,所以我們可以把題目圖片的原始圖片設為 1x11的空白圖片 (下圖白色框框的部分), activation distance 設為 0,active image 設為題目圖片即可。
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
練習題
如果你已經掌握以上技巧,請試著想想怎麼做出下面的效果。
1. 簡易的動畫
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
2.
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
後記
Active image 的原理很簡單,但是只要巧妙地使用產生很多的變化。就像變魔術一樣,手法往往很簡單,如何呈現才是最重要的部分。歡迎大家一起分享你的創意!
最後提供一些免費工具。
一個免費的地圖編輯器,是製作地圖的好用工具
線上免費的修圖軟體,可以用來點燈的效果。