{"id":192033,"student_id":12205,"content":"// 設定背景:\nsetBackdrop(\"space_bg.jpg\");\n\n// 播放音檔:\nsound.play(\"Gymnopedie_No_1.mp3\");\n\n// 創建兩個角色,存在兩個變數中:\nvar earth = createSprite(\"earth.png\");\nvar koding = createSprite(\"koding.png\");\n\n// 設定「earth」角色的座標:\nearth.x = 50;\nearth.y = 440;\n\n// 設定「earth」及「koding」角色的大小:\nearth.scale = 0.3; // 設定為原本圖片的 0.3 倍\nkoding.scale = 0.4; // 設定為原本圖片的 0.4 倍\n\n// 不停地執行...\nforever(function(){\n // koding 逆時針旋轉 0.1 度:\n koding.direction -= 0.1;\n // koding 往前移動 0.6 點:\n koding.stepForward(0.6);\n // koding 從邊緣彈開:\n koding.bounceEdge();\n // earth 順時針旋轉 0.05 度:\n earth.direction += 0.05;\n});","created_at":"2020-09-16T20:26:43.524+08:00","updated_at":"2020-09-16T20:26:53.952+08:00","name":"測試","language":"javascript","screenshot":{"url":"https://cdn1.koding.school/uploads/project/screenshot/192033/85e89036a6ec43947cfbf7e3b7a26609.jpg"},"parent_id":2,"plugin":"","description":null,"note":null,"status":"public","like_student_ids":[],"is_featured":false,"views":27,"hashid":"qmdsz5rr","is_content_changed":false,"review_status":"unsubmitted","submitted_at":null,"reviewed_at":null,"advise":null,"is_deleted":false}
[{"id":3275542,"file_name":"Gymnopedie_No_1.mp3","project_id":192033,"asset_id":182919,"created_at":"2020-09-16T20:26:43.529+08:00","updated_at":"2020-09-16T20:26:43.529+08:00"},{"id":3275543,"file_name":"koding.png","project_id":192033,"asset_id":182918,"created_at":"2020-09-16T20:26:43.531+08:00","updated_at":"2020-09-16T20:26:43.531+08:00"},{"id":3275544,"file_name":"space_bg.jpg","project_id":192033,"asset_id":182917,"created_at":"2020-09-16T20:26:43.532+08:00","updated_at":"2020-09-16T20:26:43.532+08:00"},{"id":3275545,"file_name":"earth.png","project_id":192033,"asset_id":182916,"created_at":"2020-09-16T20:26:43.533+08:00","updated_at":"2020-09-16T20:26:43.533+08:00"}]
橘蘋學習平台
橘蘋學習平台
我的作品
檢視專案頁
匯出
複製
匯入
刪除
下載 Android APP (APK)
截圖
1:1:1
1:1
full
幫助
用手機掃描下方 QRCode 進行安裝
或您也可以
下載 APK
到這台電腦
用手機掃描下方 QRCode 進行安裝
或您也可以
下載 APK
到這台電腦