Differences between revisions 42 and 48 (spanning 6 versions)
Revision 42 as of 2012-10-01 23:42:11
Size: 3336
Editor: AlSweigart
Comment: wiki restore 2013-01-23
Revision 48 as of 2020-06-12 09:29:10
Size: 3817
Editor: DavidBoddie
Comment: Fixed link to a 2002 article, using the Wayback Machine.
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
= Game Programming With Python =
You can write whole games in Python using [[http://www.pygame.org/|PyGame]]. See a list of other PythonGameLibraries maintained in this Wiki, or [[http://www.devmaster.net/engines/list.php?fid=6&sid=11|this list maintained on DevMaster.net]]. A full tutorial can be found in the free book [[http://inventwithpython.com/pygame|"Making Games with Python & Pygame"]].
Line 2: Line 4:
= Game Programming With Python = If you have an existing game and want to add a scripting engine to make it more flexible, Python is also a very good choice. But you'll have to learn about IntegratingPythonWithOtherLanguages.
Line 4: Line 6:
== Websites ==
[[https://coderslegacy.com/python/python-pygame-tutorial/|Pygame - The Full Tutorial]] - A complete pygame tutorial that teaches it from the ground up. Several game projects are also availible with step by step explanations and the source.
Line 5: Line 9:
You can write whole games in Python using [[http://www.pygame.org/|PyGame]]. See a list of other [[PythonGameLibraries|PythonGameLibraries]] maintained in this Wiki, or [[http://www.devmaster.net/engines/list.php?fid=6&sid=11|this list maintained on DevMaster.net]]. A full tutorial can be found in the free book [[http://inventwithpython.com/pygame|"Making Games with Python & Pygame"]]. Read [[https://web.archive.org/web/20121021155936/http://onlamp.com/pub/a/python/2002/07/11/pythonnews.html|Humongous Python]] for a 2002 case study on Pygame.
Line 7: Line 11:
[[https://pygametutorials.wikidot.com/|Pygame programming tutorials]] is a compilation of a few short tutorials for Pygame.
Line 8: Line 13:
If you have an existing game and want to add a scripting engine to make it more flexible, Python is also a very good choice. But you'll have to learn about [[IntegratingPythonWithOtherLanguages|IntegratingPythonWithOtherLanguages]]. [[https://pythonspot.com/game-development-with-pygame/|Game development with Pygame]] is a tutorial that is an introduction to Pygame. Also contains tutorials on how to make several basic games in Pygame.
Line 10: Line 15:
If you're interested in learning how to use Pygame to create 3D games, two sites that are dedicated to 3D Python are [[http://www.py3d.org/|Python 3D(py3d.org)]] and [[http://www.vrplumber.com/py3d.py|Python 3D Software]]. You can find several 3D game projects avalible here.
Line 11: Line 17:
Read [[http://www.onlamp.com/pub/a/python/2002/07/11/pythonnews.html|Humongous Python]] for a case study.


Read [[http://rene.f0o.com/mywiki/PythonGameProgramming|Python game programming tutorial]]. Or if you need object-oriented design read [[http://pygametutorials.wikidot.com|Yet another game programming tutorial]].


Two pages that are dedicated for python in 3d are [[http://www.py3d.org/|Python 3D(py3d.org)]] and [[http://www.vrplumber.com/py3d.py|Python 3D Software]]


[[http://www.pyweek.org|PyWeek]] is a bi-annual programming challenge that produces several great games.
[[http://www.pyweek.org/|PyWeek]] is a bi-annual programming challenge site that produces several great games.
Line 24: Line 20:

Line 28: Line 22:
[[http://inventwithpython.com/|http://inventwithpython.com]]
Line 29: Line 24:
http://inventwithpython.com


 .
 [[http:
//inventwithpython.com|"Invent Your Own Computer Games with Python"]] is a free, Creative Commons-licensed book on Python for complete beginners with no experience programming. Each chapter has the source code for a small game such as Tic Tac toe, Hangman, Reversi, and others. The final chapters provide an introduction to Pygame.

 . [[http://inventwithpython.com/|"Invent Your Own Computer Games with Python"]] is a free, Creative Commons-licensed book on Python for complete beginners with no experience programming. Each chapter has the source code for a small game such as Tic Tac toe, Hangman, Reversi, and others. The final chapters provide an introduction to Pygame.
Line 39: Line 28:

 .
[[http://inventwithpython.com/pygame|"Making Games with Python & Pygame"]] is also a free, Creative Commons-licensed book that assumes a small amount of Python programming experience. It goes into more detail with the Pygame library. There is the source code for games such as Tetris, Connect Four, Simon, Sokoban, and others.

 . [[http://inventwithpython.com/pygame|"Making Games with Python & Pygame"]] is also a free, Creative Commons-licensed book that assumes a small amount of Python programming experience. It goes into more detail with the Pygame library. There is the source code for games such as Tetris, Connect Four, Simon, Sokoban, and others.
Line 47: Line 32:
Line 49: Line 33:
Line 53: Line 36:
Line 55: Line 37:
Line 59: Line 40:

Game Programming With Python

You can write whole games in Python using PyGame. See a list of other PythonGameLibraries maintained in this Wiki, or this list maintained on DevMaster.net. A full tutorial can be found in the free book "Making Games with Python & Pygame".

If you have an existing game and want to add a scripting engine to make it more flexible, Python is also a very good choice. But you'll have to learn about IntegratingPythonWithOtherLanguages.

Websites

Pygame - The Full Tutorial - A complete pygame tutorial that teaches it from the ground up. Several game projects are also availible with step by step explanations and the source.

Read Humongous Python for a 2002 case study on Pygame.

Pygame programming tutorials is a compilation of a few short tutorials for Pygame.

Game development with Pygame is a tutorial that is an introduction to Pygame. Also contains tutorials on how to make several basic games in Pygame.

If you're interested in learning how to use Pygame to create 3D games, two sites that are dedicated to 3D Python are Python 3D(py3d.org) and Python 3D Software. You can find several 3D game projects avalible here.

PyWeek is a bi-annual programming challenge site that produces several great games.

Books

There's also some books that specifically cover game programming in Python:

http://inventwithpython.com

  • "Invent Your Own Computer Games with Python" is a free, Creative Commons-licensed book on Python for complete beginners with no experience programming. Each chapter has the source code for a small game such as Tic Tac toe, Hangman, Reversi, and others. The final chapters provide an introduction to Pygame.

http://inventwithpython.com/pygame

  • "Making Games with Python & Pygame" is also a free, Creative Commons-licensed book that assumes a small amount of Python programming experience. It goes into more detail with the Pygame library. There is the source code for games such as Tetris, Connect Four, Simon, Sokoban, and others.

http://www.charlesriver.com/titles/pythongame.html

  • "Game Programming with Python is about building games using Python. It deals with general concepts of game development and specifics that apply when using Python for game development. Some of the general topics include simulations, game architectures, graphics, networking, and user interfaces."

http://www.handysoftware.com/cpif

  • "The author set out to write a book like the one he used to teach himself programming at age 12. ... This book has been successfully used by homeschooling families and public school teachers." The library and example code supplied with the book is also available for download.

http://eu.wiley.com/WileyCDA/WileyTitle/productCd-0470068221.html

  • "Ever want to develop your own computer game? Learn the practical concepts of object-oriented programming for game design using Python in this easy-to-follow, content-filled guide. Whether you're a student, aspiring game developer, or veteran programmer, you'll gain skills as you progress from station to station in a series of clear-cut tutorials on different styles of games. The last stop will be a finished game program for you to show off."

GameProgramming (last edited 2020-12-03 12:57:14 by ShadowClaw20017)

Unable to edit the page? See the FrontPage for instructions.