Search:

Type: Posts; User: Thorbenn

Search: Search took 0.00 seconds.

  1. Got it finally to work :-) will post the code...

    Got it finally to work :-) will post the code later on here in case anyone finds this thread and wants to build there own pathfinder :-)
  2. gscore container oder f score container? I need...

    gscore container oder f score container? I need to new containers to collect all of these seperatly from the Information stored in every node?

    i am trying to find out how to formulate the checking...
  3. okay so practily speaking by my code only set the...

    okay so practily speaking by my code only set the pX and pY before i add the best tile to the closed List or and not before?

    And if the current route would be better set pX and pY and then add...
  4. okay thanks :-) the tentative g_score is the...

    okay thanks :-)

    the tentative g_score is the the gscore of the tile i am looking at neighboring the current tile right? and if its bigger than the rest it should be ignored?
    If its smaller then...
  5. Question to the pseudocode of the wiki. what...

    Question to the pseudocode of the wiki. what exactly is the came_from ? Should i understand it as the Map given to the function or is it also a list which contains nodes of the path?
  6. Okay thanks :-) will do. But what diffrence does...

    Okay thanks :-) will do. But what diffrence does it make if i add the start tile first to the openList and then remove it from there just to put it in the closedList in the first move :-)?
    As a so...
  7. ok could you hint me a bit more since i have been...

    ok could you hint me a bit more since i have been looking at it a long time :-)

    I was using this as my guide to making it. the Pseudo Code is at the end almost Introduction to A* Pathfinding
  8. getting help with A* pathfinding algorithm for game

    Hi guys,

    i have been working on a A* pathfinding algorithm and have run in some trouble. It doesn't connect the start point to the finish right. At the beginning it adds so many tiles to the...
  9. found my misstake there was always a ->map...

    found my misstake there was always a ->map missing after each pMap[posx][posy -1]
  10. Problem with my building function for my roguelike

    Hi all,

    as some might know i have been working on a simple roguelike to get better in programming. I am trying to get a function working that will allow a Player to build walls in a dungeon if...
  11. First off sorry for the double post but i can't...

    First off sorry for the double post but i can't find the edit button to edit my last post -.- where (if there is one i dont find it)

    I just wanted to post the code in here. They are not...
  12. Hi Neo1, i now made me a function to carve the...

    Hi Neo1,

    i now made me a function to carve the random rooms in to my map array but still the rooms are overlapping :( i am using your code from above to generate the the random rooms. I am...
  13. Hi Neo1, thank you very much for your help....

    Hi Neo1,

    thank you very much for your help. Yes i really must stick more to the indentation and naming-scheme i agree. Reason for so many unformalitys though is because i normaly have my...
  14. Hi Neo1 and Virtual Ace, i have been trying...

    Hi Neo1 and Virtual Ace,

    i have been trying now to get the dungeon generator to work like you suggested with the collision detection, but for some reason they are still overlapping. Could you have...
  15. Hi Neo1, thanks for your help I think i will...

    Hi Neo1,

    thanks for your help I think i will take your advice and use a std::vector . I learned now all day about linked lists and maybe later on while making the game it might be useful.

    I...
  16. Hi Neo1, thanks for your reply. Your Idea has...

    Hi Neo1,

    thanks for your reply. Your Idea has been going now through my head and i have been looking how to get this done. During my research i have come upon this link c++ - Determine if two...
  17. Hi Neo1, about the headers that i have...

    Hi Neo1,

    about the headers that i have included:

    These are still from my main project where i am using them and need them. For example the termios i am using to block always having to push...
  18. Need some help getting my Dungeon generator to work right

    Hi All,

    i am working on a Dungeon Generator for a roguelike that i am programming and i am having trouble with it because the rooms that should be carved out of the walls are spawning over each...
Results 1 to 18 of 18