A Flash Developer Resource Site

Results 1 to 9 of 9

Thread: A* in a real time strategy game

Threaded View

  1. #1
    self-portrait Kianis's Avatar
    Join Date
    Feb 2004
    Location
    Stockholm, Sweden
    Posts
    425

    A* in a real time strategy game

    I got inspired by the topic about remaking Dune so I started this project. It's just for fun though, I doubt flash can handle the pathfinding, scrolling, AI, etc..

    There's no scrolling so far, just the pathfinder. Works pretty okay for now, with a tiny map and fog of war but no other units.

    asd

    I'm not sure the A* works properly though. It doesn't seem as it always selects the shortest path. :/

    Edit: new version. Fixed heuristic. No more bugs. Terrain costs works but isn't balanced so the unit often walks over them anyway.
    Last edited by Kianis; 12-11-2004 at 04:37 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center