-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WIP Placement handler #144
Conversation
…handler for construction placement
Current testing showed that units tend to stop doing things, though no debugging has been done to determine why just yet. Probably because not enough positions are being checked per game frame. Until the timing code is finished it's doing a set number of iterations rather than using time budgets as intended, so I was conservative, maybe too conservative about it |
interesting |
… as a basic heuristic
Added in some debug functions, expanded the spacing checks, tweaked spacing value, and fixed a bug with job cleanup
Recent tests and modifications added basic spacing support, the algorithm is now competent enough to be used as a replacement Additionally, changes were made to allow this widget to be used to debug it: https://gist.github.com/tomjn/01ada053704d523502729ebdc23299a1 |
I would also note that the latest commits made changes that aren't compatible with native Shard. I'm fine with this |
Implements a building placement algorithm:
Some features still need fully testing, some are partially implemented at the time of writing