diff --git a/.github/workflows/activate.yml b/.github/workflows/activate.yml
new file mode 100644
index 0000000..6fa235d
--- /dev/null
+++ b/.github/workflows/activate.yml
@@ -0,0 +1,24 @@
+name: Acquire Activation File
+on:
+ workflow_dispatch: # 수동 실행
+
+jobs:
+ activation:
+ runs-on: ubuntu-latest
+ steps:
+ - name: Checkout repository
+ uses: actions/checkout@v4
+
+ # 최신 방식: unity-activate 액션만 사용합니다.
+ - name: Request activation file
+ uses: game-ci/unity-activate@v2
+ id: activation
+ with:
+ unityVersion: 2022.3.21f1 # 사용하시는 유니티 버전을 명시하세요.
+
+ - name: Upload .alf artifact
+ uses: actions/upload-artifact@v4
+ with:
+ name: activation-file
+ # 위 스텝에서 생성된 .alf 파일 경로를 참조합니다.
+ path: ${{ steps.activation.outputs.filePath }}
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
new file mode 100644
index 0000000..350072c
--- /dev/null
+++ b/.github/workflows/build.yml
@@ -0,0 +1,77 @@
+name: Unity CI — Desktop Build
+
+on:
+ push:
+ branches: [ main, develop ]
+ pull_request:
+ branches: [ main ]
+ workflow_dispatch:
+
+env:
+ UNITY_VERSION: auto
+
+jobs:
+ build:
+ runs-on: ${{ matrix.runs-on || 'ubuntu-latest' }}
+ strategy:
+ fail-fast: false
+ matrix:
+ include:
+ - targetPlatform: StandaloneWindows64
+ buildName: Windows
+ - targetPlatform: StandaloneLinux64
+ buildName: Linux
+ - targetPlatform: StandaloneOSX
+ buildName: macOS
+ runs-on: macos-latest
+
+ steps:
+ - name: Checkout repository
+ uses: actions/checkout@v4
+ with:
+ fetch-depth: 0
+ lfs: true
+
+ - name: Cache LFS objects
+ uses: actions/cache@v3
+ with:
+ path: .git/lfs/objects
+ key: lfs-${{ hashFiles('.lfs-assets-id') }}
+ restore-keys: lfs-
+
+ # Library 캐시 (빌드 시간 50~80% 단축)
+ - name: Cache Unity Library
+ uses: actions/cache@v3
+ with:
+ path: Library
+ key: |
+ Library-${{ matrix.targetPlatform }}-${{ hashFiles('Assets/**','Packages/**','ProjectSettings/**') }}
+ restore-keys: |
+ Library-${{ matrix.targetPlatform }}-
+ Library-
+
+ - name: Build ${{ matrix.buildName }}
+ uses: game-ci/unity-builder@v4
+ env:
+ UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}
+ UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }}
+ UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }}
+ with:
+ unityVersion: ${{ env.UNITY_VERSION }}
+ targetPlatform: ${{ matrix.targetPlatform }}
+ buildName: ${{ matrix.buildName }}
+ buildsPath: builds
+ buildMethod: BuildScript.BuildProject
+ versioning: Semantic
+
+ - name: Zip build output
+ run: |
+ cd builds
+ zip -r ${{ matrix.buildName }}.zip ${{ matrix.targetPlatform }}
+
+ - name: Upload artifact
+ uses: actions/upload-artifact@v4
+ with:
+ name: Build-${{ matrix.buildName }}-${{ github.sha }}
+ path: builds/${{ matrix.buildName }}.zip
+ retention-days: 14
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
new file mode 100644
index 0000000..8f4bcfc
--- /dev/null
+++ b/.github/workflows/main.yml
@@ -0,0 +1,49 @@
+name: Automated Build ⭐
+
+on:
+ push:
+ branches: [ main, develop ]
+ workflow_dispatch:
+
+jobs:
+ buildWindows:
+ name: 💻 Windows-64 Bit
+ runs-on: windows-latest
+
+ steps:
+ - name: Checkout repository
+ uses: actions/checkout@v4
+ with:
+ lfs: true
+
+ - name: Cache Unity Library
+ uses: actions/cache@v4
+ with:
+ path: Library
+ key: Library-${{ hashFiles('Assets/**', 'Packages/**', 'ProjectSettings/**') }}
+ restore-keys: |
+ Library-
+
+ - name: Build project
+ uses: game-ci/unity-builder@v4
+ env:
+ UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}
+ UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }}
+ UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }}
+ with:
+ targetPlatform: StandaloneWindows64
+
+ # 빌드 파일 내부에 스팀 앱 ID 추가
+ - name: Create steam_appid.txt
+ shell: pwsh
+ run: |
+ # 480은 테스트용 ID입니다. 실제 ID가 있다면 수정하세요.
+ $buildPath = "build/StandaloneWindows64/steam_appid.txt"
+ echo "480" > $buildPath
+ Write-Host "Created steam_appid.txt at $buildPath"
+
+ - name: Upload artifact
+ uses: actions/upload-artifact@v4
+ with:
+ name: Windows-Build-${{ github.run_number }}
+ path: build/StandaloneWindows64
diff --git a/Assets/Scripts/ReNewGrab.cs b/Assets/Scripts/ReNewGrab.cs
index 6699125..b522335 100644
--- a/Assets/Scripts/ReNewGrab.cs
+++ b/Assets/Scripts/ReNewGrab.cs
@@ -26,7 +26,7 @@ private void Awake()
}
private void Start()
- {
+ {
transform.position = StartPos;
holdGrab = false;
moveSpeed = 5;
diff --git a/README.md b/README.md
index 1127f14..d8011ab 100644
--- a/README.md
+++ b/README.md
@@ -87,33 +87,29 @@
---
-스테이지는 총 3개이다.
+총 6개의 맵이 존재한다.
-각 스테이지는 3개의 기능 중 하나를 사용해 클리어하는 것을 목표로 한다.
-
-한 스테이지당 5개의 맵이 존재한다.
-
-1스테이지는 튜토리얼 맵으로 구성한다.
+> 튜토리얼 맵 하나, 기본 맵 5개
- 1스테이지
-
-
+
- 2스테이지
-
+
+
- 3스테이지
-
+
- 4스테이지
-
+
- 5스테이지
-
+
## 2.게임 컨텐츠
@@ -122,16 +118,14 @@
## 2-1.메인 컨텐츠
-스테이지마다 바뀌는 능력을 활용하여, 다른 플레이어와의 협동을 통해 해당 스테이지의 함정등을 파회하며 모든 스테이지를 클리어한다
+각 맵마다 플레이어와 협동하여 열쇠를 얻고, 다음 스테이지로 이동하는 문을 찾는다.
## 2-2.서브 컨텐츠
-
-팀킬이 가능할만한 요소 추가
+팀원을 밀치거나 당길 수 있게 해 협동심을 더욱 끌어올린다.
## 2-3.엔딩
-
모든 스테이지 클리어 이후 엔딩크래딧
# 3.기능
@@ -143,17 +137,17 @@
**밀치는 장갑**:**일정 게이지를 차징 이후 차징된 양에 따라 다른 플레이어를 밀친다**
-이런 느낌으로 초록색 위치일때 가장 큰 파워로 밀치게 된다
+아래 이미지처럼 왼쪽에서 오른쪽으로 막대바가 이동하게 된다.
+맨 오른쪽에 있을 때 최대 파워로 대상을 밀친다.
-
+
**끌어오는 장갑: 일정 키를 누를시 그랩 방향이 위아래로 움직인다**
-
-
-사거리가 점점 늘어나고 일정 길이에 도달하면 약 0.1초간 유지되다 취소된다
+아래 이미지처럼 키를 누를 시 화살표가 나타나며 위 아래로 움직이게 된다.
+키를 땔 시 화살표 방향으로 장갑이 날아간다.
-0.1초 뒤 취소되는건 가장 먼 사거리일때 타이밍을 잡는 재미요소를 위함
+
# 스테이지 기믹
@@ -187,10 +181,14 @@ ex)
### 사용 리소스 출처
-https://assetstore.unity.com/packages/audio/music/8bit-music-album-051321-196147?srsltid=AfmBOorUaI9I9A3xIVTbJrYxmE4YKiXcARvwuUVgmaYW7bfbbCA8MfEC
+[음악 에셋 1](https://assetstore.unity.com/packages/audio/music/8bit-music-album-051321-196147?srsltid=AfmBOorUaI9I9A3xIVTbJrYxmE4YKiXcARvwuUVgmaYW7bfbbCA8MfEC)
+
+[음악 에셋 2](https://assetstore.unity.com/packages/audio/music/8bit-music-062022-225623)
+
+[효과음 에셋 1](https://assetstore.unity.com/packages/audio/sound-fx/free-casual-game-sfx-pack-54116?srsltid=AfmBOopJ7WwyLVu7pqzrAfKBiJYI2TC9F8KAzT2ko1LZ553kCIdCbzqX)
-https://assetstore.unity.com/packages/audio/music/8bit-music-062022-225623
+[효과음 에셋 2](https://www.kenney.nl/assets/ui-audio)
-https://assetstore.unity.com/packages/audio/sound-fx/free-casual-game-sfx-pack-54116?srsltid=AfmBOopJ7WwyLVu7pqzrAfKBiJYI2TC9F8KAzT2ko1LZ553kCIdCbzqX
+[그래픽 에셋](https://kenney.nl/assets/1-bit-platformer-pack)
-https://www.kenney.nl/assets/ui-audio
+[버튼 그래피 에셋](https://kenney.nl/assets/input-prompts-pixel-16)