{"id":136431,"student_id":10,"content":"setBackdrop(\"bg.png\");\nvar locker = createSprite('locker_0.png','locker_1.png','locker_2.png');\nvar n1 = createSprite('0.png','1.png','2.png','3.png','4.png','5.png','6.png','7.png','8.png','9.png');\nvar n2 = createSprite('0.png','1.png','2.png','3.png','4.png','5.png','6.png','7.png','8.png','9.png');\nvar n3 = createSprite('0.png','1.png','2.png','3.png','4.png','5.png','6.png','7.png','8.png','9.png');\nvar door = createSprite('door_0.png', 'door_2.png');\nvar freezer = createSprite('freezer_0.png', 'freezer_1.png', 'freezer_2.png');\nvar wardrobe = createSprite('wardrobe_0.png', 'wardrobe_1.png', 'wardrobe_2.png');\nvar books = createSprite('books_0.png','books_2.png');\nvar pot = createSprite('pot_0.png','pot_1.png');\nvar curtain = createSprite('curtain_0.png','curtain_1.png','curtain_2.png');\nvar mouse = createSprite('mouse_0.png','mouse_1.png','mouse_2.png');\nvar info = createSprite('info.png');\n\nlocker.moveTo(370, 670);\nn1.moveTo(330, 700);\nn2.moveTo(370, 700);\nn3.moveTo(410, 700);\ndoor.moveTo(600, 650);\nfreezer.moveTo(840, 720);\nwardrobe.moveTo(150, 670);\nbooks.moveTo(120, 220);\npot.moveTo(130, 460);\ncurtain.moveTo(1030, 590);\n\nforever(loop);\ninfo.on('click', clickInfo);\nn1.on('click', changeNumber);\nn2.on('click', changeNumber);\nn3.on('click', changeNumber);\nlocker.on('click', openLocker);\ndoor.on('click', openDoor);\nfreezer.on('click', openFreezer);\nbooks.on('click', openBooks);\npot.on('click', openPot);\ncurtain.on('click', openCurtain);\nwardrobe.on('click', openWardrobe);\n\n\nfunction loop () {\n mouse.x = cursor.x;\n mouse.y = cursor.y;\n}\n\nfunction clickInfo () {\n info.hidden = true;\n}\n\nfunction openPot () {\n pot.costumeId = 1;\n createSound('Meow.ogg');\n}\n\nfunction openWardrobe () {\n if (wardrobe.costumeId == 0) {\n wardrobe.costumeId = 1;\n } else {\n wardrobe.costumeId = 0;\n }\n createSound('1.ogg');\n}\n\nfunction openCurtain () {\n if (curtain.costumeId \u003c 2) {\n curtain.costumeId += 1;\n createSound('6.ogg');\n }\n}\n\nfunction openFreezer () {\n if (freezer.costumeId == 0) {\n freezer.costumeId = 1;\n \n }\n else if (freezer.costumeId == 1) {\n freezer.costumeId = 2;\n mouse.costumeId = 1;\n }\n}\n\nfunction openBooks () {\n if (mouse.costumeId == 1) {\n books.costumeId = 1;\n mouse.costumeId = 0;\n createSound('Meow.ogg');\n }\n}\n\nfunction changeNumber() {\n this.nextCostume();\n createSound('4.ogg');\n}\n\nfunction openLocker () {\n if (locker.costumeId == 1) {\n locker.costumeId = 2;\n mouse.costumeId = 2;\n }\n if (locker.costumeId == 0 \u0026\u0026 n1.costumeId == 9 \u0026\u0026 n2.costumeId == 5 \u0026\u0026 n3.costumeId == 5) {\n locker.costumeId = 1;\n n1.hidden = true;\n n2.hidden = true;\n n3.hidden = true;\n }\n}\n\nfunction openDoor () {\n if (mouse.costumeId == 2) {\n door.costumeId = 1;\n createSound('gameover.mp3');\n } else {\n createSound('3.ogg');\n }\n}","created_at":"2020-03-26T17:54:28.369+08:00","updated_at":"2021-12-06T19:05:50.659+08:00","name":"密室逃脫","language":"javascript","screenshot":{"url":"https://cdn7.koding.school/uploads/project/screenshot/136431/afdea3f5732c88d18b0ecec1c0c54f23.jpg"},"parent_id":2,"plugin":"Game.set({width: 1200, height: 900})","description":null,"note":null,"status":"public","like_student_ids":[],"is_featured":false,"views":284,"hashid":"vngsqmpm","is_content_changed":false,"review_status":"unsubmitted","submitted_at":null,"reviewed_at":null,"advise":null,"is_deleted":false}
[{"id":2347319,"file_name":"4.ogg","project_id":136431,"asset_id":200336,"created_at":"2020-03-27T15:17:46.396+08:00","updated_at":"2020-03-27T15:17:46.396+08:00"},{"id":2347320,"file_name":"5.ogg","project_id":136431,"asset_id":200337,"created_at":"2020-03-27T15:17:46.397+08:00","updated_at":"2020-03-27T15:17:46.397+08:00"},{"id":2347374,"file_name":"door_2.png","project_id":136431,"asset_id":200321,"created_at":"2020-03-27T17:21:13.660+08:00","updated_at":"2020-03-27T17:21:22.692+08:00"},{"id":2347285,"file_name":"mouse_0.png","project_id":136431,"asset_id":200328,"created_at":"2020-03-27T14:43:17.614+08:00","updated_at":"2020-03-27T14:43:17.614+08:00"},{"id":2347286,"file_name":"mouse_1.png","project_id":136431,"asset_id":200329,"created_at":"2020-03-27T14:43:17.616+08:00","updated_at":"2020-03-27T14:43:17.616+08:00"},{"id":2347291,"file_name":"wardrobe_0.png","project_id":136431,"asset_id":200333,"created_at":"2020-03-27T14:43:19.020+08:00","updated_at":"2020-03-27T14:43:19.020+08:00"},{"id":2347292,"file_name":"wardrobe_1.png","project_id":136431,"asset_id":200334,"created_at":"2020-03-27T14:43:19.022+08:00","updated_at":"2020-03-27T14:43:19.022+08:00"},{"id":2347321,"file_name":"1.ogg","project_id":136431,"asset_id":200338,"created_at":"2020-03-27T15:17:46.681+08:00","updated_at":"2020-03-27T15:17:46.681+08:00"},{"id":2347322,"file_name":"2.ogg","project_id":136431,"asset_id":200339,"created_at":"2020-03-27T15:17:46.683+08:00","updated_at":"2020-03-27T15:17:46.683+08:00"},{"id":2347323,"file_name":"3.ogg","project_id":136431,"asset_id":200340,"created_at":"2020-03-27T15:17:46.887+08:00","updated_at":"2020-03-27T15:17:46.887+08:00"},{"id":2347324,"file_name":"gameover.mp3","project_id":136431,"asset_id":200343,"created_at":"2020-03-27T16:17:20.863+08:00","updated_at":"2020-03-27T16:17:20.863+08:00"},{"id":2347261,"file_name":"0.png","project_id":136431,"asset_id":200304,"created_at":"2020-03-27T14:43:13.106+08:00","updated_at":"2020-03-27T14:43:13.106+08:00"},{"id":2347262,"file_name":"1.png","project_id":136431,"asset_id":200305,"created_at":"2020-03-27T14:43:13.108+08:00","updated_at":"2020-03-27T14:43:13.108+08:00"},{"id":2347263,"file_name":"2.png","project_id":136431,"asset_id":200306,"created_at":"2020-03-27T14:43:13.463+08:00","updated_at":"2020-03-27T14:43:13.463+08:00"},{"id":2347264,"file_name":"3.png","project_id":136431,"asset_id":200307,"created_at":"2020-03-27T14:43:13.464+08:00","updated_at":"2020-03-27T14:43:13.464+08:00"},{"id":2347269,"file_name":"8.png","project_id":136431,"asset_id":200312,"created_at":"2020-03-27T14:43:14.508+08:00","updated_at":"2020-03-27T14:43:14.508+08:00"},{"id":2347270,"file_name":"9.png","project_id":136431,"asset_id":200313,"created_at":"2020-03-27T14:43:14.510+08:00","updated_at":"2020-03-27T14:43:14.510+08:00"},{"id":2347273,"file_name":"books_0.png","project_id":136431,"asset_id":200316,"created_at":"2020-03-27T14:43:15.503+08:00","updated_at":"2020-03-27T14:43:15.503+08:00"},{"id":2347274,"file_name":"curtain_0.png","project_id":136431,"asset_id":200317,"created_at":"2020-03-27T14:43:15.504+08:00","updated_at":"2020-03-27T14:43:15.504+08:00"},{"id":2347279,"file_name":"freezer_0.png","project_id":136431,"asset_id":200322,"created_at":"2020-03-27T14:43:16.549+08:00","updated_at":"2020-03-27T14:43:16.549+08:00"},{"id":2347280,"file_name":"freezer_1.png","project_id":136431,"asset_id":200323,"created_at":"2020-03-27T14:43:16.551+08:00","updated_at":"2020-03-27T14:43:16.551+08:00"},{"id":2347281,"file_name":"freezer_2.png","project_id":136431,"asset_id":200324,"created_at":"2020-03-27T14:43:16.889+08:00","updated_at":"2020-03-27T14:43:16.889+08:00"},{"id":2347282,"file_name":"locker_0.png","project_id":136431,"asset_id":200325,"created_at":"2020-03-27T14:43:16.890+08:00","updated_at":"2020-03-27T14:43:16.890+08:00"},{"id":2347283,"file_name":"locker_1.png","project_id":136431,"asset_id":200326,"created_at":"2020-03-27T14:43:17.265+08:00","updated_at":"2020-03-27T14:43:17.265+08:00"},{"id":2347284,"file_name":"locker_2.png","project_id":136431,"asset_id":200327,"created_at":"2020-03-27T14:43:17.267+08:00","updated_at":"2020-03-27T14:43:17.267+08:00"},{"id":2347287,"file_name":"mouse_2.png","project_id":136431,"asset_id":200330,"created_at":"2020-03-27T14:43:17.981+08:00","updated_at":"2020-03-27T14:43:17.981+08:00"},{"id":2347288,"file_name":"pot_0.png","project_id":136431,"asset_id":200331,"created_at":"2020-03-27T14:43:17.983+08:00","updated_at":"2020-03-27T14:43:17.983+08:00"},{"id":2347289,"file_name":"pot_1.png","project_id":136431,"asset_id":200332,"created_at":"2020-03-27T14:43:18.335+08:00","updated_at":"2020-03-27T14:43:18.335+08:00"},{"id":2347290,"file_name":"pot.png","project_id":136431,"asset_id":200331,"created_at":"2020-03-27T14:43:18.337+08:00","updated_at":"2020-03-27T14:43:18.337+08:00"},{"id":2347272,"file_name":"books_1.png","project_id":136431,"asset_id":200315,"created_at":"2020-03-27T14:43:15.124+08:00","updated_at":"2020-03-27T14:48:32.237+08:00"},{"id":2347329,"file_name":"books_1.png","project_id":136431,"asset_id":200346,"created_at":"2020-03-27T16:37:29.971+08:00","updated_at":"2020-03-27T16:37:29.971+08:00"},{"id":2347326,"file_name":"Meow.ogg","project_id":136431,"asset_id":200345,"created_at":"2020-03-27T16:32:17.493+08:00","updated_at":"2020-03-27T16:32:17.493+08:00"},{"id":2347330,"file_name":"books_2.png","project_id":136431,"asset_id":200346,"created_at":"2020-03-27T16:37:47.941+08:00","updated_at":"2020-03-27T16:37:47.941+08:00"},{"id":2347267,"file_name":"6.png","project_id":136431,"asset_id":200310,"created_at":"2020-03-27T14:43:14.148+08:00","updated_at":"2020-03-27T14:43:14.148+08:00"},{"id":2347268,"file_name":"7.png","project_id":136431,"asset_id":200311,"created_at":"2020-03-27T14:43:14.149+08:00","updated_at":"2020-03-27T14:43:14.149+08:00"},{"id":2347311,"file_name":"bg.png","project_id":136431,"asset_id":200335,"created_at":"2020-03-27T15:07:12.996+08:00","updated_at":"2020-03-27T15:07:12.996+08:00"},{"id":2347325,"file_name":"6.ogg","project_id":136431,"asset_id":200344,"created_at":"2020-03-27T16:21:07.584+08:00","updated_at":"2020-03-27T16:21:07.584+08:00"},{"id":2347275,"file_name":"curtain_1.png","project_id":136431,"asset_id":200318,"created_at":"2020-03-27T14:43:15.850+08:00","updated_at":"2020-03-27T14:43:15.850+08:00"},{"id":2347276,"file_name":"curtain_2.png","project_id":136431,"asset_id":200319,"created_at":"2020-03-27T14:43:15.852+08:00","updated_at":"2020-03-27T14:43:15.852+08:00"},{"id":2347277,"file_name":"door_0.png","project_id":136431,"asset_id":200320,"created_at":"2020-03-27T14:43:16.203+08:00","updated_at":"2020-03-27T14:43:16.203+08:00"},{"id":2347393,"file_name":"info.png","project_id":136431,"asset_id":200368,"created_at":"2020-03-27T18:23:38.584+08:00","updated_at":"2020-03-27T18:23:38.584+08:00"},{"id":2347265,"file_name":"4.png","project_id":136431,"asset_id":200308,"created_at":"2020-03-27T14:43:13.786+08:00","updated_at":"2020-03-27T14:43:13.786+08:00"},{"id":2347266,"file_name":"5.png","project_id":136431,"asset_id":200309,"created_at":"2020-03-27T14:43:13.787+08:00","updated_at":"2020-03-27T14:43:13.787+08:00"}]
橘蘋學習平台
橘蘋學習平台
我的作品
檢視專案頁
匯出
複製
匯入
刪除
下載 Android APP (APK)
截圖
1:1:1
1:1
full
幫助
用手機掃描下方 QRCode 進行安裝
或您也可以
下載 APK
到這台電腦
用手機掃描下方 QRCode 進行安裝
或您也可以
下載 APK
到這台電腦