{"id":270511,"student_id":10,"content":"// setBackdrop(\"bg_0.png\"); //設定背景圖\n// let board = createSprite('board.png'); //分數板\n// let player = createSprite('koding_0.png', 'koding_1.png', 'koding_2.png'); //玩家\n// let item = createSprite('item_0.png', 'item_1.png', 'item_2.png', 'item_3.png', 'item_4.png', 'item_5.png', 'item_6.png'); //飛行物體\n// let target = createSprite('target.png'); //準星\n// // let info = createSprite('info.png'); //遊戲說明\n\n// let level = 0; //等級\n// let clock = 0; //紀錄遊戲迴圈的執行次數\n\n// item.direction = Math.random()*360; //物品朝向隨機方向\n// item.stepForward(Math.random() * 300 + 300); //物品向前移動 300 - 1300 的距離\n// item.direction += 180; //物品 180 度旋轉方向\n// item.costumeId = Math.floor(Math.random() * 7); //隨機切換物品的造型\n\n// // createSound('bgm.mp3', true); //播放背景音樂\n\n// function gameloop () {\n \n// // item.stepForward(5);\n \n// // // 如果遊戲說明圖被隱藏,物品才會開始移動\n// // if (info.hidden) {\n// // item.stepForward(5 + level/3);\n// // }\n \n// // // 如果物品碰到叩叮歌手遊戲就結束\n// if (item.touched(player) == true) {\n// player.costumeId = 2; //切換叩叮的圖片\n// setBackdrop(\"bg_1.png\"); //切換背景圖圖片\n// stop(); //暫停遊戲\n// // createSound('fail.mp3'); //播放失敗音效\n// }\n \n// // // 讓準星角色不斷跟著滑鼠移動\n// target.x = cursor.x;\n// target.y = cursor.y;\n \n// if (target.touched(item) \u0026\u0026 cursor.isDown) {\n \n// // // 當物品被攔截時,創造一個半透明的物品作為紀錄\n// // let fake = createSprite('item_0.png', 'item_1.png', 'item_2.png', 'item_3.png', 'item_4.png', 'item_5.png', 'item_6.png');\n// // fake.x = item.x;\n// // fake.y = item.y;\n// // fake.direction = item.direction;\n// // fake.costumeId = item.costumeId;\n// // fake.opacity = 0.5;\n \n// // // 將物品重置到遊戲場景中央\n// // item.x = 600;\n// // item.y = 450;\n// // item.direction = Math.random()*360;\n// // item.stepForward(Math.random() * 300 + 1000);\n// // item.direction += 180;\n// // item.costumeId = Math.floor(Math.random() * 7);\n// // level += 1;\n// // createSound('fired.mp3');\n// }\n \n// drawText(level, 200, 60, 'white', 50); //將分數印在左上角\n \n// // clock++;\n// // if (clock % 30 == 0) {\n// // player.costumeId = 1;\n// // }\n// // if (clock % 30 == 15) {\n// // player.costumeId = 0;\n// // }\n// }\n\n// // function startGame () {\n// // info.hidden = true; //隱藏遊戲說明圖\n// // }\n\n// // on('click', startGame); //遊戲場景被點擊,就執行 startGame 指令並隱藏遊戲說明圖\n// forever(gameloop);\n\n","created_at":"2021-07-06T16:45:46.878+08:00","updated_at":"2021-07-06T17:41:18.454+08:00","name":"守護演唱會v2 章節拆解實驗","language":"javascript","screenshot":{"url":"https://cdn8.koding.school/uploads/project/screenshot/270511/210bc360d5e1bc98b055c38273e88f42.jpg"},"parent_id":230980,"plugin":"Game.set({ width: 1200, height: 900 });","description":null,"note":null,"status":"public","like_student_ids":[],"is_featured":false,"views":231,"hashid":"d5msv2928","is_content_changed":false,"review_status":"unsubmitted","submitted_at":null,"reviewed_at":null,"advise":null,"is_deleted":false}
[{"id":5243282,"file_name":"fail.mp3","project_id":270511,"asset_id":333450,"created_at":"2021-07-06T16:45:46.884+08:00","updated_at":"2021-07-06T16:45:46.884+08:00"},{"id":5243283,"file_name":"item_6.png","project_id":270511,"asset_id":333449,"created_at":"2021-07-06T16:45:46.885+08:00","updated_at":"2021-07-06T16:45:46.885+08:00"},{"id":5243284,"file_name":"item_5.png","project_id":270511,"asset_id":333448,"created_at":"2021-07-06T16:45:46.886+08:00","updated_at":"2021-07-06T16:45:46.886+08:00"},{"id":5243285,"file_name":"item_4.png","project_id":270511,"asset_id":333447,"created_at":"2021-07-06T16:45:46.887+08:00","updated_at":"2021-07-06T16:45:46.887+08:00"},{"id":5243286,"file_name":"item_3.png","project_id":270511,"asset_id":333446,"created_at":"2021-07-06T16:45:46.888+08:00","updated_at":"2021-07-06T16:45:46.888+08:00"},{"id":5243287,"file_name":"item_2.png","project_id":270511,"asset_id":333445,"created_at":"2021-07-06T16:45:46.889+08:00","updated_at":"2021-07-06T16:45:46.889+08:00"},{"id":5243288,"file_name":"item_1.png","project_id":270511,"asset_id":333444,"created_at":"2021-07-06T16:45:46.890+08:00","updated_at":"2021-07-06T16:45:46.890+08:00"},{"id":5243289,"file_name":"item_0.png","project_id":270511,"asset_id":333443,"created_at":"2021-07-06T16:45:46.891+08:00","updated_at":"2021-07-06T16:45:46.891+08:00"},{"id":5243290,"file_name":"bg_1.png","project_id":270511,"asset_id":320387,"created_at":"2021-07-06T16:45:46.892+08:00","updated_at":"2021-07-06T16:45:46.892+08:00"},{"id":5243291,"file_name":"bg_0.png","project_id":270511,"asset_id":320386,"created_at":"2021-07-06T16:45:46.893+08:00","updated_at":"2021-07-06T16:45:46.893+08:00"},{"id":5243292,"file_name":"board.png","project_id":270511,"asset_id":320385,"created_at":"2021-07-06T16:45:46.894+08:00","updated_at":"2021-07-06T16:45:46.894+08:00"},{"id":5243293,"file_name":"info.png","project_id":270511,"asset_id":320384,"created_at":"2021-07-06T16:45:46.895+08:00","updated_at":"2021-07-06T16:45:46.895+08:00"},{"id":5243294,"file_name":"koding_0.png","project_id":270511,"asset_id":320376,"created_at":"2021-07-06T16:45:46.896+08:00","updated_at":"2021-07-06T16:45:46.896+08:00"},{"id":5243295,"file_name":"koding_1.png","project_id":270511,"asset_id":320375,"created_at":"2021-07-06T16:45:46.897+08:00","updated_at":"2021-07-06T16:45:46.897+08:00"},{"id":5243296,"file_name":"koding_2.png","project_id":270511,"asset_id":320374,"created_at":"2021-07-06T16:45:46.898+08:00","updated_at":"2021-07-06T16:45:46.898+08:00"},{"id":5243297,"file_name":"target.png","project_id":270511,"asset_id":320373,"created_at":"2021-07-06T16:45:46.899+08:00","updated_at":"2021-07-06T16:45:46.899+08:00"},{"id":5243298,"file_name":"bgm.mp3","project_id":270511,"asset_id":319831,"created_at":"2021-07-06T16:45:46.900+08:00","updated_at":"2021-07-06T16:45:46.900+08:00"},{"id":5243299,"file_name":"effect.mp3","project_id":270511,"asset_id":319837,"created_at":"2021-07-06T16:45:46.901+08:00","updated_at":"2021-07-06T16:45:46.901+08:00"},{"id":5243300,"file_name":"fired.mp3","project_id":270511,"asset_id":280214,"created_at":"2021-07-06T16:45:46.902+08:00","updated_at":"2021-07-06T16:45:46.902+08:00"}]
橘蘋學習平台
橘蘋學習平台
我的作品
檢視專案頁
匯出
複製
匯入
刪除
下載 Android APP (APK)
截圖
1:1:1
1:1
full
幫助
用手機掃描下方 QRCode 進行安裝
或您也可以
下載 APK
到這台電腦
用手機掃描下方 QRCode 進行安裝
或您也可以
下載 APK
到這台電腦