Menu

Бот(Противник) в Аndorra 2d Как создать бота?

General
Стас
2017-07-13
2017-07-13
  • Стас

    Стас - 2017-07-13

    The examples I wrote a Pacman game. How to add bots, what would they attack?

     
  • Andreas Stöckel

    Hi,

    your question seems fairly broad. In case you are using the TSpriteEngine class, a bot would be a subclass of TImageSprite which implements its behaviour in the DoMove method. Since Andorra 2D primarily is not a game engine, but rather a graphics engine, which behaviour you want and how you implement it is fully up to you.

    Andreas

     

Log in to post a comment.