- Game Engines Using Python
- Game Engines Using Python Functions
- Game Engines Using Python Machine Learning
Last Update: 01.02.2008. By azarai in game development | pygame | python
Update:I posted a more extended list of python game and rendering engines.
A lot of developers get into software development because they want to build games. Not everybody can be a professional game developer, but everybody can build their own games for fun and maybe profit. In this five-part series, I'll show you how to create 2D single-player games using Python 3 and the excellent Pygame framework.
- 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.
- EVE Online is another MMORPGs who is using stackless Python – a variation of Python programming language for its client and server-side code. Battlefield Heroes uses Python for some parts of their game logic, such as scoring with cleartext and game modes.
I was searching for infos on how to do 2D game stuff with python and decided to blog about what i found so far. Maybe it’s useful for others :-)Be aware that this is no indeep review of any of the engines. It’s rather my view after looking into the docs and some examples of some engines.
What exactly was i looking for?
I’d like to write some simple 2D solo RPG to test out some ideas i have in mind. My language of choice is of course python and it must run at least on windows, better with mac and linux support too. Nice community, enough docs and a map engine would be nice additions, but are not mandatory.
What i found so far:
- PyGame Python binding for sdl and more
- Pycap The PopCap Game Framework for Python
- SpriteCraft Small game engine with python bindings
- ika RPG game engine with python scripting
PyGame
Pygame is a set of Python modules designed for writing games. It is written on top of the excellent SDL library.
LGPL and works where sdl and python run
Best known python 2d framework with plenty of information and code examples around. There are some existing sprite or tiled map engines around, but not directly distributed with pygame.
Pycap
the ultimate framework for the super slack programmer. Pycap wraps the sweet sweet PopCap Game Framework in a super friendly high level python interface. With Pycap you can start building pretty 2D games without installing a compiler or learning C++.
PopCap Games Framework Licence, Windows only, for Linux or mac take a look at TuxCap
Compilation of the PopCap Framework with embedded python. The mainloop is in native code and contains several callback to the python code.The examples seem to be straightforward. The api doc is ok, but there are no further infos available. Neither a community. On the other hand it seems to be pretty new and still growing :-)Didn’t see a sprite or tiled map engine or some related basic functions.
SpriteCraft
The SpriteCraft is small and lightweight x86/DirectX 2D game engine for shareware/freeware game development. The engine distributed for free without any fee. You may use SpriteCraft in wide range projects without any fake restrictions.
Freeware, but not open source, Windows only
It’s distributed in form of a dll which contains python 2.4 support, so one can directly import the dll inside python and use it.There’s not much documentation and only 2 samples and one (the mapeditor) didn’t even work for me. But for game writing experienced people it’s probably worth a deeper look.
ika
ika is a game engine designed to allow one to make a console style RPG with a minimum of code, while allowing one who is willing to code an impressive level of power over the look and feel of one’s project, thanks to the embedded Python interpreter.
GPL, Windows and compile infos for linux
The core is written in C++ and the game logic can be written in python. There’s also a map and a sprite editor included. I tried the precompiled binary for windows and pretty much everything worked out of the box. The docs cover some basics which is fine for the first start, but there are no informations on advanced feature and need some clean up imho. Not sure if its still alive, but who cares, its open source.
What am i going to use now?
On first sight ika looked like the ideal solution for me. Even the GPL license was ok in this case. But it has some drawbacks i noticed while testing out. Theres no possiblity to use a debugger to debug the python code. At least i don’t know how to debug python code embedded inside a c++ app. I mean real debuggin, not print statements. Then i am bound to their tools and formats and if something doesn’t work in the tools or engine i had to use C++, ugh. So it’s out.
Pycap has the same problem with debugging, where SpriteCraft and Pygame do not. SpriteCraft and Pycap have the lack of docs and share the problem if something in the render part doesn’t work, i can’t even fix it or can’t stand the language i had to use :-)Yep, there remains Pygame with none of the problems above. A mature lib with a huge community and good resource sites. The only disadvantage is imho that i might have to code alot of the basic stuff like map handling alone if i don’t find a proper solution.But i can live with that.
Hope this short entry might help you in a similiar situation :-)
Want content like this in your inbox each workday irregularly? No BS, spam or tricks... just useful content:
Category: Game Environment Art, Level Design
December 12, 2012 (Updated: July 28, 2016)
Update #3 (July 28, 2016): This post has been completely updated with 7 new, additional game engines, updated links and information that was outdated.
Update #2 (April 27, 2015): This post was been updated with one new additional game engine, updated links and information that was outdated.
Update #1 (December 12, 2012): Originally published and featured a list of 15 game engines.
If you ever wanted to take your skill further into game development and game design, you will need to begin exploring the world of game engines. Game engines will provide you with the framework that game designers use to create games.
Make sure to check out all the tutorials within this series listed below:
Level Editors/Game Engines Series:
23 Recommended and Available 3D Game Engines
What is a game engine?
'The core functionality typically provided by a game engine includes a rendering engine ('renderer') for 2D or 3D graphics, a physics engine or collision detection (and collision response), sound, scripting, animation, artificial intelligence, networking, streaming, memory management, threading, localization support, and a scene graph. The process of game development is often economized, in large part, by reusing/adapting the same game engine to create different games, or to make it easier to 'port' games to multiple platforms.' - (wikipedia.org/Game Engine)
Few examples of games and game engines used to create them are:
Games: Dota 2, Half Life 2 series, Counter-Strike: Source, Counter-Strike: Global Offensive, Left4Dead, Left4Dead 2, Portal 1 and 2
Game Engine:Source Engine
Game: Hitman Absolution
Game Engine: Glacier 2
Game: Battlefield: Bad Company 2, Battlefield 3, Need for Speed: The Run
Game Engine:FrostBite
Games: Mass Effect Series, Dishonored, Bioshock Infinite, Batman: Arkham Asylum and City and hundreds more
Game Engine:Unreal Engine
Game: Crysis 2 and 3
Game Engine:CryEngine
Not every game engine is available to download without paying for a license first. However there are many affordable, free, open source and non-commercial versions that you could work with and download right now.
In this blog post I will provide you with options and links to 3D game engines, their features and download page so you can make a better decision on which one is right for you.
Criteria used to include a 3D game engine in this list were:
- Available to download
- Affordable, free (easy access) or open source
- I have used it myself and recommend
So, for those who are interested in going a bit further into game development, to explore new technologies to showcase your game environments in or just curious behind game engine technology; here are 22 suggestions for game engines you can get your hands on right now.
3D for 2D
Following list is for 3d game engines. Any 3D game engine can be used to create 2d games. Although using a 3d game engine to create a 2d game can often be excessive. If you are looking for recommended 2D game engines, see this post (Coming Soon.)
Overview List: Recommended 3D Game Engines
Here is the full list of game engines in this article:
- Unreal Engine 4
- Unreal Engine 3 (UDK)
- CryEngine V
- Unity 3D
- Source Engine/Source SDK
- Source 2
- Leadwerks
- Torque3D
- Neoaxis
- Tomstone Engine (C4Engine)
- Shive 3D
- Panda 3D
- Esenthel Engine
- iDTech 4
- Lumberyard
- Game Guru
- jMonkey Game Engine
- Hero Engine
- Game Studio
- Serious Engine
- Blender
- Irrlicht Engine
- Ogre3D
Let's begin...
Unreal Engine 4
UnrealEngine.com
Company: Epic Games
Platforms: Windows, Mac OSX, iOS, Android, VR (including but not limited to SteamVR/HTC Vive, Morpheus, Oculus Rift and Gear VR), Linux, SteamOS, HTML5, PS4, Xbox One
Unreal Engine 4 is a complete suite of game development tools. From 2D mobile games to console to VR, UE4 provides you with everything you need to start, create and ship a game.
Epic regularly releases new versions which include updates, improved features, community contributions and bug fixes.
Once you ship your game or application, you pay Epic 5% of gross revenue after the first $3,000 per product per calendar quarter. See this FAQ for more info.
Note from WoLD: I use and recommend UE4 as the game engine of choice. See Unreal Engine 4 tutorials list here.
Game Engines Using Python
Features: unrealengine.com/unreal-engine-4
Download: unrealengine.com/what-is-unreal-engine-4
Tutorial: Follow this tutorial on how to download and install UE4
Unreal Engine 3
UnrealEngine.com/products/udk
Company: Epic Games
Platforms: Windows, iOS, Mac OSX
Unreal Engine 3 is the complete toolset to create your own games. Although there is a newer Unreal Engine 4 version out. It is still a very versatile and has been used to create many triple A games such as: Batman: Arkham City, Gears of War Series, Borderlands Series. For a full list of games that used Unreal Engine 3 go here.
UDK is no longer being updated or supported but it was one of my favorite engines to work with before Unreal Engine 4 came out.
There are a lot of tutorials out there for UDK and you can still get your hands on the game engine. Although it is very likely you will go with the newer Unreal Engine 4.
Documentation:udn.epicgames.com/Three/WebHome.html
FAQ:Frequently Asked Questions
Download:unrealengine.com/previous-versions
CryEngine V
CryEngine.com
Company: Crytek
Platforms: Windows, Linux, PlayStation 4, Xbox One, Oculus Rift, HTC Vive, Open-Source VR and PlayStation VR
Crytek completely revamped CryEngine in 2016.
Originally it was called CryEngine 3 SDK and now it is CryEngine V.
Cryengine V has now become available as a 'pay what you want' service, allowing the user to set their own price. If you like the service CryEngine provides then you can contribute to its ongoing development. That is pretty amazing deal.
CryEngine features include full engine source code, fully commercialization, 100% royalty-free, access to all supported platforms and ready for VR development.
CryEngine has been used in games such as Crysis 2, Crysis 3, Evolve, Sniper: Ghost Warrior 2 and 3, and Homefront: The Revolution.
Just like Unreal Engine 4, CryEngine is the complete toolset for game development. It engine has been used as a benchmark for visual graphics for some time and it continues to push the limit what games are capable of.
Download:cryengine.com/get-cryengine
Features:cryengine.com/features
Unity3D
Unity3d.com
Company: Unity Technologies
Platforms: Windows, Mac OSX, Linus, Android, BlackBerry, iOS, PlayStation 3, PlayStation 4, PlayStation Vita, Unity Web Player, Wii, Wii U, Windows Phone 8, Xbox 360, and Xbox One
Unity3D has been a very popular choice among developers. Full game engine featuring everything you would need to create 3d or 2d games with multi-platform support right out of the box. Great game engine to get into and begin using. Unity has a free indie version as well as commercial license version.
Features:unity3d.com/unity/editor
Download:unity3d.com/get-unity
Source Engine / Source SDK
ValveSoftware.com
Company: Valve Corporation
Platforms: Windows
Source Engine has been used extensively in the modding community with hundreds if not thousands of mods available. Source Engine is a bit outdated, yet still very powerful. It has been used to create games such as Half Life 2 series, Counter-Strike: Source, Counter-Strike: Global Offensive, Left4Dead, Left4Dead 2, Portal 1 and 2.
Each game has a huge community behind it with new content always being released. I love using Source Engine because of its games. You can get your hands on the engine by downloading any of Valve's released games on Steam.
Eventually Source is going to get an update to Source 2 with unconfirmed and possible releases of Half-Life 3 and Left4Dead 3.
I can't wait for the day that happens.
Features:developer.valvesoftware.com/wiki/Source_Engine_Features
Download:See this tutorial on how to download Source SDK for a specific game
Source 2
ValveSoftware.com
Company: Valve Corporation
Platforms: N/A
Source Engine 2 will be coming out in a near future.
No word on when yet, but it will be available to the public just as Source is. Valve Software has always been very indie game dev and level design friendly.
I expect nothing less from Valve with Source 2.
Features: N/A
Download: N/A
Leadwerks
LeadWerks.com
Company: Leadwerks
Platforms: Windows, Linux, SteamOS
Leadwerks is an OpenGL, 3d game engine. It features deferred lighting system, Screen Space Ambient Occlusion which simulates real-time global illumination, advanced shaders, support for huge terrains, new vegetation system, built-in level design tools, integrated LUA script editor and much more.
Leadwerks game engine is available on Steam and you can try out a demo before you purchase it.
Features:leadwerks.com/werkspace/page/features?shownav=0
Download:store.steampowered.com/app/251810
Demo: leadwerks.com/werkspace/page/demo
Torque3D
GarageGames.com
Company: Garage Games
Platforms: Windows, Mac OSX, Linux
Torque 3D is an open source game engine and has been an independent dev favorite for quiet some time. Originally the game engine was developed for 2001 FPS shooter, Tribes 2.
Some features include a world editor, Collada support, per pixel dynamic lighting, normal and parallax occlusion mapping, reflections, sky system, physX, multiple platform publishing and access to source code.
Here is documentation on getting started with Torque 3D.
Features:garagegames.com/products/torque-3d/overview
Download: garagegames.com/products/torque-3d/ (download Binary for executable or Source for source code)
Neoaxis
Neoaxis.com
Company: NeoAxis Group Ltd.
Platforms: Windows, Mac OSX
Neoaxis has all the features of a modern engine such as advanced material and shading support, real-time shadows, built-in Nvidia physX, current/next-gen rendering, full set of screen effects, built-in network support and pathfinding components. It comes with complete pipeline SDK, including resource and map editor, import resources for Maya and 3dsMax.
NeoAxis 3D Engine is a free product. The SDK includes all capabilities of the engine. There are two paid licenses that open access to the source codes of the engine.
Features:neoaxis.com/neoaxis/features
Download:neoaxis.com/neoaxis/downloads
Tombstone Engine (formerly known as C4Engine)
TombStoneEngine.com
Company: Terathon Software
Platforms: PlayStation 4, Windows, Mac OSX, Linux, iOS
The Tombstone Engine is the successor to the C4 Engine.
Primary features include full-scene dynamic lighting and shadows. World editor runs as an engine plugin and uses the engine's own user interface system. Large variety of built-in shading features (bump/normal mapping, parallax bump texture mapping, horizon bump shadow mapping, reflection and refraction and more). Voxel terrain based on voxel maps that can be edited in real time. As well as standard features such as script editor, special effects, world manager, scene graph, physics and tools for art pipeline creation.
Features:tombstoneengine.com
Download:tombstoneengine.com
Shiva3D
ShivaEngine.com
Company: ShiVa Technologies SAS
Platforms: Windows, Mac OSX, Linux, Android, Blackberry, iOS, PlayStation 4, PlayStation3, Xbox 360, Xbox One, Vita, Wii, Windows Phone, Web Browsers
Shiva3D is a 3d game engine that is designed for web, console and mobile games and applications. Engine can run in OpenGL, DirecX and software modes. Some features include Nvidia physX, compound dynamic body, point light shadows, per-vertex per-pixel and lightmapping. Shiva3D has a free web edition of the engine, with ability to publish your games online as well as full licenses.
Shiva3D 2.0 is being developed, with version 1.9 still available to download.
Features:shivaengine.com
Download:shivaengine.com
Panda3D
Panda3d.org
Company: Walt Disney Imagineering, Carnegie Mellon University
Platforms: Windows, Mac OSX, Linux, FreeBSD
Panda3D is open source game engine and 3d rendering engine using Python and C++. Some features include physics, particle effects, GUI creation, AI, OpenGL/DirectX, render to texture and advanced shaders (normals, gloss, glow maps, HDR, cel shading).
Features:panda3d.org/manual/index.php/Features
Download:panda3d.org/download.php
Esenthel Engine
Esenthel.com
Company: Esenthel/Grzegorz Slazinski
Platforms: Windows, Windows Phone, Xbox, Mac OS, iOS, Android, Linux, Web
Esenthel Engine is the next-gen game engine.
It includes collaborative editor. Code editor which is integrated with the engine's editor and automatically handles compilation for all platforms. Advanced graphics and physics with wide range of device support. It is powered by Nvidia PhysX allows complex physics simulations having thousands of dynamic objects on the scene real-time. Supports plenty of graphical effects, such as - Bloom, Real-time Dynamic Shadows, Ambient Occlusion, Motion Blur, Depth of Field, Glow, Sun Rays, Fog, Cel Shading, Normal Mapping, Parallax Mapping, Relief Mapping, Tessellation, FXAA / MLAA / SMAA Anti-Aliasing and many more!
Game Engines Using Python Functions
You can also try and buy Esenthel Engine on Steam.
Features: esenthel.com/?id=feature_list
Download:esenthel.com/?id=store or store.steampowered.com/app/366530
idTech4
Wikipedia.org/wiki/Id_Tech_4
Company: idSoftware
Platforms: Windows, OS X, Linux, PlayStation 3, Xbox, Xbox 360
idTech4 is a game engine that powers games such as Doom 3, Quake 4, Prey and Brink. It is also known as Doom 3 Engine.
John Carmack released idTech 4 source code at the end of 2011 as open source.
Some features of idTech4 include per-pixel lighting, unified lighting and shadowing, shadow volumes and mega texture.
Features:http://en.wikipedia.org/wiki/Id_Tech_4#Features
Game Engines Using Python Machine Learning
Download:moddb.com or github.com
Lumberyard
Amazon.com/lumberyard/
Company: Amazon
Platforms: Windows, Xbox One, PlayStation, (iOS, Android, Mac, Linux - coming soon)
Lumberyard is a free cross-platform game engine developed by Amazon and based on the architecture of CryEngine. It is integrated with Amazon Web Services which allows you build and host games on Amazon's servers.
Some features include C++ source code, character tools, terrain tools, robust networking, Audiokinetic's sound engine, real-time gameplay editor, powerful rendering technology and authoring tools to create photorealistic 3D environments. Real-time effects, including physically based shaders, dynamic global illumination, a particle effects editor, vegetation tools, real-time dynamic water caustics, volumetric fog, and filmic features such as color grading, motion blur, depth of field, HDR lens flares, and more.
Features:aws.amazon.com/lumberyard/details/
Download:aws.amazon.com/lumberyard/downloads/
Game Guru
Game-Guru.com
Company: The Game Creators
Platforms: Windows
Game Guru defines itself as a game creator allowing you to build your own worlds with easy to use tools. Populate the worlds with characters, weapons, ammo and other game items, then, by pressing one button your game is built and ready to play. With Game Guru you can make a multiplayer game in a few minutes, including hosting and sharing your game online via Steam multiplayer.
GameGuru comes with 10+ game demos to play and learn from. They will show you what can be created and how.
Game Guru allows you to focus on designing your games without worrying about the inside of the game engine.
Some features include easy to use, drag & drop style, terrain tools, vegetation system, rendering engine, cascade shadow mapping, occlusion culling system, sky maps, baked shadowing, physics, game character and weapon customization, AI, ready to use weapons and items, multiplayer on Steam, save stand standalone single player games as executable files and a lot more.
Features:game-guru.com/features
Download:store.steampowered.com/app/266310/
jMonkey Game Engine
JmonkeyEngine.org
Company: The jME Core Team
Platforms: Windows, OSX, Linux, Android, iOS, Oculus Rift
jMonkeyEngine is java based 3d game engine which uses shader technology extensively with LWJGL as its default renderer. It is open source game engine under the new BSD license. jMonkeyEngine is not just a visual RPG Maker or an FPS modder. It is a full game engine and Java programming knowledge is required and it can be a great starting point for any 3D games developer.
The BSD License means you are free to do whatever you'd like with the code.
Some features include regular ways to simulate candle light, sun light, flashlights, global lights, PSSM and SSAO shadows. Material system is entirely shader-based. Wide array of special effects through the use of post processor filters and particle emitters with ability to emulate water, fog, light scattering and explosions and a lot more.
Features:jmonkeyengine.org
Download:jmonkeyengine.org/downloads/
Hero Engine
HeroEngine.com
Company: Idea Fabrik Plc
Platforms: Windows
HeroEngine is a 3D game engine and server technology originally developed for MMO-style games. You may have experienced Hero Engine in Star Wars: The Old Republic. It is the complete development platform for online games.
Although don't think of HeroEngine as MMO-RPGs engine. It can create wide variety of online games from strategy game to first person shooters.
It seamlessly integrates the entire client and server architecture needed to operate an online game directly into the development process. Game studios such as EA, Bioware, and ZeniMax Online have used HeroEngine.
HeroEngine contains all the tools you expect from a modern game engine such as world building, scripting, 3D rendering and physics. But for all complete features visit the link below.
Features:heroengine.com/herocloud/tech-features/
Download:heroengine.com/heroengine/licensing-options/
Game Studio
3DGameStudio.com
Company: Conitec Datasystems
Platforms: Windows
GameStudio is an authoring system for interactive 2D and 3D applications. These include multimedia tools, video games and simulations
It offers 3 levels of access in one package: beginner, advanced and professional.
Some features include Adaptive Binary Tree rendering engine that allows for seamless indoor/outdoor scenery and up to 200,000 objects per scene. BSP, Static and dynamic shadow lighting and mapping, decals, stencils, seamless LOD terrain renderer, fog areas, camera portals, reflections, mirrors, detail textures, texture compression, particle effects, physics and collision, 2d engine, sound engine, network and game engine and much more.
Note that GameStudio is not to be confused with Game Maker: Studio from YoYo Games.
Features:conitec.net/english/gstudio/3dgs7.php
Download:conitec.net/english/gstudio/download.php
Serious Engine
Croteam.com/technology/
Company: Croteam
Platforms: Windows, Xbox, Linux, Mac OSX
Serious Engine is the original 2001 game engine used to create the classic Serious Sam games such as Serious Sam: The First Encounter, Serious Sam: The Second Encounter and Serious Sam Xbox.
Croteam has released open-source version of the Serious Engine.
It features the ability to render very long distances, large open worlds with large amount of enemies rendered on-screen at once, along with realistic shadows and lighting effects. It also supports high-quality terrain models, portals, sunglares, real-time level preview, fog, haze, real-time shadows and more.
With open source version you get Serious Engine 1.10, GUI tools, class compiler, files to run a dedicated server, built-in modeler, game's executable, and LightWave 3D model exporter.
Note: Serious Engine is currently in its fourth version, Serious Engine 4 and is used to create 'The Talos Principle' game.
Features:croteam.com/technology/
Download:github.com/Croteam-official/Serious-Engine
Blender
Blender.org
Company: Blender Foundation
Platforms: Windows, Mac OSX, Linux
Blender is a free and open-source 3D content creation suite. It includes tools for animation, compositing, 3D modeling, uv unwrapping, texturing, rigging and skinning, fluid and smoke, particle system, physics and rendering.
It is mostly known for modeling and animation but it also contains a game engine.
Blender game engine features graphical logic editor for defining interactive behavior without programming, collision detection, dynamics simulation, support for vehicle dynamics, all OpenGL lighting modes including transparencies, Python scripting, multi-materials, multitexture and texture blending modes, per-pixel lighting, dynamic lighting, mapping modes, GLSL vertex paint texture blending, toon shading, animated materials, support for Normal Mapping and Parallax Mapping and a lot more.
Features:blender.org/features/
Download:blender.org/download/
Irrlicht Engine
Irrlicht.sourceforge.net
Company: Nikolaus Gebhardt et al
Platforms: Windows, Linux, Mac OS X, Windows CE
The Irrlicht Engine is an open source real-time 3d rendering graphics engine using Direct3D and OpenGL.
Irrlicht is not a game engine but a 3d rendering engine. It allows game developers to utilize rendering graphics framework for 3D graphics into their own engine.
Irrlicht features include real-time 3D rendering using Direct3D and OpenGL, vertex, pixel, and geometry shader support, seamless indoor and outdoor mixing, character animation system with skeletal and morph target animation, dynamic shadows, particle system, collision detection, lightmapping, direct import of common 3d mesh file formats and it is platform independent. More features can be found using the link below.
Features:irrlicht.sourceforge.net/?page_id=45
Download:irrlicht.sourceforge.net/?page_id=10
Ogre3D
Ogre3d.org
Company: The OGRE Team
Platforms: Windows, Linux, Mac OS X, Android, iOS, Windows Phone, WinRT support
Ogre3D is an open-source rendering engine. Just like Irrlicht, it is not a game engine, but a 3d rendering engine. It allows game developers to utilize rendering graphics framework for 3D graphics into their own engine.
Ogre3D features include Direct3D 9 & 11, OpenGL, materials and shaders, object-oriented design, multi-platform with OpenGL and Direct3D support, landscape scene manager, animation engine and content exporters for most 3d modeling software and much more.
Features:ogre3d.org/about/features
Download:ogre3d.org/download/sdk
Resources
For a full list of various game engines see the following links:
Any other game engines you think should have been included? Let me know on WoLD Facebook or Twitter
Read Next: 15 Recommended Level Design Editors