Skip to content

BEYONDWORM-124 UI를 게임답게 수정#57

Merged
konempty merged 3 commits intomainfrom
feature/BEYONDWORM-124
Mar 7, 2026
Merged

BEYONDWORM-124 UI를 게임답게 수정#57
konempty merged 3 commits intomainfrom
feature/BEYONDWORM-124

Conversation

@konempty
Copy link
Copy Markdown
Contributor

스크린샷 2026-02-25 오후 5 02 51 스크린샷 2026-02-25 오후 5 01 35 스크린샷 2026-02-25 오후 5 02 43

AI의 힘을빌려 UI를 좀더 게임답게 바꿔봤습니다.
그리고 지렁이 전진속도가 좀 답답한감이 있어서 50%상향했습니다

@konempty konempty self-assigned this Feb 25, 2026
@notion-workspace
Copy link
Copy Markdown

UI수정

@gemini-code-assist
Copy link
Copy Markdown

Summary of Changes

Hello @konempty, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

이 PR은 게임의 사용자 경험을 크게 향상시키기 위해 시각적 요소를 전면적으로 개편하고 게임 플레이 속도를 조절합니다. 로그인 화면부터 인게임 HUD, 사망 화면에 이르기까지 모든 UI 요소가 새로운 디자인 테마에 맞춰 업데이트되었으며, 지렁이와 음식 아이템에도 생동감 있는 시각 효과가 적용되었습니다. 또한, 지렁이의 이동 속도를 상향 조정하여 플레이어에게 더 빠르고 만족스러운 게임 플레이를 제공합니다.

Highlights

  • UI 전면 개편: 로그인 화면, 사망 화면, 인게임 HUD(점수, 랭킹) 등 전반적인 사용자 인터페이스가 현대적이고 게임다운 디자인으로 대폭 개선되었습니다.
  • 지렁이 이동 속도 상향: 지렁이의 기본 및 달리기 속도가 약 50% 증가하여 게임 플레이가 더욱 역동적으로 변했습니다.
  • 음식 및 지렁이 시각 효과 강화: 음식 아이템에 빛나는 효과와 애니메이션이 추가되었고, 지렁이 몸통에 스트라이프 패턴 및 머리에 눈동자 움직임이 구현되어 시각적 몰입감을 높였습니다.
  • 동적 배경 및 경계선: 로그인 화면과 게임 맵에 동적으로 생성되는 그리드 패턴 배경과 스타일리시한 맵 경계선이 추가되었습니다.

🧠 New Feature in Public Preview: You can now enable Memory to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console.

Changelog
  • shared/src/constants.ts
    • 지렁이의 기본 및 달리기 속도가 약 50% 상향 조정되었습니다.
  • web-io-game/public/loginform.html
    • 로그인 화면의 HTML 구조와 CSS 스타일이 완전히 재설계되어 현대적인 게임 로비 UI로 변경되었습니다.
  • web-io-game/src/DeathScene.ts
    • 사망 화면 UI가 대폭 개선되어 점수 및 최고 점수 표시, 새로운 디자인의 "다시 플레이" 버튼이 추가되었으며, 화면 크기 변경에 반응하도록 구현되었습니다.
  • web-io-game/src/FoodUI.ts
    • 음식 아이템에 ID 기반 색상 팔레트, 빛나는 효과, 맥동 애니메이션이 추가되었고, 파괴 시 관련 트윈 및 스프라이트가 정리되도록 수정되었습니다.
  • web-io-game/src/GameScene.ts
    • 게임 맵 배경이 동적으로 생성되는 그리드 패턴으로 변경되었고, 맵 경계선이 추가되었습니다.
    • 음식 아이템 제거 로직이 FoodUI의 destroy 메서드를 호출하도록 업데이트되었습니다.
    • 사망 화면 호출 시 현재 점수와 최고 점수를 전달하도록 변경되었습니다.
  • web-io-game/src/LoginScene.ts
    • 로그인 화면에 동적인 그리드 패턴 배경이 추가되었고, 서버 목록 UI가 새로운 스타일을 적용하도록 개선되었습니다.
  • web-io-game/src/UIScene.ts
    • 인게임 HUD의 사용자 이름, 점수 표시, 랭킹 대시보드 UI가 전면적으로 재설계되어 현대적인 게임 스타일을 반영하며, 화면 크기 변경에 따라 위치가 조정되도록 변경되었습니다.
  • web-io-game/src/WormState.ts
    • 지렁이 몸통에 빛나는 효과, 스트라이프 패턴, 그리고 머리에 움직이는 눈동자 시각 효과가 추가되었으며, 세그먼트 추가/제거 및 파괴 시 관련 시각 요소들이 적절히 관리되도록 로직이 업데이트되었습니다.
  • web-io-game/src/constants.ts
    • 맵 경계선 색상 및 투명도, 닉네임 스타일이 새로운 UI 테마에 맞춰 업데이트되었습니다.
