Delphi custom animation - collision detection

后端 未结 4 378
半阙折子戏
半阙折子戏 2021-01-12 00:35

I\'m working with custom drawing / 2D animation and I\'m trying to figure out how to detect when the moving object collides with a wall in the map. User holds arrow keys on

4条回答
  •  广开言路
    2021-01-12 01:17

    If not doing it yourself is OK, you could use ready made library for this task. Box2D has Delphi version here

提交回复
热议问题