Snail Chase

Today I started new project that introduces pygame to beginners

I first started With Importing the pygame and making the window size on the screen

While True loop is for when the players decides to quit the window, without the pygame.quit the players would be just stuck with a black screen.

The clock.tick tells the while loop to run for 60 Times per second and that it shouldn’t be any faster or slower, this makes sure the game doesn’t run too fast

The screen.blit Basically Puts one surface on top of another surface , this helps to put images for the game

The screen blit helps to put the image on top of Each other to create an background but You have to make sure the order is Correct

like for example the sky has to come first and the others on top for the players to be able to see the ground and the character.

Leave a Reply

Your email address will not be published. Required fields are marked *