DDDDD: im just gona assume greenfoot is trolling me. Just looked through my code and found nothing that could have caused this
A new version of this scenario was uploaded on Sat Dec 21 18:45:00 UTC 2013
*FIXED it :D
so the problem is with the never ending loop
TY Super_Hippo
* although now that im looking at it i dont understand how it got stuck in the loop :/
A new version of this scenario was uploaded on Sat Dec 21 18:53:49 UTC 2013
*ok so the problem was i didnt read the doc because apparently greenfoot.getRandomNumbers();is exclusive =_=
A new version of this scenario was uploaded on Sat Dec 21 19:52:43 UTC 2013
changes to river generation
A new version of this scenario was uploaded on Sat Dec 21 20:36:39 UTC 2013
* updated river generation again
Sometimes the river still does look quite ugly, but much better than this diagonally river :D
Actually it looks good!
Maybe you could make the river not touching the river again, so it does not loop or create some other unrealistic figures like flowing back, but I am not really sure if that is possible/"easy" to implement. Maybe worth a try.
And then, get the units working =)
A new version of this scenario was uploaded on Sun Dec 22 03:36:20 UTC 2013
*added huts(doesnt do anything yet)
A new version of this scenario was uploaded on Mon Dec 23 07:54:48 UTC 2013
*less chance for river to loop(strighter looking rivers)
*failed attempt at unit pathing can be fount in source code xD
2013/12/21
2013/12/21
2013/12/21
2013/12/21