.. Animal Simulation Tutorial documentation master file, created by sphinx-quickstart on Thu Jan 7 17:11:19 2021. You can adapt this file completely to your liking, but it should at least contain the root `toctree` directive. Welcome to Animal Simulation Tutorial for Pygame Zero! ====================================================== In this tutorial we'll use Python to explore modelling an group of animals, with sheep, a sheep dog, wolves and you as a shepherd trying to take care of everything. We'll learn about classes, forces between animals (attraction and fear) and a bit of geometry maths too (don't worry, we'll guide you through it). .. image:: images/animals-screenshot.png :width: 700 If you've not yet set up Pygame Zero and the editor Mu, head over to our `Flappy Bird Tutorial`_ and follow the instructions there. If you're new to Python programming then that Flappy Bird tutorial is probably better place to start -- this tutorial is significantly harder. Installing Assets ----------------- Download the tutorial assets by |location_link|. You can close that page once the download finishes. Click on the **Images** button in the Mu editor. This will open the directory where Pygame Zero looks for images. Copy the images from the **images.zip** file you just downloaded into this directory. .. |location_link| raw:: html clicking this link Start the Tutorial ------------------ Click on the Part 1 link below to get started. .. toctree:: :maxdepth: 2 :caption: Contents: part1 part2 part3 Get in touch ------------ We would love to hear how you've got on with this tutorial or receive any other feedback. Get in touch with the author: |author| Credits ------- Images: * Sheep: https://opengameart.org/content/lpc-style-farm-animals * Sheep Dog: https://www.vecteezy.com/vector-art/137239-border-collie-vector-illustrarion-sets Indices and tables ================== * :ref:`genindex` * :ref:`modindex` * :ref:`search` .. _`Flappy Bird Tutorial`: https://tinyurl.com/y37qxb5h