Code Monkey home page Code Monkey logo

stroygameui's Introduction

StroyGameUI

자신이 만들어 보고 싶은 자유 주제의 게임을 만드는 프로젝트 입니다.

구현 내용

스토리 게임 처럼 화면이 넘어가고 NPC와 대화하는 게임을 만들었습니다.

대화시스템은 RayCast를 이용해서 오브젝트를 살펴보는 정도는 만들었습니다.
처음으로 RayCast를 사용했었습니다.
OnMove를 통해 RayCast의 길이를 지정했는데, 움직이지 않을 때 RayCast가 0이 되어서 곤란했습니다.
0이 아닐 때 해당 값을 dirVec로 값을 저장하여 플레이어가 바라보는 방향값으로 사용했습니다.

아쉬운 점과 배운 점

아쉬운 점은 Fade Out, Fade In으로 씬이 넘어가는 것을 구현하는데 너무 오랜 시간을 소요했습니다.
RayCast를 꺼주면 되는 해결 되는 것이었는데 이 이유를 찾는데 오래 걸렸습니다.
질문을 통해 해결했습니다만, 좀 더 빨리 질문할 걸 그랬습니다.
모르는 걸 오래 해결 못한체로 잡지 않고 질문하는 법을 배웠습니다.

더 배우고 싶은 점

캐릭터 이동 애니메이션은 InputSystem으로 인해 계속 이동하는 애니메이션으로 시작 처리되서
정작 실행은 안되고 들어가기만 하다가 idle로 변했었습니다.
그래서 모두 연결한 게 아쉬운 점으로 남습니다.
이후 이 문제를 더 알아보고 해결하고 싶습니다.

대화하면 이동을 멈추게 작동했는데
이동을 오브젝트 상호작용을 시작부터 종료까지 계속 누르고 있으면 이동할 줄 알았다만
이동을 유지하고 있는채료 대화가 끝나도 움직이지 않습니다.
이 부분을 어떻게 해결할지 몰라 해결해 보고싶습니다.

대화창 또한 추가로 만들어 볼 예정입니다.

stroygameui's People

Contributors

gusrb0296 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.