{"id":481915,"student_id":2589,"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":"2023-01-10T10:04:49.608+08:00","updated_at":"2023-01-10T10:04:49.627+08:00","name":"w","language":"javascript","screenshot":{"url":null},"parent_id":2,"plugin":"","description":null,"note":null,"status":"public","like_student_ids":[],"is_featured":false,"views":55,"hashid":"wdks5gvk9","is_content_changed":false,"review_status":"unsubmitted","submitted_at":null,"reviewed_at":null,"advise":null,"is_deleted":false}
[{"id":10963915,"file_name":"earth.png","project_id":481915,"asset_id":302338,"created_at":"2023-01-10T10:04:49.614+08:00","updated_at":"2023-01-10T10:04:49.614+08:00"},{"id":10963916,"file_name":"space_bg.jpg","project_id":481915,"asset_id":302339,"created_at":"2023-01-10T10:04:49.620+08:00","updated_at":"2023-01-10T10:04:49.620+08:00"},{"id":10963917,"file_name":"koding.png","project_id":481915,"asset_id":302340,"created_at":"2023-01-10T10:04:49.621+08:00","updated_at":"2023-01-10T10:04:49.621+08:00"},{"id":10963918,"file_name":"Gymnopedie_No_1.mp3","project_id":481915,"asset_id":302341,"created_at":"2023-01-10T10:04:49.622+08:00","updated_at":"2023-01-10T10:04:49.622+08:00"}]
橘蘋學習平台
橘蘋學習平台
我的作品
檢視專案頁
匯出
複製
匯入
刪除
下載 Android APP (APK)
截圖
1:1:1
1:1
full
幫助
用手機掃描下方 QRCode 進行安裝
或您也可以
下載 APK
到這台電腦
用手機掃描下方 QRCode 進行安裝
或您也可以
下載 APK
到這台電腦