From Test-Scratch-Wiki

Trails on sprites create a type of fireworks effect. Here is a photo
Sprite trail effect.PNG
Listed below are two ways to make a sprite have a trail

用分身的方式

當 @greenflag 被點擊
重複無限次 
  分身 [自己 v] 建立
end

當分身產生
重複 (5) 次 
  效果 [幻影 v] 改變 (20) // 100/the above number
end // replace this with an estimate of how long you want your trail
分身刪除

用画笔的方式

Create a big square the color of the background and put the following code in it:

當 @greenflag 被點擊
圖層下移 (1) 層
尺寸設為 (150) %
定位到 x: (0) y: (0)
重複無限次 
  效果 [幻影 v] 設為 (20)
  蓋章
end

and the following code in the sprite to have a trail:

當 @greenflag 被點擊
重複無限次 
  蓋章
end
Cookies help us deliver our services. By using our services, you agree to our use of cookies.