Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[PyGame] How to use pygame
#1
I have been coding on anaconda using spyder for about 4 months. And I can say that I am quite confident with the basics of python. I would like to start making simple games using pygame but I do not know where to start. I have tried using Sublime Text and Pycharm, but the interface is far different from spyder that I get confused. I do not really know how to set up an interactive console or add the pygame package. If someone could help me figure it out it would be GREAT ! Smile

Thankss
Reply
#2
If you look in the Game Tutorials section, you will see that metulburr has written a ton of tutorials on working with pygame, including at least two on installing pygame. I would check those out, and if you have any specific questions, ask them in the Game Development section.
Craig "Ichabod" O'Brien - xenomind.com
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures
Reply
#3
You can use pygame form whatever editor you like, doesn't matter.

As for how to install it, go to you command line for your computer, not the python terminal and type, "pip install pygame". If python is in your path that is it.

But pygame isn't a game engine with an interactive console, it's just a library. It just gives you some functions that are very useful for making simple graphical 2d games.

The best place to start using it would be to follow some tutorials on youtube. "Kidscancode" are intermediate, but if you stick with them you will end up with some nice games. Just search "pygame tutorial" and pick something you are interested in.
Reply
#4
Thanks !!
Reply


Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020