I just found out that pathfinding does not work with unbounded scrolling. The sprite simply stuck there not moving. But I need pathfinding for enemy AI. Are there any other ways to keep the player sprite at the centre of the screen while it moves around? Or an alternative to enemy pathfinding, perhaps? Thanks in advance.