forked from PurpleBananass/Invaders
-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Boss monster #14
Merged
Merged
Boss monster #14
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…e ability to load it. 2.I have added a warning message before the boss appears, and it will be displayed for 4 seconds. 3.After defeating all the monsters, the boss can now appear.
…e ability to load it. 2.I have added a warning message before the boss appears, and it will be displayed for 4 seconds. 3.After defeating all the monsters, the boss can now appear.
…s health. 2. If the boss's health reaches 0, the stage can now end. 3. I implemented interactions between the boss and player bullets.
jangseowon03
pushed a commit
that referenced
this pull request
Nov 23, 2023
merge item feature to main
jangseowon03
pushed a commit
that referenced
this pull request
Nov 23, 2023
RELEASE: two-players mode (2023. 10. 11.)
jangseowon03
pushed a commit
that referenced
this pull request
Nov 23, 2023
feat: BGM now can be played on Gameover Screen(Score Screen)
jangseowon03
pushed a commit
that referenced
this pull request
Nov 23, 2023
Change enemy ship formation
jangseowon03
pushed a commit
that referenced
this pull request
Nov 23, 2023
2. Created danger zones according to the boss's patterns. 3. Enabled bullet firing in accordance with the boss's patterns.
drawBossPattern 이라는 함수를 추가했음 받는 출력해야하는 패턴에 따라 그리는 패턴이 달라짐 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
graphics 칸에 보스를 구현하기 위해서 숫자를 넣었음<< 0011어쩌구 추가된것
boss의 HP바를 그리기 위해서 drawBossHp 라는 함수를 추가했음, 인수로 보스의 총 HP와 현재 HP를 받음
보스를 spriteMap.put(SpriteType.Boss, new boolean[448][20]); 으로 추가했음
boss 라는 class를 추가했음 enimyship class를 복사해서 가져왔기 때문에 변경점은 크지 않으나 boss의 hp를 게임단계 *10으로 우선 설정해 두었음
bossCountCheck 라는 boolean 변수를 통해 처음 보스가 나올때 warning 문구가 나올 수 있도록 했음 true면 문구가 나오는중 false면 문구가 안나오는중
bossCheck라는 boolean 변수를 통해 보스의 등장을 확인함 true면 보스등장 false면 보스 미등장 모든 적이 파괴되었을시 true로 변경
checkCollision 이라는 총알의 충돌을 확인하는 함수에서는 if(this.bossCheck&&!bossCountCheck) 문을 통해 보스가 등장했을시 보스와 플레이어 간의 총알 충돌을 확인 할 수 있도록 했음