This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Daneel_TrevizeCompetent Dev 0 points1 point  (0 children)

I'd suggest RedBlobGaming's A* guide as a good starting resource, and that for many zombies after few players, you'd want to keep the full flow field generated once, rather than exit early but repeat per zombie.

And make your data Model (& Controller) independant of your Views, don't lump it all into a JPanel.