Jump to content

2D Tiled Game Pathfinding Grid


catstronau7
 Share

Recommended Posts

Hello,

 

I am in the making of a pretty standart 2d tiled game, and I have a question about pathfinding(haven't done it before). When creating the pathfinder grid, should I be making an element for each pixel(coordinate point) or only one element per tile(tiles are 32x32 pixels each). My main concern is wouldn't a grid with 1m+ elements be too large  for pathfinding operations?

 

 

Edit: Only after posting this, did I realize that there was a different section about 2d games. Maybe a moderator could move this to where it belongs.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...