宜蘭縣教育支援平台 會員登入 會員註冊 我的i教書

« 上一篇 | 下一篇 »

Scratch 2.0
《得分變數》《倒數計時》

在一個遊戲中,(得分)與(倒數計時)常常是一起出現,可以增加遊戲的趣味性與挑戰性。

以下是小忠忠老師想的一個很簡單範例,希望您能體會並活用(得分)與(倒數計時)的變數。

(1)用方向鍵移動(小貓咪)去碰觸分數球得分。

(2)在限時20秒的時間內,得分要剛好21分(得分=21),才算成功,否則失敗。

(3)【請點選綠旗,可線上執行程式

【遊戲分析】:

1.小貓咪(說話)遊戲規則,利用(廣播)開始遊戲。

2.小貓咪用方向鍵來控制移動方式。

3.新增製作(得分)與(倒數計時)變數。

4.新增(得分球)角色,有加分與減分。

5.新增(成功-win)與(失敗-Fail)的角色。

6.編寫判斷式:

    ※得分=21分,廣播(成功)呼叫(成功角色),停止全部程式。
       (注意:這裡的得分是=21分成功,得分大於或小於21分,都算失敗)
   
※時間結束,得分不等於21分,廣播(失敗)呼叫(失敗角色),停止全部程式。

 【教學錄影】:

(可選擇右下角在Youtube網站上以全螢幕觀看較清楚)

1.小貓咪(說話)遊戲規則,利用(廣播)開始遊戲。

2.小貓咪用方向鍵來控制移動方式。

3.新增製作(得分)與(倒數計時)變數。

4.新增(得分球)角色,有加分與減分。


5.新增(成功-win)與(失敗-Fail)的角色。

6.編寫判斷式:
    ※得分=21分,廣播(成功)呼叫(成功角色),停止全部程式。
       (注意:這裡的得分是=21分成功,得分大於或小於21分,都算失敗)
    ※時間結束,得分不等於21分,廣播(失敗)呼叫(失敗角色),停止全部程式。

 

【練習範例】

 

 




創用授權(CC)-姓名標示-非商業性-相同方式分享 2.5 台灣版
 
 
用LINE傳送

  1. Re: (03-4)Scratch 2.0【得分】與【倒數計時】變數的應用練習。(影音版)

    This is my first time visit here. From the tons of comments on your articles,I guess I am not only one having all the enjoyment right here!

    [回覆] cenote azul Tulum 迴響於 22 二月, 2021 13:07

  2. Re: (03-4)Scratch 2.0【得分】與【倒數計時】變數的應用練習。(影音版)

    this is really nice to read..informative post is very good to read..thanks a lot!

    [回覆] youtube shares 迴響於 22 二月, 2021 00:00

  3. Re: (03-4)Scratch 2.0【得分】與【倒數計時】變數的應用練習。(影音版)

    This is just the information I am finding everywhere. Thanks for your blog, I just subscribe your blog. This is a nice blog..
    playa del carmen

    [回覆] ssad 迴響於 14 二月, 2021 00:36

  4. Re: (03-4)Scratch 2.0【得分】與【倒數計時】變數的應用練習。(影音版)

    Very lovely article gonna share this to my friends!

    [回覆] https://dentalimplantsdesmoinesia.com 迴響於 13 二月, 2021 20:47

  5. Re: (03-4)Scratch 2.0【得分】與【倒數計時】變數的應用練習。(影音版)

    Admiring the time and effort you put into your blog and detailed information you offer!..
    ساختمان هوشمند

    [回覆] asdasd 迴響於 04 二月, 2021 23:46

  6. Re: (03-4)Scratch 2.0【得分】與【倒數計時】變數的應用練習。(影音版)

    Great Information sharing .. I am very happy to read this article .. thanks for giving us go through info.Fantastic nice. I appreciate this post.
    schlüsseldienst köln

    [回覆] asdsad 迴響於 03 二月, 2021 17:52

  7. Re: (03-4)Scratch 2.0【得分】與【倒數計時】變數的應用練習。(影音版)

    I can see that you are an expert at your field! I am launching a website soon, and your information will be very useful for me.. Thanks for all your help and wishing you all the success in your business.
    isla mujeres ferry

    [回覆] assad 迴響於 01 二月, 2021 23:03

  8. Re: (03-4)Scratch 2.0【得分】與【倒數計時】變數的應用練習。(影音版)

    Very nice article, I enjoyed reading your post, very nice share, I want to twit this to my followers. Thanks!.
    Highlight rolloff

    [回覆] sdsad 迴響於 19 元月, 2021 17:43

  9. Re: (03-4)Scratch 2.0【得分】與【倒數計時】變數的應用練習。(影音版)

    I have bookmarked your blog, the articles are way better than other similar blogs.. thanks for a great blog!
    removals hartlepool

    [回覆] assad 迴響於 13 元月, 2021 22:47

  10. Re: (03-4)Scratch 2.0【得分】與【倒數計時】變數的應用練習。(影音版)

    This article gives the light in which we can observe the reality. This is very nice one and gives indepth information. Thanks for this nice article.

    [回覆] asdd 迴響於 13 元月, 2021 22:41

  11. Re: (03-4)Scratch 2.0【得分】與【倒數計時】變數的應用練習。(影音版)

    Thanks for taking the time to discuss this, I feel strongly about it and love learning more on this topic.
    digital marketing

    [回覆] asdd 迴響於 13 元月, 2021 20:38

  12. Re: (03-4)Scratch 2.0【得分】與【倒數計時】變數的應用練習。(影音版)

    Very nice article, I enjoyed reading your post, very nice share, I want to twit this to my followers. Thanks!.
    forex trading for beginners

    [回覆] asdad 迴響於 06 元月, 2021 22:10

  13. Re: (03-4)Scratch 2.0【得分】與【倒數計時】變數的應用練習。(影音版)

    Very good points you wrote here..Great stuff...I think you've made some truly interesting points.Keep up the good work.
    Click here

    [回覆] Dani 迴響於 30 十二月, 2020 18:51

  14. Re: (03-4)Scratch 2.0【得分】與【倒數計時】變數的應用練習。(影音版)

    hello!! Very interesting discussion glad that I came across such informative post. Keep up the good work friend. Glad to be part of your net community.
    look at here

    [回覆] assaad 迴響於 29 十二月, 2020 23:07

  15. Re: (03-4)Scratch 2.0【得分】與【倒數計時】變數的應用練習。(影音版)

    Give a response

    [回覆] Dani 迴響於 25 十一月, 2020 01:05

發表迴響

 暱稱 (必填)

 悄悄話

 標題

 個人網頁

 電子郵件

authimage 
 認證碼 (必填)