Difference between revisions of "Pygame"

From Coder Merlin
(Fixed links and added page)
m (Editorial review and minor corrections)
 
Line 1: Line 1:
== What is Pygame? ==
== What is Pygame? ==
Pygame is "is a set of [https://www.codermerlin.academy/wiki/index.php/Python Python] modules designed for writing video games."
Pygame is a set of [https://www.codermerlin.academy/wiki/index.php/Python Python] modules designed for writing video games.


== How do I run Pygame in Coder Merlin? ==
== How Do I Run Pygame in Coder Merlin? ==
See more about that on [https://www.codermerlin.academy/wiki/index.php/Pygame_In_Coder_Merlin this page]
To learn about running Pygame in Coder Merlin, see the [https://www.codermerlin.academy/wiki/index.php/Pygame_In_Coder_Merlin Pygame in Coder Merlin] page.


== Pros and Cons ==
== Pros and Cons ==
Pygame is easy to program in because it's in Python. This makes development significantly easier than working with something like [https://www.raylib.com RayLib] for C#.
Pygame is easy to program because it is in Python. This makes development significantly easier than working with something like [https://www.raylib.com RayLib] for C#.


=== Pros ===
=== Pros ===
* Easy to develop in
* Easy to develop in
* Some built in sprite management
* Some built-in sprite management
* [https://pygame-web.github.io/wiki/pygbag/ Able to use web (past Python 3.11+)]
* [https://pygame-web.github.io/wiki/pygbag/ Able to use web (past Python 3.11+)]


=== Cons ===
=== Cons ===
* [https://stackoverflow.com/questions/3033329/why-are-python-programs-often-slower-than-the-equivalent-program-written-in-c-or Python is slow]
* [https://stackoverflow.com/questions/3033329/why-are-python-programs-often-slower-than-the-equivalent-program-written-in-c-or Python is slow]
* [https://en.wikipedia.org/wiki/Game_engine It's harder to develop than using a game engine]
* [https://en.wikipedia.org/wiki/Game_engine It is harder to develop than using a game engine]


== Sources ==
== Sources ==

Latest revision as of 11:32, 21 April 2024

Within these castle walls be forged Mavens of Computer Science ...
— Merlin, The Coder

What is Pygame?[edit]

Pygame is a set of Python modules designed for writing video games.

How Do I Run Pygame in Coder Merlin?[edit]

To learn about running Pygame in Coder Merlin, see the Pygame in Coder Merlin page.

Pros and Cons[edit]

Pygame is easy to program because it is in Python. This makes development significantly easier than working with something like RayLib for C#.

Pros[edit]

Cons[edit]

Sources[edit]

  1. Pygame's website
  2. Why Pygame is slow
  3. What is a game engine?