Game Engines Using Python

See also: GameProgramming

Resources

  • pygame.org - home of the PyGame module and a portal with links to lots of Python games

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

We built this game using Python. It is a popular embedded programming language used in Arduino, Raspberry Pi and others. This article aims to familiarise beginners with some Python libraries that can be implemented in embedded projects as well. Python is simple to start out with, fun and easy to learn. Installing Python. I made clicker game using Ursina game engine for Python. (93 lines of code) - kairess/clicker-game. Since you already know Python and probably learned Java in school or have at least seen it. C# is a very simple language to pick up that is very versatile so I would recommend learning it. Otherwise you can go Piglet or Arcade Game Engine. These engines are built for Python, Piglet does not need outside libraries /. KivEnt is built with a modular architecture and designed to have both a python api and a c-level cython api that allows more performant access to your game data. This makes it suitable for quickly prototyping a mechanic completely in python, and relatively trivial to then deeply cythonize that GameSystem if you find it to be performance sensitive.

Game

Libraries

  • Harfang 3D - is a python framework for 2D, 3D and VR game development (other allowed languages are Lua and C++). It is little known, with poor documentation, but promising. Run on any supported platform. Example game demo video and code.

  • PyGame - PyGame adds functionality on top of the excellent SDL library. This allows you to create fully featured games and multimedia programs in the python language. Pygame is highly portable and runs on nearly every platform and operating system.

  • PySoy - PySoy is a high-level 3d game engine for Python 3 which tightly binds rendering, physics, animation, and networking.

  • Pyglet - pyglet is an opengl only cross-platform windowing and multimedia library for Python found in the mods/bfheores/python folder.

  • Python-Ogre - a complete python wrapper for the OGRE 3D engine, plus 15 other graphics and gaming related libraries for GUI, Physics, special effects, sound and more

  • Panda3d Full featured open source 3d engine specifically for python but written in c++. Features: performance, multi-platform support, scene graph, export/import pipeline, 3D Audio, collision detection, physics, unusual I/O devices, basic AI library, browser plugin, animations, networking ... and many more.

  • Blender3D is an open source game engine, modeler, animator and 3D renderer under the GNU GPL license. Uses Python as scripting language.

  • GGZ Gaming Zone is a cross-desktop gaming integration platform with a python package, including GGZBoard and others

  • ika is a game engine built on top of SDL with Verge as an ancestor

  • Pyrr - a old python wrapper for the irrlicht game engine

  • pyirrlicht - a new python wrapper for the irrlicht game engine

  • FIFE - a cross platform 2.5d game creation framework with support for different isometric perspectives.

  • cocos2d - a framework for building 2D games, demos, and other graphical/interactive applications.

  • kivy - A cross platform multimedia framework, including mobile, using different backends according to the platform, offering high level widgets and multi-touch support

  • Wasabi2D is a modern 2D game engine that allows creating fast, modern graphical effects without low-level OpenGL programming. Supports particles, post-processing effects, sound, music, storage, and more.

  • Free Python Games - Free Python Games is an Apache2 licensed library and collection of free Python games intended for education and fun. Simplified versions of several classic arcade games are included.

Game Engines Using Python Ide

Online Game Servers

  • Evennia is a feature-liberal MUD codebase with Django and Twisted serving as the foundation.

  • GrailMUD is a MUD codebase with an emphasis on separation of logic and content.

Game Engines Using Python Machine Learning

Specific Games

Game Engines Using Python Everglades

  • Battle Field 2 and 2142 Is a strategy and first person shooter game that uses python for logic and server controls?

  • Battlefield Heroes also handles part of the game logic (including scoring, game modes) with cleartext Python scripts.

  • BalazarBrothers is an action-puzzle 3D game with Python and Soya 3D

  • EVE Online is a massively multiplayer online space game written in StacklessPython

  • Freedom Force is a 2002 real-time tactical role-playing game developed by Irrational Games, that uses Python for its mission system

  • Invasodado is an arcade shooter and puzzler; it's like Space Invaders, but the aliens drop colored blocks that must be matched in threes to clear.

  • Mount&Blade is a single player pseudo-historical game that utilizes python scripts for its module system

  • OpenRTS is a multiplayer real-time strategy game written in Python using Pygame.

  • pydance a high quality dance game created with pygame

  • PySol is an exciting collection of more than 200 solitaire card games

  • Sid Meier's Civilization IV is a strategy game which employs Boost Python and Python

  • Slune is a racing 3D game with Python and Soya 3D

  • Snakeworlds (3D snake game) puts the famous game classic on spheres / globes. Written entirely with Python-Ogre.

  • SolarWolf an excellent action arcade game written with pygame

  • Umbra is a semi-3D RPG written in Tkinter

  • Interstate Outlaws is 3D RPG/FPS modeled after the classic Interstate '76 series using Crystalspace

  • Evil Greg Vs. Eight Year Olds is an arcade game where you battle swarms of children.

  • Disney's Toontown MMORPG game for kids using panda3d. Help the Toons save their city!

  • Disney's Pirates of the Caribbean Online based on the movie using panda3d.

  • SimOps Studios: Code3D recreate an event and see what it could be like virtually before experincing it in the real world. Using panda3d

  • MSA's Thermal Enforcer Play as a law enforcement with thermal imaging technology. Using panda3d

  • Little Mermaid Pinball, Aladdin Pinball, and Pirates Pinball uses panda3d

  • Traitors Gate 2 is a puzzle/adventure game that uses Python scripts for game logic.

  • Frets On Fire is a famous Guitar Hero-like game written in pygame

  • Metin2 is a famous Oriental Action MMORPG game written with pygame.

  • Severance: Blade of Darkness (Original title: Blade: The Edge of Darkness) used python for almost everything in the game, excluding the graphics engine, made in C.

  • Somyeol2D is a Jump and Run entirely written in Python using the the JNGL-Engine

  • ultimate-smash-friends is a pure-python/pygame fight game inspired by the nintendo smash-bros series.