0.7
Pre-release
Pre-release
- Refactor creation of a new generation by @ME-MarvinE in #16
- Remove unused property 'StopWatch' in GameHost by @ME-MarvinE in #17
- Replace function 'GetVisibleGameObjects' with function 'IsWithinSight' in Creature by @ME-MarvinE in #18
- Change how information from the simulation is stored and distributed to creatures by @ME-MarvinE in #19
- Add caching of MX and MY in GameObject by @ME-MarvinE in #20
Optimisations since the last version have resulted in ~12x increase in speed when fast-running the simulation compared to fast-running in version 0.6. Fast-running now takes only 2-4 seconds to finish a generation as opposed to 15-20 seconds. It simulates around 1 minute every 5 seconds, so it takes around 2 hours to simulate what would have taken a day.
GameHost's 'NextStep' method can also be ran asynchronously in the WinForms and Mono app, as long as the code responsible for drawing creatures and food is disabled.
Full Changelog: 0.6...0.7