diff --git a/Main/hostelDoor.html b/Main/hostelDoor.html index 1ff20b1..56d1c8c 100644 --- a/Main/hostelDoor.html +++ b/Main/hostelDoor.html @@ -52,7 +52,7 @@ function preload() { this.load.image('hostelDoor', 'images/hosteldoorcrop.png'); - this.load.audio('hostelDoorOpen', 'sounds/문열기4.mp3'); + this.load.audio('hostelDoorOpen', 'sounds/철문여는소리.wav'); this.load.audio('bgm', 'sounds/in-the-embrace-of-darkness-197925.mp3'); } diff --git "a/Main/sounds/\353\254\270\354\227\264\352\270\2604.mp3" "b/Main/sounds/\353\254\270\354\227\264\352\270\2604.mp3" deleted file mode 100644 index 422fd02..0000000 Binary files "a/Main/sounds/\353\254\270\354\227\264\352\270\2604.mp3" and /dev/null differ diff --git "a/TheHostel/sound/\354\262\240\353\254\270\354\227\254\353\212\224\354\206\214\353\246\254.wav" "b/Main/sounds/\354\262\240\353\254\270\354\227\254\353\212\224\354\206\214\353\246\254.wav" similarity index 100% rename from "TheHostel/sound/\354\262\240\353\254\270\354\227\254\353\212\224\354\206\214\353\246\254.wav" rename to "Main/sounds/\354\262\240\353\254\270\354\227\254\353\212\224\354\206\214\353\246\254.wav" diff --git a/TheHostel/game/locker/imgForClue1.png b/TheHostel/game/locker/imgForClue1.png new file mode 100644 index 0000000..58654be Binary files /dev/null and b/TheHostel/game/locker/imgForClue1.png differ diff --git a/TheHostel/game/locker/imgForClue2.png b/TheHostel/game/locker/imgForClue2.png new file mode 100644 index 0000000..b029636 Binary files /dev/null and b/TheHostel/game/locker/imgForClue2.png differ diff --git a/TheHostel/game/locker/imgForClue3.png b/TheHostel/game/locker/imgForClue3.png new file mode 100644 index 0000000..c7851c1 Binary files /dev/null and b/TheHostel/game/locker/imgForClue3.png differ diff --git a/TheHostel/game/locker/imgForClue4.png b/TheHostel/game/locker/imgForClue4.png new file mode 100644 index 0000000..441ad0f Binary files /dev/null and b/TheHostel/game/locker/imgForClue4.png differ diff --git a/TheHostel/game/locker/lockerScript.js b/TheHostel/game/locker/lockerScript.js index c027f1e..906f3ec 100644 --- a/TheHostel/game/locker/lockerScript.js +++ b/TheHostel/game/locker/lockerScript.js @@ -19,7 +19,7 @@ const patternbox = document.querySelector(".patternbox"); patternbox1.addEventListener("click", (e) => { cnt1++; - patternbox1.style.backgroundImage = `url('imgForClue_0${cnt1}.png')` + patternbox1.style.backgroundImage = `url('imgForClue${cnt1}.png')` patternbox2.style.backgroundRepeat = 'no-repeat'; patternbox1.style.backgroundSize = 'cover'; @@ -30,7 +30,7 @@ const patternbox = document.querySelector(".patternbox"); patternbox2.addEventListener("click", (e) => { cnt2++; - patternbox2.style.backgroundImage = `url('imgForClue_0${cnt2}.png')`; + patternbox2.style.backgroundImage = `url('imgForClue${cnt2}.png')`; patternbox2.style.backgroundRepeat = 'no-repeat'; patternbox2.style.backgroundSize = 'cover'; @@ -41,7 +41,7 @@ const patternbox = document.querySelector(".patternbox"); patternbox3.addEventListener("click", (e) => { cnt3++; - patternbox3.style.backgroundImage = `url('imgForClue_0${cnt3}.png')` + patternbox3.style.backgroundImage = `url('imgForClue${cnt3}.png')` patternbox3.style.backgroundRepeat = 'no-repeat'; patternbox3.style.backgroundSize = 'cover'; @@ -52,7 +52,7 @@ const patternbox = document.querySelector(".patternbox"); patternbox4.addEventListener("click", (e) => { cnt4++; - patternbox4.style.backgroundImage = `url('imgForClue_0${cnt4}.png')` + patternbox4.style.backgroundImage = `url('imgForClue${cnt4}.png')` patternbox4.style.backgroundRepeat = 'no-repeat'; patternbox4.style.backgroundSize = 'cover'; diff --git a/TheHostel/game/rushhour/rushhour.html b/TheHostel/game/rushhour/rushhour.html index 4d970b9..e656858 100644 --- a/TheHostel/game/rushhour/rushhour.html +++ b/TheHostel/game/rushhour/rushhour.html @@ -63,7 +63,6 @@ - diff --git a/TheHostel/game/rushhour/rushhourtoken.jpg b/TheHostel/game/rushhour/rushhourtoken.jpg new file mode 100644 index 0000000..77ef2c4 Binary files /dev/null and b/TheHostel/game/rushhour/rushhourtoken.jpg differ diff --git a/TheHostel/game/rushhour/tokenimages/token1.jpg b/TheHostel/game/rushhour/tokenimages/token1.jpg new file mode 100644 index 0000000..62c89f6 Binary files /dev/null and b/TheHostel/game/rushhour/tokenimages/token1.jpg differ diff --git a/TheHostel/game/rushhour/tokenimages/token2.jpg b/TheHostel/game/rushhour/tokenimages/token2.jpg new file mode 100644 index 0000000..92e82fa Binary files /dev/null and b/TheHostel/game/rushhour/tokenimages/token2.jpg differ diff --git a/TheHostel/game/rushhour/tokenimages/token3.jpg b/TheHostel/game/rushhour/tokenimages/token3.jpg new file mode 100644 index 0000000..e0e5e42 Binary files /dev/null and b/TheHostel/game/rushhour/tokenimages/token3.jpg differ diff --git a/TheHostel/game/rushhour/tokenimages/token4.jpg b/TheHostel/game/rushhour/tokenimages/token4.jpg new file mode 100644 index 0000000..69fecad Binary files /dev/null and b/TheHostel/game/rushhour/tokenimages/token4.jpg differ diff --git a/TheHostel/game/rushhour/tokenimages/token5.jpg b/TheHostel/game/rushhour/tokenimages/token5.jpg new file mode 100644 index 0000000..27c20d7 Binary files /dev/null and b/TheHostel/game/rushhour/tokenimages/token5.jpg differ diff --git a/TheHostel/game/rushhour/tokenimages/token6.jpg b/TheHostel/game/rushhour/tokenimages/token6.jpg new file mode 100644 index 0000000..537d5d5 Binary files /dev/null and b/TheHostel/game/rushhour/tokenimages/token6.jpg differ diff --git a/TheHostel/game/rushhour/tokenimages/token7.jpg b/TheHostel/game/rushhour/tokenimages/token7.jpg new file mode 100644 index 0000000..7fad327 Binary files /dev/null and b/TheHostel/game/rushhour/tokenimages/token7.jpg differ diff --git a/TheHostel/game/rushhour/tokenimages/token8.jpg b/TheHostel/game/rushhour/tokenimages/token8.jpg new file mode 100644 index 0000000..aa20a2f Binary files /dev/null and b/TheHostel/game/rushhour/tokenimages/token8.jpg differ diff --git a/TheHostel/game/rushhour/tokenimages/token9.jpg b/TheHostel/game/rushhour/tokenimages/token9.jpg new file mode 100644 index 0000000..15a5bb1 Binary files /dev/null and b/TheHostel/game/rushhour/tokenimages/token9.jpg differ diff --git "a/TheHostel/image/images/barpage/\353\247\220\355\225\230\353\212\224\354\233\250\354\235\264\355\204\260.png" "b/TheHostel/image/images/barpage/\353\247\220\355\225\230\353\212\224\354\233\250\354\235\264\355\204\260.png" new file mode 100644 index 0000000..79e6125 Binary files /dev/null and "b/TheHostel/image/images/barpage/\353\247\220\355\225\230\353\212\224\354\233\250\354\235\264\355\204\260.png" differ diff --git "a/TheHostel/image/images/leftwall/\352\261\260\354\232\270.PNG" "b/TheHostel/image/images/leftwall/\352\261\260\354\232\270.PNG" index da605c1..149647a 100644 Binary files "a/TheHostel/image/images/leftwall/\352\261\260\354\232\270.PNG" and "b/TheHostel/image/images/leftwall/\352\261\260\354\232\270.PNG" differ diff --git "a/TheHostel/image/images/leftwall/\353\217\231\354\240\204\354\203\201\354\236\220.PNG" "b/TheHostel/image/images/leftwall/\353\217\231\354\240\204\354\203\201\354\236\220.PNG" new file mode 100644 index 0000000..19b9a9b Binary files /dev/null and "b/TheHostel/image/images/leftwall/\353\217\231\354\240\204\354\203\201\354\236\220.PNG" differ diff --git "a/TheHostel/image/images/leftwall/\353\217\231\354\240\204\354\230\254\353\240\244\354\247\204\354\203\201\354\236\220.PNG" "b/TheHostel/image/images/leftwall/\353\217\231\354\240\204\354\230\254\353\240\244\354\247\204\354\203\201\354\236\220.PNG" new file mode 100644 index 0000000..ea21288 Binary files /dev/null and "b/TheHostel/image/images/leftwall/\353\217\231\354\240\204\354\230\254\353\240\244\354\247\204\354\203\201\354\236\220.PNG" differ diff --git "a/TheHostel/image/images/leftwall/\353\251\224\353\211\264\355\214\220.png" "b/TheHostel/image/images/leftwall/\353\251\224\353\211\264\355\214\220.png" new file mode 100644 index 0000000..0da6598 Binary files /dev/null and "b/TheHostel/image/images/leftwall/\353\251\224\353\211\264\355\214\220.png" differ diff --git "a/TheHostel/image/images/leftwall/\354\231\274\354\252\275\353\262\275\354\227\264\353\246\260\354\204\240\353\260\230.PNG" "b/TheHostel/image/images/leftwall/\354\231\274\354\252\275\353\262\275\354\227\264\353\246\260\354\204\240\353\260\230.PNG" index 10a54a9..7fea108 100644 Binary files "a/TheHostel/image/images/leftwall/\354\231\274\354\252\275\353\262\275\354\227\264\353\246\260\354\204\240\353\260\230.PNG" and "b/TheHostel/image/images/leftwall/\354\231\274\354\252\275\353\262\275\354\227\264\353\246\260\354\204\240\353\260\230.PNG" differ diff --git "a/TheHostel/image/images/leftwall/\354\265\234\354\242\205\354\227\264\353\246\260\354\203\201\354\236\220.PNG" "b/TheHostel/image/images/leftwall/\354\265\234\354\242\205\354\227\264\353\246\260\354\203\201\354\236\220.PNG" new file mode 100644 index 0000000..7e7f97c Binary files /dev/null and "b/TheHostel/image/images/leftwall/\354\265\234\354\242\205\354\227\264\353\246\260\354\203\201\354\236\220.PNG" differ diff --git "a/TheHostel/image/images/leftwall/\355\213\260\353\271\2040.gif" "b/TheHostel/image/images/leftwall/\355\213\260\353\271\2040.gif" new file mode 100644 index 0000000..ab709f1 Binary files /dev/null and "b/TheHostel/image/images/leftwall/\355\213\260\353\271\2040.gif" differ diff --git "a/TheHostel/image/images/leftwall/\355\213\260\353\271\2041.png" "b/TheHostel/image/images/leftwall/\355\213\260\353\271\2041.png" new file mode 100644 index 0000000..6f4f5cb Binary files /dev/null and "b/TheHostel/image/images/leftwall/\355\213\260\353\271\2041.png" differ diff --git "a/TheHostel/image/images/leftwall/\355\213\260\353\271\2042.PNG" "b/TheHostel/image/images/leftwall/\355\213\260\353\271\2042.PNG" new file mode 100644 index 0000000..3db43cb Binary files /dev/null and "b/TheHostel/image/images/leftwall/\355\213\260\353\271\2042.PNG" differ diff --git "a/TheHostel/image/images/leftwall/\355\213\260\353\271\2043.png" "b/TheHostel/image/images/leftwall/\355\213\260\353\271\2043.png" new file mode 100644 index 0000000..de24072 Binary files /dev/null and "b/TheHostel/image/images/leftwall/\355\213\260\353\271\2043.png" differ diff --git "a/TheHostel/image/images/leftwall/\355\213\260\353\271\2044.png" "b/TheHostel/image/images/leftwall/\355\213\260\353\271\2044.png" new file mode 100644 index 0000000..07e3669 Binary files /dev/null and "b/TheHostel/image/images/leftwall/\355\213\260\353\271\2044.png" differ diff --git a/TheHostel/image/pointer2.png b/TheHostel/image/pointer2.png new file mode 100644 index 0000000..a860e30 Binary files /dev/null and b/TheHostel/image/pointer2.png differ diff --git a/TheHostel/image/pointer3.png b/TheHostel/image/pointer3.png new file mode 100644 index 0000000..251fff0 Binary files /dev/null and b/TheHostel/image/pointer3.png differ diff --git a/TheHostel/js/02_the_bar.js b/TheHostel/js/02_the_bar.js index 33ca1ad..33baab5 100644 --- a/TheHostel/js/02_the_bar.js +++ b/TheHostel/js/02_the_bar.js @@ -155,7 +155,7 @@ function handleOverlayClick(event, area) { } // 웨이터 영역 클릭 시 동작 else if (area.id === 'waiter-area' && checkAreaClick(area) && !buttonDisplayed) { - imageElement.src = '../image/images/barpage/말하는웨이터_수정.PNG'; + imageElement.src = '../image/images/barpage/말하는웨이터.PNG'; otherAreaClicked = true; addCloseButton(); removeClickableAreas(); // 영역 제거 diff --git a/TheHostel/js/05_left_wall.js b/TheHostel/js/05_left_wall.js index b8eb6ba..38e0c17 100644 --- a/TheHostel/js/05_left_wall.js +++ b/TheHostel/js/05_left_wall.js @@ -14,9 +14,9 @@ window.onload = function() { if(coinClick) { const leftWallImage = document.getElementById('left-wall-image'); - leftWallImage.src = '../image/images/leftwall/동전올려진상자_배경.PNG'; + leftWallImage.src = '../image/images/leftwall/동전올려진상자.PNG'; setTimeout(() => { - leftWallImage.src = '../image/images/leftwall/최종열린상자_배경.PNG'; + leftWallImage.src = '../image/images/leftwall/최종열린상자.PNG'; setTimeout(() => { window.location.href = '../HTML/Ending.html'; }, 2000); @@ -27,12 +27,12 @@ window.onload = function() { // 클릭 가능한 영역을 추가하는 함수 function addClickableAreas() { const clickableAreas = [ - { id: 'menu', x: 203, y: 142, width: 120, height: 160, image: '../image/images/leftwall/메뉴판_수정.PNG' }, + { id: 'menu', x: 203, y: 142, width: 120, height: 160, image: '../image/images/leftwall/메뉴판.PNG' }, { id: 'pianokey', x: 399, y: 206, width: 210, height: 160, image: '../image/images/leftwall/피아노건반.PNG' }, - { id: 'mirror', x: 712, y: 78, width: 160, height: 190, image: '../image/images/leftwall/거울_수정.PNG' }, + { id: 'mirror', x: 712, y: 78, width: 160, height: 190, image: '../image/images/leftwall/거울.PNG' }, // { id: 'flowerpot', x: 703, y: 360, width: 130, height: 379, image: '../image/images/leftwall/꽃화분.PNG' }, { id: 'television', x: 75, y: 342, width: 170, height: 160, image: '../image/images/leftwall/티비_1.PNG' }, - { id: 'green_drawer', x: 67, y: 537, width: 370, height: 220, image: '../image/images/leftwall/왼쪽벽열린선반_수정.PNG' }, + { id: 'green_drawer', x: 67, y: 537, width: 370, height: 220, image: '../image/images/leftwall/왼쪽벽열린선반.PNG' }, // { id: 'chest', x: 298, y: 417, width: 100, height: 100, image: '../image/images/leftwall/열린상자_빈.PNG' }, { id: 'grandfather_clock', x: 1010, y: 141, width: 126, height: 419, href: '../game/clock/clock.html' }, { id: 'grandfather_drawer', x: 971, y: 633, width: 212, height: 95, image: drawerUnlocked ? '../image/images/leftwall/서랍속반지.PNG' : '' } @@ -209,14 +209,14 @@ function addTVArea() { }); otherAreaClicked = true; - imageElement.src = '../image/images/leftwall/티비_0.gif'; + imageElement.src = '../image/images/leftwall/티비0.gif'; addCloseButton(); removeClickableAreas(); // 영역 제거 // 티비 화면 자동 전환 interval = setInterval(function () { i++; - imageElement.src = `../image/images/leftwall/티비_${i}.png`; + imageElement.src = `../image/images/leftwall/티비${i}.png`; if (i === 4) { i = 0; @@ -232,7 +232,7 @@ function addTVArea() { } else { interval = setInterval(function () { i++; - imageElement.src = `../image/images/leftwall/티비_${i}.png`; + imageElement.src = `../image/images/leftwall/티비${i}.png`; if (i === 4) { i = 0; @@ -280,7 +280,7 @@ function handleGreenDrawerClick() { // 동전 상자 이미지 표시 함수 function showCoinBox() { - imageElement.src = '../image/images/leftwall/동전상자_배경.PNG'; + imageElement.src = '../image/images/leftwall/동전상자.PNG'; } // 초기 영역 추가