![]() You can make these graphics yourself or you can use ours, which can be found on this GitHub repository. We can get our gameplay area set up straight away by blitting two graphics – ‘header’ and ‘colourmap’ – to 0,0 and 0,80 respectively in the draw() function. This will give us room for a roughly square maze and a header area for some game information. Let’s set our window size to WIDTH = 600 and HEIGHT = 660. Sign up to our newsletter to get a free digital PDF of The MagPi every month, or click here to subscribe to our print magazine.Īs with the more recent episodes of this series, let’s jump straight in, assuming that we have our basic Pygame Zero setup done. This article was written by Mark Vanstone and first appeared in The MagPi magazine issue #76.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |