GAME育成&platformer✨/GAME training & platformer✨
@Stage\n\nwhen flag clicked\nswitch backdrop to (bedroom 1 v)\nset [おやつの数 v] to [0]\nset [お金 v] to [1000]\nset [ご飯の数 v] to [0]\nset [飲み物 v] to [0]\nset [猫の年齢 v] to [0]\n\nwhen I receive [中身 v]\nswitch backdrop to (refrigerator v)\n\nwhen I receive [ホーム v]\nswitch backdrop to (bedroom 1 v)\n\nwhen I receive [メッセージ1 v]\nswitch backdrop to (背景1 v)\n\nwhen flag clicked\nforever\n    play sound [æ¨ã®èã®ãããã v] until done\nend\n\n@スプライト1\n\nwhen this sprite clicked\nhide\nplay sound [Collect v] until done\n\nwhen flag clicked\nshow\n\nwhen this sprite clicked\nbroadcast (う v)\n\nwhen I receive [中身 v]\nhide\n\nwhen I receive [ホーム v]\nshow\n\nwhen I receive [shop v]\nhide\n\nwhen I receive [メッセージ1 v]\nhide\n\nwhen I receive [メッセージ1 v]\nhide variable [おやつの数 v]\nhide variable [お金 v]\nhide variable [猫の年齢 v]\n\n@題名\n\nwhen flag clicked\nshow\nforever\n    set y to ((40) + (([sin v] of ((300) * (timer)) ) * (10)))\nend\n\nwhen I receive [う v]\nhide\n\nwhen I receive [メッセージ1 v]\nhide\n\nwhen I receive [中身 v]\nhide variable [おやつの数 v]\nhide variable [お金 v]\nhide variable [猫の年齢 v]\n\nwhen I receive [ホーム v]\nshow\n\n@スプライト2\n\nwhen this sprite clicked\nhide\nbroadcast (メッセージ1 v)\n\nwhen this sprite clicked\nplay sound [Coin v] until done\n\nwhen I receive [中身 v]\nhide\n\nwhen flag clicked\nshow\n\nwhen I receive [ホーム v]\nshow\n\nwhen I receive [う v]\nhide\n\nwhen I receive [shop v]\nhide\n\n@Cat\n\nwhen I receive [中身 v]\nhide\n\nwhen flag clicked\nset size to (100) %\nshow\n\nwhen I receive [ホーム v]\nset size to (100) %\nshow\n\nwhen I receive [メッセージ1 v]\nhide\n\nwhen flag clicked\nswitch costume to (cat-a v)\nforever\n    if <(猫の年齢) > [20]> then\n        switch costume to (コスチューム1 v)\n        say [やったね！] for (2) seconds\n        forever\n            wait (60) seconds\n            change [お金 v] by (1200)\n        end\n    end\n    if <(猫の年齢) > [7]> then\n        switch costume to (cat-a2 v)\n    end\nend\n\nwhen I receive [う v]\nset size to (130) %\n\n@スプライト3\n\nwhen this sprite clicked\nbroadcast (SHOP v)\n\nwhen I receive [中身 v]\nhide\n\nwhen I receive [ホーム v]\nshow\n\nwhen flag clicked\nshow\n\nwhen I receive [う v]\nhide\n\nwhen I receive [メッセージ1 v]\nhide\n\n@スプライト4\n\nwhen flag clicked\nshow\n\nwhen I receive [shop v]\nhide\n\nwhen I receive [う v]\nhide\n\nwhen I receive [ホーム v]\nshow\n\nwhen I receive [ホーム v]\nshow variable [おやつの数 v]\nshow variable [お金 v]\nshow variable [猫の年齢 v]\n\nwhen I receive [中身 v]\nhide\n\nwhen I receive [メッセージ1 v]\nhide\n\n@スプライト5\n\nwhen I receive [shop v]\nshow\n\nwhen flag clicked\nhide\n\nwhen [space v] key pressed\n\nwhen I receive [う v]\nhide variable [おやつの数 v]\nhide variable [猫の年齢 v]\nhide variable [お金 v]\n\nwhen flag clicked\nwait (2) seconds\nshow variable [おやつの数 v]\nshow variable [猫の年齢 v]\nshow variable [お金 v]\n\nwhen I receive [shop v]\nhide variable [おやつの数 v]\nhide variable [猫の年齢 v]\nhide variable [お金 v]\n\nwhen I receive [ホーム v]\nhide\n\n@スプライト6\n\nwhen flag clicked\nhide\n\nwhen this sprite clicked\nstart sound [ポップ v]\nif <<(お金) = [100]> or <(お金) > [100]>> then\n    change [お金 v] by (-100)\n    change [おやつの数 v] by (1)\n    think [かえたよ！] for (2) seconds\nelse\n    think [お金が足りません] for (2) seconds\nend\n\nwhen I receive [shop v]\nshow\n\nwhen I receive [メッセージ1 v]\nhide\n\nwhen I receive [う v]\nhide\n\nwhen I receive [ホーム v]\nhide\n\n@スプライト7\n\nwhen I receive [ホーム v]\nhide\n\nwhen flag clicked\nhide\n\nwhen I receive [shop v]\nshow\n\nwhen this sprite clicked\nif <<(お金) = [1000]> or <(お金) > [1000]>> then\n    change [お金 v] by (-1000)\n    change [ご飯の数 v] by (1)\n    think [かえたよ！] for (2) seconds\nelse\n    think [お金がないよ] for (2) seconds\nend\n\n@スプライト8\n\nwhen I receive [ホーム v]\nhide\n\nwhen this sprite clicked\nstart sound [ポップ v]\nif <<(お金) > [200]> or <(お金) = [200]>> then\n    change [お金 v] by (-200)\n    change [飲み物 v] by (1)\n    think [かえたよ！] for (2) seconds\nelse\n    think [お金が足りません] for (2) seconds\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [shop v]\nshow\n\n@スプライト9\n\nwhen this sprite clicked\nhide\nbroadcast (ホーム v)\n\nwhen flag clicked\nhide\n\nwhen I receive [shop v]\nshow\n\nwhen I receive [中身 v]\nshow\n\nwhen I receive [メッセージ1 v]\nshow\n\nwhen I receive [う v]\nshow\n\nwhen flag clicked\ngo to [front v] layer\n\n@スプライト10\n\nwhen flag clicked\nshow\n\nwhen I receive [shop v]\nhide\n\nwhen I receive [う v]\nhide\n\nwhen I receive [ホーム v]\nshow\n\nhide\n\nwhen this sprite clicked\nhide\nbroadcast (中身 v)\n\nwhen I receive [メッセージ1 v]\nhide\n\n@スプライト11\n\nwhen flag clicked\nshow\n\nwhen I receive [shop v]\nhide\n\nwhen I receive [う v]\nhide\n\nwhen I receive [ホーム v]\nshow\n\nwhen I receive [中身 v]\nhide\n\nwhen I receive [メッセージ1 v]\nhide\n\n@スプライト12\n\nwhen flag clicked\nhide\nhide variable [飲み物 v]\n\nwhen I receive [中身 v]\nshow\nshow variable [飲み物 v]\n\nwhen I receive [ホーム v]\nhide\nhide variable [飲み物 v]\n\n@Milk\n\nwhen I receive [中身 v]\nshow\n\nwhen I receive [ホーム v]\nhide\n\nwhen flag clicked\nhide\n\n@スプライト13\n\nwhen I receive [中身 v]\nshow\nshow variable [ご飯の数 v]\n\nwhen I receive [ホーム v]\nhide\nhide variable [ご飯の数 v]\n\nwhen flag clicked\nhide\nhide variable [ご飯の数 v]\n\n@プレイヤー\n\ndefine 初期設定プログラム\nshow\nset [x v] to [0]\nset [y v] to [0]\nset rotation style [left-right v]\ngo to x: (-210) y: (-30)\nset size to (90) %\nswitch costume to (コスチューム1 v)\n\nwhen flag clicked\nhide\n\nwhen I receive [スタート v]\nshow\n初期設定プログラム\nforever\n    if <<key (right arrow v) pressed?> or <<<mouse down?> and <(x position) < (mouse x)>> or <key (d v) pressed?>>> then\n        switch costume to (コスチューム1 v)\n        change [x v] by (1)\n    end\n    if <<key (left arrow v) pressed?> or <<<mouse down?> and <(mouse x) < (x position)>> or <key (a v) pressed?>>> then\n        switch costume to (コスチューム2 v)\n        change [x v] by (-1)\n    end\n    set [x v] to ((X) * (0.89))\n    change x by (X)\n    if <touching (地面 v)?> then\n        change y by (1)\n        if <touching (地面 v)?> then\n            change y by (1)\n            if <touching (地面 v)?> then\n                change y by (1)\n                if <touching (地面 v)?> then\n                    change y by (1)\n                    if <touching (地面 v)?> then\n                        change y by (1)\n                        if <touching (地面 v)?> then\n                            change y by (-5)\n                            change x by ((X) * (-1))\n                            if <<key (up arrow v) pressed?> or <<<mouse down?> and <(y position) < (mouse y)>> or <key (w v) pressed?>>> then\n                                if <(X) < [0]> then\n                                    start sound [壁キック v]\n                                    set [x v] to [10]\n                                else\n                                    start sound [壁キック v]\n                                    set [x v] to [-10]\n                                end\n                                set [y v] to [15]\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change [y v] by (-1)\n    change y by (Y)\n    if <touching (地面 v)?> then\n        change y by ((Y) * (-1))\n        set [y v] to [0]\n    end\n    change y by (-1)\n    if <<key (up arrow v) pressed?> or <<<mouse down?> and <(y position) < (mouse y)>> or <key (w v) pressed?>>> then\n        if <touching (地面 v)?> then\n            start sound [可愛いジャンプ v]\n            set [y v] to [15]\n        end\n    end\n    change y by (1)\nend\n\nwhen I receive [スタート v]\nforever\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nswitch costume to (コスチューム3 v)\nrepeat (6)\n    change size by (-6)\n    change [ghost v] effect by (10)\nend\ndelete this clone\n\nwhen flag clicked\nhide\n\nwhen I receive [メッセージ1 v]\nbroadcast (スタート v)\n\nwhen flag clicked\n\nwhen I receive [スタート v]\nforever\n    if <touching (コイン v)?> then\n        change [お金 v] by (10)\n    end\nend\n\nwhen I receive [ホーム v]\nhide\n\nwhen I receive [スタート v]\nforever\n    if <touching (コイン2 v)?> then\n        change [お金 v] by (100)\n    end\nend\n\n@地面\n\nwhen I receive [メッセージ1 v]\nshow\n\nwhen flag clicked\nhide\n\nwhen I receive [ホーム v]\nhide\n\n@コイン\n\nwhen I receive [メッセージ1 v]\nshow\n\nwhen flag clicked\nhide\n\nwhen I receive [メッセージ1 v]\nforever\n    wait (0.8) seconds\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nforever\n    wait (0.15) seconds\n    next costume\nend\n\nwhen I receive [メッセージ1 v]\nforever\n    wait (0.8) seconds\n    go to x: (pick random (-180) to (180)) y: (188)\nend\n\nwhen I start as a clone\nrepeat (60)\n    change y by (-5)\nend\ndelete this clone\n\nwhen I receive [メッセージ1 v]\nforever\n\nwhen I start as a clone\nforever\n    if <touching (プレイヤー v)?> then\n        start sound [Coin v]\n        delete this clone\n    end\n    if <touching (プレイヤー v)?> then\n    end\nend\n\nwhen I receive [ホーム v]\nhide\n\n@スプライト14\n\nwhen this sprite clicked\nplay sound [ポップ v] until done\nif <[0] < (おやつの数)> then\n    ask [何個あげますか?] and wait\n    if <<(おやつの数) > (answer)> or <(answer) = (おやつの数)>> then\n        set [おやつの数 v] to ((おやつの数) - (answer))\n        broadcast (おやつ移動！！ v)\n    else\n        think (join (answer) [個は持ってないよ]) for (2) seconds\n    end\nelse\n    think [おやつがもうないよ] for (2) seconds\nend\n\nwhen flag clicked\nhide\ngo to x: (-163) y: (-136)\n\nwhen I receive [ホーム v]\nhide\n\nwhen I receive [う v]\nshow\n\n@スプライト15\n\nwhen flag clicked\nset size to (60) %\ngo to (スプライト14 v)\nhide\n\nwhen I receive [ホーム v]\nhide\n\nwhen I start as a clone\nshow\nglide (1) secs to (cat v)\nchange [猫の年齢 v] by (0.5)\nbroadcast (どうぞ v)\ndelete this clone\n\nwhen I receive [おやつ移動！！ v]\nrepeat (answer)\n    create clone of (_myself_ v)\nend\n\nbroadcast (どうぞ v)\n\n@ハート星探知機\n\nwhen I start as a clone\nshow\nset [ghost v] effect to (100)\nif <(costume [number v]) = [1]> then\n    forever\n        if <touching (mouse-pointer v)?> then\n            set [ハート v] to [1]\n            start sound [決定ボタンを押す v]\n            stop [this script v]\n        end\n    end\nend\nif <(costume [number v]) = [2]> then\n    forever\n        if <touching (mouse-pointer v)?> then\n            set [星 v] to [1]\n            start sound [決定ボタンを押す v]\n            stop [this script v]\n        end\n    end\nend\nif <(costume [number v]) = [3]> then\n    clear graphic effects\n    go to x: (60) y: (208)\n    glide (0.8) secs to x: (60) y: (120)\n    wait (0.8) seconds\n    glide (0.8) secs to x: (60) y: (208)\n    delete this clone\nend\n\nwhen flag clicked\nhide\nset [ハート v] to [0]\nset [星 v] to [0]\ngo to x: (0) y: (0)\nswitch costume to (ハート v)\ncreate clone of (_myself_ v)\nswitch costume to (星 v)\ncreate clone of (_myself_ v)\nforever\n    if <((ハート) + (星)) = [2]> then\n        switch costume to (コスチューム3 v)\n        create clone of (_myself_ v)\n        stop [this script v]\n    end\nend\n\n@☆と♡要求\n\nwhen flag clicked\nhide\nforever\n    wait (15) seconds\n    set [id v] to [マウス]\n    create clone of (_myself_ v)\n    set [id v] to [コスチューム]\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nshow\nif <(ID) = [コスチューム]> then\n    go to [front v] layer\n    go [backward v] (1) layers\n    switch costume to (コスチューム1 v)\n    go to x: (144) y: (100000)\n    glide (1) secs to x: (144) y: (132)\n    switch costume to (コスチューム2 v)\n    wait (1) seconds\n    switch costume to (コスチューム3 v)\n    glide (0.9) secs to x: (144) y: (210)\n    delete this clone\nend\nif <(ID) = [マウス]> then\n    go to [front v] layer\n    switch costume to (マウス v)\n    go to x: (144) y: (1000000)\n    滑らか： [126] [105] [7]\n    滑らか： [196] [116] [7]\n    滑らか： [220] [180] [5]\n    delete this clone\nend\n\ndefine 滑らか： (x) (y) (スピード)\nrepeat until <<(round (x position)) = (x)> and <(round (y position)) = (y)>>\n    change x by (((x) - (x position)) / (スピード))\n    change y by (((y) - (y position)) / (スピード))\nend\n\n@Milk2\n\nwhen flag clicked\ngo to (スプライト17 v)\nhide\n\nwhen I receive [飲み物移動 v]\nrepeat (answer)\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nshow\nglide (1) secs to (cat v)\nchange [猫の年齢 v] by (1)\ndelete this clone\n\n@コイン2\n\nwhen I receive [メッセージ1 v]\nshow\n\nwhen flag clicked\nhide\n\nwhen I start as a clone\nforever\n    wait (0.15) seconds\n    next costume\nend\n\nwhen I receive [メッセージ1 v]\nforever\n    wait (1) seconds\n    wait (1) seconds\n    set [確率 v] to (pick random (1) to (20))\n    if <(確率) = [12]> then\n        go to x: (pick random (-180) to (180)) y: (188)\n        create clone of (_myself_ v)\n    end\nend\n\nwhen I start as a clone\nrepeat (60)\n    change y by (-5)\nend\ndelete this clone\n\nwhen I receive [メッセージ1 v]\nforever\n\nwhen I start as a clone\nforever\n    if <touching (プレイヤー v)?> then\n        play sound [Coin v] until done\n        delete this clone\n    end\n    if <touching (プレイヤー v)?> then\n    end\nend\n\nwhen I receive [ホーム v]\nhide\n\n@スプライト18\n\nwhen I receive [ホーム v]\nhide\n\nwhen flag clicked\nhide\n\nwhen I receive [う v]\nshow\n\nwhen this sprite clicked\nplay sound [ポップ v] until done\nif <[0] < (ご飯の数)> then\n    ask [何個あげますか?] and wait\n    if <<(ご飯の数) > (answer)> or <(answer) = (ご飯の数)>> then\n        set [ご飯の数 v] to ((ご飯の数) - (answer))\n        broadcast (ご飯移動 v)\n    else\n        think (join (answer) [個は持ってないよ]) for (2) seconds\n    end\nelse\n    think [ご飯はもうないよ] for (2) seconds\nend\n\n@スプライト19\n\nwhen flag clicked\ngo to x: (-160) y: (6)\nhide\n\nwhen I receive [ご飯移動 v]\ncreate clone of (_myself_ v)\nwait (1) seconds\n\nwhen I start as a clone\nshow\nglide (1) secs to (cat v)\nstart sound [お菓子を食べる1 v]\nchange [猫の年齢 v] by (2)\ndelete this clone\n\n@スプライト17\n\nwhen I receive [ホーム v]\nhide\n\nwhen I receive [う v]\ngo to x: (-162) y: (-67)\nshow\n\nwhen flag clicked\nhide\n\nwhen this sprite clicked\nplay sound [ポップ v] until done\nif <[0] < (飲み物)> then\n    ask [何個あげますか?] and wait\n    if <<(飲み物) > (answer)> or <(answer) = (飲み物)>> then\n        set [飲み物 v] to ((飲み物) - (answer))\n        broadcast (飲み物移動 v)\n    else\n        think (join (answer) [個は持ってないよ]) for (2) seconds\n    end\nelse\n    think [飲み物がもうないよ] for (2) seconds\nend\n\n@スプライト16\n\nwhen flag clicked\nshow\n\nwhen I receive [shop v]\nhide\n\nwhen I receive [う v]\nhide\n\nwhen I receive [中身 v]\nhide\n\nwhen I receive [メッセージ1 v]\nhide\n\nwhen I receive [ホーム v]\nshow\n\nwhen this sprite clicked\nask [隠しコードは？] and wait\nif <(answer) = [781029]> then\n    hide\n    forever\n        wait (30) seconds\n        change [お金 v] by (1000)\n    end\nelse\n    say [違います] for (2) seconds\nend\nhide\n\n@スプライト20\n\nwhen flag clicked\nforever\n    set [ghost v] effect to (100)\n    go to [front v] layer\nend\n\n@スプライト21\n\nwhen flag clicked\nset [ghost v] effect to (0)\nwait (3) seconds\nrepeat (10)\n    change [ghost v] effect by (10)\nend\n\n
特別宣伝\nhttps://scratch.mit.edu/projects/835285695\n⏫⏫⏫⏫⏫⏫⏫⏫⏫⏫⏫⏫⏫⏫⏫\n大体のことはここに書いています書いていなかったらコメントで質問してください⏬⏬⏬⏬⏬⏬⏬⏬⏬⏬\n下まで読みましょう⏬⏬⏬⏬⏬⏬⏬⏬⏬⏬⏬⏬\n矢印キーで動かしてください\nllllllllllllllllll⭐️と❤️とフォロー、拡散お願いしますlllllllllllll\nllllll◆成人(20)になると1分で1200円もらえます◆llllll\nll◆ llll◆ llll◆ llll◆ llll◆ llll◆ llll◆ llll◆ llll◆ llll◆ llll◆ \n【GAME育成&platformer✨/GAME training &                                        \n　　　　　　　　　　　　　　　　platformer】\nll◆ llll◆ llll◆ llll◆ llll◆ llll◆ llll◆ llll◆ llll◆ llll◆ llll◆ ll◆※⭐️と❤️を押すと感謝のメッセージと隠しコードがわかります/If you press ⭐️ and ❤️, you can see the thank you message and the hidden code.\n※⚡️注意事項⚡️※\n※これはどれだけお金を稼げるかのゲームです※\n※20歳になったらそっからは放置ゲーです大体※\n※モバイルでもできますがモバイルだとバグりますので\n　　　　　　　　　モバイルではやらないでください※\nll▶︎操作\n▶︎「冷蔵庫」をタップすると食べ物や飲み物も数がわかります/If you tap the refrigerator, you can see the number of drinks and food.\n▶︎「coinGAME」をタップするとお金がもらえます/You can get money by tapping "coinGAME"\n▶︎「SHOP」をタップすると「飲み物」、「おやつ」、\n「食べ物」を買うことができます/If you tap "SHOP", "drink", "snack",You can buy "food"\n▶︎「隠しコード」は⭐️と❤️を押す/わかります/You can see the "hidden code" by pressing ⭐️ and ❤️\n▶︎「育成」を押すと「飲み物をあげる」を押すと飲み物をあげれます。「おやつをあげる」を押すとおやつをあげれます。あげればあげるほど年齢がちょっとずつ年齢が上がります/If you press "Nurturing", you can give a drink by pressing "I'll give you a drink". " If you press "I'll give you a snack", you can give a snack. The more you give, the more you get older.\n▶︎「戻る」を押すとホームに戻ります/Press "Back" to return to the home\n\nlll◆クレジット\n題名の動き/@YYｰH 様\n時計/@sirius0416 様\n冷蔵庫/@yotanikawa 様\nプラフォのコイン/@YYｰH 様\nプラフォの動き/@takuno 様\nポテト/@PR_TUE_08 様\n音楽/木葉のささらぎ