{"id":186141,"student_id":12205,"content":"var plane = createSprite([\"plane.png\", \"bomb.png\"]);\nvar plane2 = createSprite([\"plane.png\", \"bomb.png\"]);\nvar money = 0\nplane2.x = 10;\nplane2.y = 10;\nforever(function(){\n \nplane.toward(cursor);\nplane.stepForward(3);\nprint (money,100,100);\nmoney = money +1;\nif(plane.touched(cursor)){\n plane.costumeId = 1;\n stop();\n print(\"you lose\");\n }\nif(plane.touched(plane2)){\n plane.costumeId = 2;\n plane2.costumeId = 2;\n print(\"you win\");\n stop();\n }\nif (key.up) {\n \n plane2.toward(plane);\n plane2.stepForward(1);\n money = money -100;\n}\n});","created_at":"2020-08-28T20:06:39.854+08:00","updated_at":"2020-09-16T19:35:31.227+08:00","name":"小飛機 副本","language":"javascript","screenshot":{"url":"https://cdn9.koding.school/uploads/project/screenshot/186141/89edcce60b8890776f43b51e69f48ea4.jpg"},"parent_id":10720,"plugin":"setBackdrop(\"#8becff\");\nfor(var i=0; i\u003c5; i++) {\n var cloud = createSprite(\"cloud.png\");\n cloud.x = Math.random()*640;\n cloud.y = Math.random()*480;\n cloud.layer = i - 1;\n cloud.scale = 0.2 + Math.random()*0.6;\n}","description":null,"note":null,"status":"public","like_student_ids":[],"is_featured":false,"views":86,"hashid":"36ys6dmq","is_content_changed":false,"review_status":"unsubmitted","submitted_at":null,"reviewed_at":null,"advise":null,"is_deleted":false}
[{"id":3158895,"file_name":"plane.png","project_id":186141,"asset_id":22273,"created_at":"2020-08-28T20:06:39.861+08:00","updated_at":"2020-08-28T20:06:39.861+08:00"},{"id":3158896,"file_name":"cloud.png","project_id":186141,"asset_id":22274,"created_at":"2020-08-28T20:06:39.862+08:00","updated_at":"2020-08-28T20:06:39.862+08:00"},{"id":3158897,"file_name":"bomb.png","project_id":186141,"asset_id":22275,"created_at":"2020-08-28T20:06:39.863+08:00","updated_at":"2020-08-28T20:06:39.863+08:00"}]
橘蘋學習平台
橘蘋學習平台
我的作品
檢視專案頁
匯出
複製
匯入
刪除
下載 Android APP (APK)
截圖
1:1:1
1:1
full
幫助
用手機掃描下方 QRCode 進行安裝
或您也可以
下載 APK
到這台電腦
用手機掃描下方 QRCode 進行安裝
或您也可以
下載 APK
到這台電腦