728x90
html, js, css로 제작중인 캐릭터가 있는 메신저 구현을 하며 알게 된 내용들을 정리
캐릭터 선택 후
방을 이동하며 메신저가 가능한 프로그램이다.
회사 동기들과 우리만의 메신저로 사용하기 위해 만들기 시작함
https://tomhoon.tistory.com/789
캐릭터메신저구현기 - getBoundingClientRect, offsetTop(Left), clientWidth(Height)
캐릭터 이동을 할 때 필요했던 값은캐릭터의 위치를 계산해1. 첫위치 값2. 제한된 구역을 더이상 이동 못하게 할 기준값두 가지가 필요했다. 1. clientWidth clientWidth와 clientHeight 값은 배경이 되
tomhoon.tistory.com
'Javascript Tips' 카테고리의 다른 글
Android Chrome) 스크롤 가속 -> top 버튼 동작 이슈(Scrolling with Momentum) (0) | 2025.07.15 |
---|---|
캐릭터메신저구현기 부드러운 무빙 - requestAnimationFrame (0) | 2025.04.04 |
캐릭터메신저구현기 - getBoundingClientRect, offsetTop(Left), clientWidth(Height) (0) | 2025.04.03 |
screen, page, offset, client차이를 잘 보여주는 그림 (0) | 2024.12.22 |
mouseEnter&mouseLeave와 mouseOver&mouseOut의 차이 (0) | 2024.12.21 |