Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Improved the animal movement #169

Merged
merged 3 commits into from
Jan 15, 2023
Merged

Improved the animal movement #169

merged 3 commits into from
Jan 15, 2023

Conversation

EthanHair
Copy link
Contributor

Made it so that the animals pick a new destination more often

  • Shortened the max time between picking a new destination
  • Changed timer.wait_time = new_wait_time to timer.start(new_wait_time). Apparently setting the wait time on a timer inside the timeout function does not take effect until the next time the timer resets. Using start() will reset it and change the wait time

Improved the unicorns

  • Made it so that they stay on the outside of the map
  • Made it so that a max of 2 unicorns can spawn
  • Fixed some missing pixels in the spritesheet

closes #168

@EthanHair
Copy link
Contributor Author

Also removed some print() statements

@github-actions
Copy link

Azure Static Web Apps: Your stage site is ready! Visit it here: https://jolly-forest-044727f10-169.centralus.2.azurestaticapps.net

@Psypher9 Psypher9 self-requested a review January 15, 2023 00:39
@github-actions
Copy link

Azure Static Web Apps: Your stage site is ready! Visit it here: https://jolly-forest-044727f10-169.centralus.2.azurestaticapps.net

@EthanHair EthanHair merged commit 0cd12c0 into main Jan 15, 2023
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Improved animal movement
2 participants