{"id":22966,"student_id":10,"content":"var level = 0;\nvar sprites = [];\n\nfunction level_1() {\n var play = createSprite(\"未命名.png\");\n setBackdrop(\"123.jpg\");\n var stair = 0\n var Ra = createSprite(\"1371648876-640563658.png\");\n Ra.x = 70\n Ra.y = 400\n Ra.hidden = true\n var Shu = createSprite(\"555.png\");\n Shu.x = 200\n Shu.y = 370\n Shu.hidden = true\n var Osiris = createSprite(\"777.png\");\n Osiris.x = 300\n Osiris.y = 370\n Osiris.hidden = true\n var Isis = createSprite(\"321.png\");\n Isis.x = 400\n Isis.y = 370\n Isis.hidden = true\n var Seth = createSprite(\"753.png\");\n Seth.x = 500\n Seth.y = 370\n Seth.hidden = true\n stair = 0\n forever(function () {\n if (stair == 6) {\n print(\"YOU WIN!!!\", 55, 100, \"red\", 100)\n }\n if (stair != 0 \u0026\u0026 stair != 6) {\n var 關卡 = print(\"第\" + stair + \"題\", 220, 10, \"white\", 60)\n }\n if (key.space) {\n play.destroy()\n Ra.hidden = false\n Shu.hidden = false\n Isis.hidden = false\n Osiris.hidden = false\n Seth.hidden = false\n stair = 1\n }\n if (stair == 1) {\n print(\"俄西里斯是冥王,卻同時是豐饒與繁殖之神。\", 25, 120, \"white\", 30)\n };\n if (stair == 2) {\n print(\"賽特是風暴之神、沙漠之神、外國之神。\", 25, 120, \"white\", 30)\n };\n if (stair == 3) {\n print(\"拉是埃及的太陽神,也是創世之神,是埃及\", 25, 100, \"white\", 30)\n print(\"是埃及所有神祇的源頭。\", 25, 130, \"white\", 30)\n };\n if (stair == 4) {\n print(\"伊西絲是黑暗與死亡之神,同時也是屋宇的守護神。\", 25, 100, \"white\", 30)\n };\n if (stair == 5) {\n print(\"舒是風神和空氣之神,也是拉Ra的兒子。\", 25, 100, \"white\", 30)\n };\n });\n when(\"click\", function () {\n if ((Ra.touched(cursor) || Seth.touched(cursor) || Isis.touched(cursor) || Shu.touched(cursor)) \u0026\u0026 stair == 1) {\n sound.play(\"XXX.mp3\");\n }\n if (Osiris.touched(cursor) \u0026\u0026 stair == 1) {\n sound.play(\"OOO.mp3\")\n Osiris.destroy()\n stair += 1\n }\n if ((Ra.touched(cursor) || Isis.touched(cursor) || Shu.touched(cursor)) \u0026\u0026 stair == 2) {\n sound.play(\"XXX.mp3\");\n }\n if (Seth.touched(cursor) \u0026\u0026 stair == 2) {\n sound.play(\"OOO.mp3\")\n Seth.destroy()\n stair += 1\n }\n if ((Isis.touched(cursor) || Shu.touched(cursor)) \u0026\u0026 stair == 3) {\n sound.play(\"XXX.mp3\");\n }\n if (Ra.touched(cursor) \u0026\u0026 stair == 3) {\n sound.play(\"OOO.mp3\")\n Ra.destroy()\n stair += 1\n }\n if (Shu.touched(cursor) \u0026\u0026 stair == 4) {\n sound.play(\"XXX.mp3\");\n }\n if (Isis.touched(cursor) \u0026\u0026 stair == 4) {\n sound.play(\"OOO.mp3\")\n Isis.destroy()\n stair += 1\n }\n if (Shu.touched(cursor) \u0026\u0026 stair == 5) {\n sound.play(\"OOO.mp3\")\n Shu.destroy()\n stair += 1\n }\n });\n}\nfunction level_2() { }\nfunction level_3() { }\nfunction level_4() { }\n\nfunction nextLevel() {\n level += 1;\n\n for (var i = 0; i \u003c sprites.length; i++) {\n sprites[i].destroy();\n }\n\n if (level == 1) level_1();\n else if (level == 2) level_2();\n else if (level == 3) level_3();\n else if (level == 4) level_4();\n}\n\n\n// 程式執行的開端~\nnextLevel();","created_at":"2018-02-25T16:50:07.177+08:00","updated_at":"2019-11-12T05:19:33.598+08:00","name":"combine","language":"javascript","screenshot":{"url":null},"parent_id":2,"plugin":"","description":null,"note":null,"status":"public","like_student_ids":[],"is_featured":false,"views":510,"hashid":"vngs56yd","is_content_changed":false,"review_status":"unsubmitted","submitted_at":null,"reviewed_at":null,"advise":null,"is_deleted":false}
[{"id":439274,"file_name":"0.png","project_id":22966,"asset_id":6,"created_at":"2018-02-25T16:50:07.187+08:00","updated_at":"2018-02-25T16:50:07.187+08:00"},{"id":439275,"file_name":"1.svg","project_id":22966,"asset_id":7,"created_at":"2018-02-25T16:50:07.189+08:00","updated_at":"2018-02-25T16:50:07.189+08:00"},{"id":439276,"file_name":"2.png","project_id":22966,"asset_id":8,"created_at":"2018-02-25T16:50:07.192+08:00","updated_at":"2018-02-25T16:50:07.192+08:00"},{"id":439277,"file_name":"0.wav","project_id":22966,"asset_id":9,"created_at":"2018-02-25T16:50:07.194+08:00","updated_at":"2018-02-25T16:50:07.194+08:00"},{"id":439278,"file_name":"1.wav","project_id":22966,"asset_id":10,"created_at":"2018-02-25T16:50:07.196+08:00","updated_at":"2018-02-25T16:50:07.196+08:00"}]
Orange Apple Learning Platform
My Projects
View Project Page
Export
Remix
Import
Delete
Download Android APP (APK)
Screenshot
繁中
简中
English
日本語
1:1:1
1:1
Full Width
Scan the QRCode below with your phone to install
Or you can
download APK
to this computer
Scan the QRCode below with your phone to install
Or you can
download APK
to this computer