{"id":319743,"student_id":1998,"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":"2021-11-28T10:09:22.912+08:00","updated_at":"2021-11-28T10:09:22.924+08:00","name":"k","language":"javascript","screenshot":{"url":null},"parent_id":2,"plugin":"","description":null,"note":null,"status":"public","like_student_ids":[],"is_featured":false,"views":28,"hashid":"36ysm9keq","is_content_changed":false,"review_status":"unsubmitted","submitted_at":null,"reviewed_at":null,"advise":null,"is_deleted":false}
[{"id":6638048,"file_name":"Gymnopedie_No_1.mp3","project_id":319743,"asset_id":302341,"created_at":"2021-11-28T10:09:22.919+08:00","updated_at":"2021-11-28T10:09:22.919+08:00"},{"id":6638049,"file_name":"koding.png","project_id":319743,"asset_id":302340,"created_at":"2021-11-28T10:09:22.920+08:00","updated_at":"2021-11-28T10:09:22.920+08:00"},{"id":6638050,"file_name":"space_bg.jpg","project_id":319743,"asset_id":302339,"created_at":"2021-11-28T10:09:22.921+08:00","updated_at":"2021-11-28T10:09:22.921+08:00"},{"id":6638051,"file_name":"earth.png","project_id":319743,"asset_id":302338,"created_at":"2021-11-28T10:09:22.922+08:00","updated_at":"2021-11-28T10:09:22.922+08:00"}]
橘蘋學習平台
橘蘋學習平台
我的作品
檢視專案頁
匯出
複製
匯入
刪除
下載 Android APP (APK)
截圖
1:1:1
1:1
full
幫助
用手機掃描下方 QRCode 進行安裝
或您也可以
下載 APK
到這台電腦
用手機掃描下方 QRCode 進行安裝
或您也可以
下載 APK
到這台電腦