{"id":23874,"student_id":1444,"content":"setBackdrop(\"blue\");\n\nvar me = createSprite(\"me.jpg\");\nvar ground = createSprite(\"ground.jpg\");\nvar score = 0;\nme.y = 428;\nground.y = 464;\n\nwhen(\"holding\", \"right\", function(){\n me.x += 6;\n});\n\nwhen(\"holding\", \"left\", function(){\n me.x -= 6;\n});\n\nsetInterval(function(){\n var square = createSprite(\"square.jpg\");\n square.x = Math.random()*640;\n square.y = -60;\n \n square.when(\"touch\", ground, function(){\n this.destroy();\n });\n\n square.when(\"touch\",me,function(){\n stop();\n });\n\n square.forever(function(){\n this.y+=8;\n });\n\n score ++;\n},250);\n\nforever(function(){\n print(score,10,10,'red',30);\n});","created_at":"2018-03-09T01:20:57.178+08:00","updated_at":"2019-10-30T05:53:05.602+08:00","name":"躲避方塊 範本.jsa","language":"javascript","screenshot":{"url":"https://cdn8.koding.school/uploads/project/screenshot/23874/ecba483eb7edcafab03f1cb516f0fc23.jpg"},"parent_id":5705,"plugin":"","description":null,"note":null,"status":"public","like_student_ids":[],"is_featured":false,"views":130,"hashid":"ej9s9g93","is_content_changed":false,"review_status":"unsubmitted","submitted_at":null,"reviewed_at":null,"advise":null,"is_deleted":false}
[{"id":452852,"file_name":"ground.jpg","project_id":23874,"asset_id":16741,"created_at":"2018-03-09T01:20:57.184+08:00","updated_at":"2018-03-09T01:20:57.184+08:00"},{"id":452853,"file_name":"me.jpg","project_id":23874,"asset_id":16742,"created_at":"2018-03-09T01:20:57.186+08:00","updated_at":"2018-03-09T01:20:57.186+08:00"},{"id":452854,"file_name":"square.jpg","project_id":23874,"asset_id":16743,"created_at":"2018-03-09T01:20:57.188+08:00","updated_at":"2018-03-09T01:20:57.188+08:00"}]
橘蘋學習平台
橘蘋學習平台
我的作品
檢視專案頁
匯出
複製
匯入
刪除
下載 Android APP (APK)
截圖
1:1:1
1:1
full
幫助
用手機掃描下方 QRCode 進行安裝
或您也可以
下載 APK
到這台電腦
用手機掃描下方 QRCode 進行安裝
或您也可以
下載 APK
到這台電腦