Activity
  • konempty 님이 새로운 UI 디자인과 지렁이 속도 상향 조정을 포함하는 풀 리퀘스트를 생성했습니다.
  • 풀 리퀘스트 설명에 새로운 UI의 스크린샷이 첨부되어 변경 사항을 시각적으로 확인할 수 있습니다.
  • 지렁이의 전진 속도가 답답하다는 피드백을 반영하여 50% 상향 조정되었습니다.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

@konempty konempty force-pushed the feature/BEYONDWORM-124 branch from ef49dce to c5f2abc Compare February 25, 2026 08:05
Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

이번 PR은 게임의 전반적인 UI를 크게 개선하고 지렁이의 이동 속도를 상향 조정했습니다. AI를 활용한 UI 디자인 개선은 매우 인상적이며, 게임의 몰입감을 높이는 데 크게 기여할 것으로 보입니다. 코드 변경 사항을 검토한 결과, 몇 가지 개선점을 발견했습니다. DeathScene에서 이벤트 리스너가 중복 등록될 수 있는 문제, FoodUI에서 애니메이션에 따른 물리 판정 크기 불일치 문제, 그리고 GameScene에서 불필요한 코드 중복 등이 있었습니다. 자세한 내용은 각 파일에 남긴 코멘트를 참고해주세요.

Comment thread web-io-game/src/DeathScene.ts Outdated
Comment thread web-io-game/public/loginform.html Outdated
Comment thread web-io-game/src/FoodUI.ts
Comment on lines +51 to +52
this.sprite.setRadius(coreRadius);
this.glowSprite.setRadius(glowRadius);
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

먹이의 시각적 크기가 pulseTween에 의해 계속 변경되지만, 물리 엔진의 충돌 영역(hitbox)은 업데이트되지 않고 있습니다. 이로 인해 보이는 것과 실제 충돌 판정이 달라지는 문제가 발생합니다. onUpdate 콜백에서 sprite의 반지름을 변경할 때 물리 몸체의 크기도 함께 조절해야 합니다.

                this.sprite.setRadius(coreRadius);
                (this.sprite.body as Phaser.Physics.Arcade.Body)?.setCircle(coreRadius);
                this.glowSprite.setRadius(glowRadius);

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

이건 의도된바

Comment thread web-io-game/src/GameScene.ts Outdated
Comment thread web-io-game/src/GameScene.ts Outdated
Comment thread web-io-game/src/GameScene.ts Outdated
@konempty konempty force-pushed the feature/BEYONDWORM-124 branch from 76d3fc5 to 8fa1007 Compare February 25, 2026 08:17
Copy link
Copy Markdown
Collaborator

@gangjung gangjung left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

우와...! 엄청 세련되었는데요?? 멋집니다!
어떻게 해달라고했길래 이리 멋지게 변경된건가요????

리뷰가 많이 늦어서 죄송합니다 ㅠㅜㅜ

@konempty konempty merged commit 3abd715 into main Mar 7, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants