{"id":36998,"student_id":37,"content":"var circle = createSprite(\"life.png\");\nvar pointer = createSprite(\"pointer.png\");\nvar speed = 0;\n\ncircle.when('click', function () {\n speed = Math.random() * 6.6 * 2 + 15;\n \n});\n\nforever(function(){\n if(speed \u003e 0){\n speed -= 0.1;\n circle.direction += speed;\n }\n \n \n \n \n circle.direction += speed;\n print(speed);\n \n});\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n","created_at":"2018-07-28T14:30:40.247+08:00","updated_at":"2019-10-01T21:54:03.874+08:00","name":"命運a轉盤 副本","language":"javascript","screenshot":{"url":"https://cdn8.koding.school/uploads/project/screenshot/36998/c51c0729a52b18465a6ca30ee1ff0575.jpg"},"parent_id":10724,"plugin":"// forever(function(){\n// var direction = life.direction + 30 - 90;\n// if(direction \u003c 0) direction += 360;\n// var option = Math.floor(direction/60);\n\n// if(option == 0) setBackdrop(\"#383838\");\n// if(option == 1) setBackdrop(\"#F63A30\");\n// if(option == 2) setBackdrop(\"#4274E9\");\n// if(option == 3) setBackdrop(\"#1EE947\");\n// if(option == 4) setBackdrop(\"#38E0CA\");\n// if(option == 5) setBackdrop(\"#FFC001\");\n// });\n\n","description":null,"note":null,"status":"public","like_student_ids":[],"is_featured":false,"views":68,"hashid":"qmdswz6q","is_content_changed":false,"review_status":"unsubmitted","submitted_at":null,"reviewed_at":null,"advise":null,"is_deleted":false}
[{"id":661574,"file_name":"life.png","project_id":36998,"asset_id":25209,"created_at":"2018-07-28T14:30:40.255+08:00","updated_at":"2018-07-28T14:30:40.255+08:00"},{"id":661575,"file_name":"pointer.png","project_id":36998,"asset_id":25210,"created_at":"2018-07-28T14:30:40.256+08:00","updated_at":"2018-07-28T14:30:40.256+08:00"}]
橘蘋學習平台
橘蘋學習平台
我的作品
檢視專案頁
匯出
複製
匯入
刪除
下載 Android APP (APK)
截圖
1:1:1
1:1
full
幫助
用手機掃描下方 QRCode 進行安裝
或您也可以
下載 APK
到這台電腦
用手機掃描下方 QRCode 進行安裝
或您也可以
下載 APK
到這台電腦