Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • J jyb-games
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • students
  • jyb-games
  • Wiki
  • 21.07.07

21.07.07 · Changes

Page history
Update 21.07.07 authored Jul 07, 2021 by 유승호's avatar 유승호
Hide whitespace changes
Inline Side-by-side
21.07.07.md
View page @ 20000a1c
...@@ -48,9 +48,19 @@ Defense_Game 만들기 ...@@ -48,9 +48,19 @@ Defense_Game 만들기
![image](uploads/c7b5f72f0e44b4358241b22264cf66b5/image.png) ![image](uploads/c7b5f72f0e44b4358241b22264cf66b5/image.png)
* `Enemy.cs`의 OnDie함수에 매개변수로 EnemyDestroyType을 받고 , 위에 NextMoveTo함수에서 마지막 waypoint일때는 EnemyDestroyType.Arrive로 넣어준다.
![image](uploads/e9a1b123566d8582341e53fe7f6ae03b/image.png)
* `EnemySpawner.cs`에서 player의 체력 변수 선언
![image](uploads/44964e8e8b9de02e2283faaa1809b7dc/image.png)
* DestroyEnemy함수에 EnemyDestroyType type을 매개변수로 player의 체력을 감소시킨다.
![image](uploads/b37e153022789ba0ca806819555df26c/image.png)
* `EnemyHP.cs`에서 적의 체력이 줄어들어 삭제되는 경우는 EnemyDestroyType.kill 사용
![image](uploads/d4f7340d0c30c7d6f5db49fbbecdb415/image.png)
*
......
Clone repository
  • 21.06.28
  • 21.06.30
  • 21.07.02
  • 21.07.05
  • 21.07.07
  • 21.07.09
  • 21.07.12
  • 21.07.14
  • 21.07.16
  • 21.07.19
  • 21.07.26 (1)
  • 21.07.26
  • 21.07.28 DH
  • 21.07.28 SJ
  • 21.07.28
View All Pages