달력

5

« 2024/5 »

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31

- 박스들 간의 충돌 판정은 getBoundingBox()후 rect.intersectsRect()로 확인

- 점과 박스와의 충돌 판정은 getBoundingBox()후 rect.containsPoint()로 확인



AppDelegate.cpp


AppDelegate.h


HelloWorldScene.cpp


HelloWorldScene.h


:
Posted by 웽웽