Discuss Scratch

  • Discussion Forums
  • » 中文
  • » 我設計的遊戲 為什麼想換背景時 不是會跳成其他背景 就是在原本的背景 [RSS Feed]
leoxdd
New Scratcher
1 post

我設計的遊戲 為什麼想換背景時 不是會跳成其他背景 就是在原本的背景

我的角色只要碰到特定顏色就會變成其他背景,但是背景總是都沒有變或變成其他的背景 請各位大大幫忙一下
scratchsucker02
Scratcher
100+ posts

我設計的遊戲 為什麼想換背景時 不是會跳成其他背景 就是在原本的背景

给角色加上这个脚本:(当绿旗被点击)
(重复执行)
(如果“碰到颜色(指定颜色)“ 那么
(广播 “信息”)
(结束“如果)
(结束 “重复执行”)

给背景加上这个脚本:(当接收到“信息”时)
(将背景设为“指定背景”)

Last edited by scratchsucker02 (Feb. 19, 2015 04:09:02)


when green flag clicked
forever
想办法解决别人的问题/think hard to solve others' problems
end
scratchsucker02
Scratcher
100+ posts

我設計的遊戲 為什麼想換背景時 不是會跳成其他背景 就是在原本的背景

点击绿旗时
重复执行

如果 <碰到颜色 [#ff0088]> 那么
广播 [ v]

end

end

这是角色应该加的脚本

Last edited by scratchsucker02 (Feb. 19, 2015 04:21:29)


when green flag clicked
forever
想办法解决别人的问题/think hard to solve others' problems
end
scratchsucker02
Scratcher
100+ posts

我設計的遊戲 為什麼想換背景時 不是會跳成其他背景 就是在原本的背景

当接收到 [ v]
将背景切换为 [ v]

这是背景应该加上的脚本

when green flag clicked
forever
想办法解决别人的问题/think hard to solve others' problems
end
MOMOBB
Scratcher
18 posts

我設計的遊戲 為什麼想換背景時 不是會跳成其他背景 就是在原本的背景

如果 <碰到颜色 []> 那么
将背景切换为 []
end

這應該可以幫你!
satulation
Scratcher
100+ posts

我設計的遊戲 為什麼想換背景時 不是會跳成其他背景 就是在原本的背景

一个更简易的版本:
点击绿旗时
重复执行
如果 <碰到颜色 [#ff0088]> 那么
将背景切换为 [ v]

end

end

Check out this Waffle Clicker!
Support fade back here!
And check out super wars!
Take a toothbrush and go to toothpaste room!

meow
SunGodTemple
Scratcher
7 posts

我設計的遊戲 為什麼想換背景時 不是會跳成其他背景 就是在原本的背景

点击绿旗时

点击绿旗时

点击绿旗时

点击绿旗时
移动 (8) 步
重复执行

end
JHCFKG
Scratcher
10 posts

我設計的遊戲 為什麼想換背景時 不是會跳成其他背景 就是在原本的背景

点击绿旗时
重复执行

如果 <碰到 [<碰到颜色 [#ff0088]> v]> 那么
将背景切换为 [ v] 并等待

end

end
satulation
Scratcher
100+ posts

我設計的遊戲 為什麼想換背景時 不是會跳成其他背景 就是在原本的背景

TO楼上:”将背景切换为。。。并等待“是给舞台用的,“碰到颜色。。。”是给角色用的,两者拼不成一个脚本。

Check out this Waffle Clicker!
Support fade back here!
And check out super wars!
Take a toothbrush and go to toothpaste room!

meow
scratchsucker02
Scratcher
100+ posts

我設計的遊戲 為什麼想換背景時 不是會跳成其他背景 就是在原本的背景

点击绿旗时
重复执行

如果 <碰到颜色 [#ff0088]> 那么
将背景切换为 [ v]

end

end

when green flag clicked
forever
想办法解决别人的问题/think hard to solve others' problems
end
  • Discussion Forums
  • » 中文
  • » 我設計的遊戲 為什麼想換背景時 不是會跳成其他背景 就是在原本的背景 [RSS Feed]

Powered by DjangoBB