Computer Science Canada monster pathing problem |
Author: | childplay534 [ Tue Oct 18, 2011 5:19 pm ] | ||
Post subject: | monster pathing problem | ||
What is it you are trying to achieve? i am tring to get monsters to go in a path What is the problem you are having? they have trouble with the pathings Describe what you have tried to solve this problem took out turn count, but it made it worse Post any relevant code (You may choose to attach the file instead of posting the code if it is too long) i found most of the code off this website and it did what i want it to do, so i decided to modify it to add pathing
Please specify what version of Turing you are using newest one |
Author: | Tony [ Tue Oct 18, 2011 7:43 pm ] |
Post subject: | Re: monster pathing problem |
childplay534 @ Tue Oct 18, 2011 5:19 pm wrote: i found most of the code off this website and it did what i want it to do, so i decided to modify it to add pathing
Well there's your problem. If you don't fully understand the code you are modifying, there might be all kinds of subtle problems that you'd be running into. It might be best to put this code aside and write this part up yourself from scratch. If you understand your code, modifying it will be much simpler. |
Author: | Beastinonyou [ Tue Oct 18, 2011 7:54 pm ] |
Post subject: | Re: monster pathing problem |
Tony @ Tue Oct 18, 2011 7:43 pm wrote: If you don't fully understand the code you are modifying, there might be all kinds of subtle problems that you'd be running into. It might be best to put this code aside and write this part up yourself from scratch. If you understand your code, modifying it will be much simpler. Couldn't have said it better. |