Posts

Showing posts with the label Develop python game using Pygame

PyGame use for Game development

Image
Hey Hi, this is Shubham Mishra, today we will going to look at the tools and tricks to implement and run a desktop game with the help of Pygame library . Before starting I would like to mention basic prerequisite as Python language and it should be installed in your computer. I recommend the latest python version. I used Python 3.7.0 version. If you do not have Pygame module installed then in command prompt just type ' python3 - m pip install - U pygame -- user ' Pygame is one of the popular collection of modules written in python. In the below discussion I will give a working code sample for a game which I named it 'CarShoot'. If you want the complete sources just download it from my  Github repo CarShootGame Once you set up everything now it's time to run the code as 'python Car1.py' and play the game. Pygame : Python Game Development The bar in the upper left corner is the progress bar for the game. The blue car is the Hero and the an...