{"id":479561,"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":"2022-12-27T23:09:06.353+08:00","updated_at":"2022-12-27T23:09:06.368+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":44,"hashid":"npmszqnqe","is_content_changed":false,"review_status":"unsubmitted","submitted_at":null,"reviewed_at":null,"advise":null,"is_deleted":false}
[{"id":10914753,"file_name":"earth.png","project_id":479561,"asset_id":302338,"created_at":"2022-12-27T23:09:06.359+08:00","updated_at":"2022-12-27T23:09:06.359+08:00"},{"id":10914754,"file_name":"space_bg.jpg","project_id":479561,"asset_id":302339,"created_at":"2022-12-27T23:09:06.361+08:00","updated_at":"2022-12-27T23:09:06.361+08:00"},{"id":10914755,"file_name":"koding.png","project_id":479561,"asset_id":302340,"created_at":"2022-12-27T23:09:06.362+08:00","updated_at":"2022-12-27T23:09:06.362+08:00"},{"id":10914756,"file_name":"Gymnopedie_No_1.mp3","project_id":479561,"asset_id":302341,"created_at":"2022-12-27T23:09:06.364+08:00","updated_at":"2022-12-27T23:09:06.364+08:00"}]
橘蘋學習平台
橘蘋學習平台
我的作品
檢視專案頁
匯出
複製
匯入
刪除
下載 Android APP (APK)
截圖
1:1:1
1:1
full
幫助
用手機掃描下方 QRCode 進行安裝
或您也可以
下載 APK
到這台電腦
用手機掃描下方 QRCode 進行安裝
或您也可以
下載 APK
到這台電腦