{"id":22239,"student_id":10,"content":"setBackdrop(\"12.jpg\");\r\nvar nn = createSprite(\"____burned.png\");\r\nnn.hidden = false\r\nvar hp = 3\r\nvar q1 = createSprite({\r\n x: 110,\r\n y: 200,\r\n scale: 0.3, // 1.2倍大\r\n costumes: [\"dsc00414_burned.png\"]\r\n});\r\nvar q2 = createSprite({\r\n x: 320,\r\n y: 200,\r\n scale: 0.3, // 1.2倍大\r\n costumes: [\"dsc00414_burned.png\"]\r\n});\r\nvar q3 = createSprite({\r\n x: 530,\r\n y: 200,\r\n scale: 0.3, // 1.2倍大\r\n costumes: [\"dsc00414_burned.png\"]\r\n});\r\nq1.hidden = true\r\nq2.hidden = true\r\nq3.hidden = true\r\nvar stairs = 0\r\nforever(function(){\r\n if(hp == 0 || hp\u003c0) {\r\n stop()\r\n }\r\n print(\"hp:\"+hp,270,350,\"white\",60)\r\n if(key.space) {\r\n nn.destroy()\r\n q1.hidden = false\r\n q2.hidden = false\r\n q3.hidden = false\r\n stairs = 1\r\n }\r\n if(stairs == 1) {\r\n print(\"B說的是假話\",60,30,\"white\",20)\r\n print(\"C說的是假話\",270,30,\"white\",20)\r\n print(\"A說的要麼是真話\",460,10,\"white\",20)\r\n print(\",要麼說的是假話\",460,30,\"white\",20)\r\n }\r\n if(stairs == 2) {\r\n print(\"我們三個人當中\",60,10,\"white\",20)\r\n print(\"有人說真話\",60,30,\"white\",20)\r\n print(\"我們三個人當中\",270,10,\"white\",20)\r\n print(\"有人說假話\",270,30,\"white\",20)\r\n print(\"我們三個人當中\",460,10,\"white\",20)\r\n print(\"沒有人說假話\",460,30,\"white\",20)\r\n }\r\n if(stairs == 3) {\r\n print(\"C說的真話\",60,30,\"white\",20)\r\n print(\"C說的假話\",270,30,\"white\",20)\r\n print(\"你們倆一個說的真話\",460,10,\"white\",20)\r\n print(\",一個說的假話\",460,30,\"white\",20)\r\n }\r\n\r\n});\r\nwhen(\"click\",function(){\r\n if(stairs == 1){\r\n if(q2.touched(cursor)) {\r\n sound.play(\"OOO.mp3\")\r\n stairs+=1\r\n };\r\n if( q1.touched(cursor)|| q3.touched(cursor)) {\r\n sound.play(\"XXX.mp3\")\r\n hp--\r\n };\r\n } else if (stairs == 2) {\r\n if(q3.touched(cursor)) {\r\n sound.play(\"OOO.mp3\")\r\n stairs+=1\r\n };\r\n if( q1.touched(cursor) || q2.touched(cursor)) {\r\n sound.play(\"XXX.mp3\")\r\n hp--\r\n };\r\n } else if (stairs == 3) {\r\n\r\n } else if (stairs == 4) {\r\n\r\n }\r\n // 更多石像問題...\r\n});","created_at":"2018-02-12T09:16:08.187+08:00","updated_at":"2019-11-10T10:54:29.711+08:00","name":"3","language":"javascript","screenshot":{"url":"https://cdn6.koding.school/uploads/project/screenshot/22239/32372dcfdb93ff1730ec257e9a0314e4.jpg"},"parent_id":22238,"plugin":"","description":null,"note":null,"status":"public","like_student_ids":[],"is_featured":false,"views":322,"hashid":"meys6ny4","is_content_changed":false,"review_status":"unsubmitted","submitted_at":null,"reviewed_at":null,"advise":null,"is_deleted":false}
[{"id":429538,"file_name":"____burned.png","project_id":22239,"asset_id":47536,"created_at":"2018-02-12T09:16:08.198+08:00","updated_at":"2018-02-12T09:16:08.198+08:00"},{"id":429539,"file_name":"12.jpg","project_id":22239,"asset_id":42502,"created_at":"2018-02-12T09:16:08.200+08:00","updated_at":"2018-02-12T09:16:08.200+08:00"},{"id":429540,"file_name":"dsc00414_burned.png","project_id":22239,"asset_id":49359,"created_at":"2018-02-12T09:16:08.203+08:00","updated_at":"2018-02-12T09:16:08.203+08:00"},{"id":429541,"file_name":"OOO.mp3","project_id":22239,"asset_id":43251,"created_at":"2018-02-12T09:16:08.204+08:00","updated_at":"2018-02-12T09:16:08.204+08:00"},{"id":429542,"file_name":"XXX.mp3","project_id":22239,"asset_id":43252,"created_at":"2018-02-12T09:16:08.206+08:00","updated_at":"2018-02-12T09:16:08.206+08:00"}]
橘蘋學習平台
橘蘋學習平台
我的作品
檢視專案頁
匯出
複製
匯入
刪除
下載 Android APP (APK)
截圖
1:1:1
1:1
full
幫助
用手機掃描下方 QRCode 進行安裝
或您也可以
下載 APK
到這台電腦
用手機掃描下方 QRCode 進行安裝
或您也可以
下載 APK
到這台電腦