Discuss Scratch

  • Discussion Forums
  • » 中文
  • » 為什麼我的射擊遊戲在暫停時可以按照指示做,開始時卻不能? [RSS Feed]
amywww
New Scratcher
2 posts

為什麼我的射擊遊戲在暫停時可以按照指示做,開始時卻不能?

為什麼我的射擊遊戲在暫停時可以按照指示做,開始時卻不能?

satulation
Scratcher
100+ posts

為什麼我的射擊遊戲在暫停時可以按照指示做,開始時卻不能?

能给我看看吗?

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

meow
amywww
New Scratcher
2 posts

為什麼我的射擊遊戲在暫停時可以按照指示做,開始時卻不能?

好的,設計的很基礎簡單,請見諒!

http://scratch.mit.edu/projects/47699838/
MOMOBB
Scratcher
18 posts

為什麼我的射擊遊戲在暫停時可以按照指示做,開始時卻不能?

你有沒有用:

点击绿旗时
satulation
Scratcher
100+ posts

為什麼我的射擊遊戲在暫停時可以按照指示做,開始時卻不能?

你…没…分…享…

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

為什麼我的射擊遊戲在暫停時可以按照指示做,開始時卻不能?

把这个脚本放到任意一个角色里:
当按下 [暂停键 v]
将变量 [暂停 v] 的值设定为 [((1) - (变量“暂停”)) ]

把下面这个脚本放入你想暂停的脚本中:
在 <[变量“暂停”] = [0 ]> 之前一直等待

这样放:
(你的脚本)
在 <[变量“暂停”] = [0 ]> 之前一直等待

Last edited by scratchsucker02 (March 31, 2015 09:48:09)


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

為什麼我的射擊遊戲在暫停時可以按照指示做,開始時卻不能?

scratchsucker02 wrote:

把这个脚本放到任意一个角色里:
当按下 [暂停键 v]
将变量 [暂停 v] 的值设定为 ((1) - (变量“暂停”))

把下面这个脚本放入你想暂停的脚本中:
在 <(暂停) = [0 ]> 之前一直等待

这样放:
(你的脚本)
在<(暂停)= [0 ]> 之前一直等待
我帮你改进了一下

Last edited by satulation (April 25, 2015 04:18:29)


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

為什麼我的射擊遊戲在暫停時可以按照指示做,開始時卻不能?

satulation wrote:

scratchsucker02 wrote:

把这个脚本放到任意一个角色里:
当按下 [暂停键 v]
将变量 [暂停 v] 的值设定为 ((1) - (变量“暂停”))

把下面这个脚本放入你想暂停的脚本中:
在 <(暂停) = [0 ]> 之前一直等待

这样放:
(你的脚本)
在<(暂停)= [0 ]> 之前一直等待
我帮你改进了一下
谢了!对了,你又换头像了?

Last edited by scratchsucker02 (April 25, 2015 13:41:43)


when green flag clicked
forever
想办法解决别人的问题/think hard to solve others' problems
end
  • Discussion Forums
  • » 中文
  • » 為什麼我的射擊遊戲在暫停時可以按照指示做,開始時卻不能? [RSS Feed]

Powered by DjangoBB