Game Engines Using Python
ZiPhone Zibri's tool to unlock, jailbreak, and activate. It makes use of the Ramdisk Hack and uses geohot's BL4.6 exploit to downgrade the baseband bootloader and subsequently unlock the baseband. Tool ziphone download. Download ZiPhone. ZiPhone is a free, open source and all-in-one jailbreak / unlocking tool for iPhone and iPod Touch. The latest version of the unlocking software supports the new v2.0 iPhone OS and more international networks.
Game engines are tools available for game designers to code and plan out a game quickly and easily without building one from the ground up. Whether they are 2D or 3D based, they offer tools to aid in asset creation and placement.
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. The players in this game can partake in diverse in-game tasks and activities, such as trading, mining, manufacturing, piracy, investigation, and combat (both player versus player and player versus environment). Both the server and the client program for Eve Online are developed using Stackless Python, a variation of the Python programming language. Sep 13, 2018 September 2018 In this chapter of our ongoing Game Engines by Language series, today we are going to look at the game engines, both 2D and 3D, available for Python. If you are interested we have already created versions for C , C#, Lua, JavaScript and the Haxe programming languages.
- If you're only interested in game development, then I'd recommend Godot (its scripting language is similar to Python), since it's more feature rich and nicer to use than all the Python frameworks and engines, and I heard some people even prefer it over Unity for 2D games.
- Game development in Python currently is a bit underwhelming compared to the other options available for other languages (Unity3D/2D, MonoGame, the non-python versions of Cocos2D). That being said, Cocos2D is probably the most mature of the Python game libraries, supporting things like tilemaps from Tiled out of the box. The documentation is.
- Cocos2d (Python), Pygame, and KivEnt are probably your best bets out of the 6 options considered. 'Allows for easy debugging' is the primary reason people pick Cocos2d (Python) over the competition. This page is powered by a knowledgeable community that helps you make an informed decision.
- It is the most popular, and portable game library for python, with over 1000 free and open source projects that use pygame to look at. The free books 'Program Arcade Games with Python and Pygame', 'Making Games with Python & Pygame' cover the basics of the Pygame library and offers the source code for several popular video game clones.
Engines[edit]
Note: The following list is not exhaustive. Also, it mixes game engines with rendering engines as well as API bindings without any distinctions.
Name | Primary programming language | Scripting | Cross-platform | 2D/3D oriented | Target platform | Notable games | License | Notes and references |
---|---|---|---|---|---|---|---|---|
4A Engine | C++ | Yes | 3D | Windows, OS X, Linux, PlayStation 3, PlayStation 4, Xbox 360, Xbox One | Metro 2033, Metro: Last Light, Metro Exodus | Proprietary | ||
A-Frame (VR) | HTML, JavaScript | JavaScript | Yes | 3D | Cross-platform | A-Painter[1] | MIT | Open source Entity component systemWebVR framework |
Adventure Game Interpreter | C style | Yes | 2D | DOS, Apple SOS, ProDOS, Classic Mac OS, Atari TOS | List | Proprietary | ||
Adventure Game Studio | C++ | AGSScript | Yes | 2D | Windows, Linux | Chzo Mythos, Blackwell | Artistic 2.0 | Mostly used to develop third-person pre-renderedgraphic adventure games, one of the most popular for developing amateur adventure games |
Alamo | Yes | 3D | Windows, OS X, Xbox 360 | Star Wars: Empire at War, Star Wars: Empire at War: Forces of Corruption, Universe at War: Earth Assault | Proprietary | |||
Aleph One | C++ | Lua, Marathon markup language | Yes | 2.5D | Windows, Linux, OS X | Aleph One (Marathonremake) | GPL | FPS engine |
Allegro | C | Ada, C++, C#, D, Lisp, Lua, Mercury, Pascal, Perl, Python, Scheme | Yes | 2D | Windows, Linux, OS X, iOS, Android, Raspberry Pi, DOS | Factorio[2] | zlib | Graphics, audio, input |
Antiryad Gx | C, Assembler | C, C++, Gel | Yes | 2D, 3D | Windows, DOS, Mac OS, Linux, iOS, Android, AmigaOS, AROS, MorphOS, NACL | Proprietary | ||
Anura | C++, FFL[3] | FFL[3] | Yes | 2D | Windows, Linux, OS X, iOS, Android, BlackBerry 10 | Frogatto & Friends, Argentum Age[4], Cube Trains[5] | zlib | [citation needed], feature freeze |
Anvil | C++, C# | Yes | 3D | Windows, PlayStation 3, PlayStation 4, PlayStation Vita, Wii U, Xbox 360, Xbox One | List | Proprietary | ||
AppGameKit | C++, BASIC | C#, C++, AGK BASIC | Yes | 2D, 3D | Windows, Mac, iOS, Android, HTML5, Raspberry Pi | Echoes, Driving Test Success Apps, Squashies | Proprietary | |
Ardor3D | Java | Yes | 3D | Cross-platform | zlib | Fork of jMonkeyEngine 2.0 | ||
Aurora toolset | C++ | NWScript | Yes | 3D | Windows, Linux, OS X | Neverwinter Nights | Proprietary | |
BigWorld | Python | Yes | 3D | Windows, Linux, Xbox 360, PlayStation 3 | List | Proprietary | ||
Blend4Web | JavaScript, Python, C, C++ | JavaScript | Yes | 3D | WebGL, Windows, Linux, OS X, iOS, Android | Experience Curiosity, Petigor's Tale, Back to the Middle Ages | GPLv3 or commercial | Game content, including graphics, animation, sound, and physics, is authored in the 3D modeling and animation suite Blender[6] |
Blender | C, C++ | Python | Yes | 2D, 3D | Windows, Linux, OS X, Solaris | Yo Frankie!, Sintel The Game, ColorCube | GPL | 2D/3D game engine packaged in a 3D modeler with integrated Bullet physics library[7][8] |
Bork3D Game Engine | C++ | Yes | 3D | IOS, OS X, Windows | List | BSD | ||
BRender | Yes | 3D | Windows, DOS, PlayStation | Carmageddon, FX Fighter, I-War (Independence War). | Proprietary | |||
Build engine | C | Yes | 2.5D | Windows, Linux, OS X, DOS | Duke Nukem 3D, Shadow Warrior, Blood, Redneck Rampage | Custom, free non-commercial use | FPS engine; 2.5D, 2D grid base geometry | |
Buildbox | C++ | Yes | 2D | Windows, OS X, iOS, Android | Ball Jump, Sky, The Line Zen, Phases | Proprietary | Drag and drop game builder without scripting | |
C4 Engine | Yes | 3D | PlayStation 4, PlayStation 3, Windows, OS X, Linux, iOS | List | Proprietary | Retired, no longer available for licensing[9] | ||
Cafu Engine | C++ | Lua | Yes | 3D | Windows, Linux, OS X | GPL or Proprietary | Includes map editor and networking[10] | |
Chrome Engine | C++ | Yes | 3D | Windows, Linux, PlayStation 4, Xbox One | List | Proprietary | ||
ClanLib | C++ | Yes | 2.5D | Windows, Linux, OS X | zlib | |||
Clausewitz | C++ | Yes | 3D | Windows, OS X, Linux | All Paradox Development Studio games since 2007 | Proprietary | ||
Clickteam Fusion | Yes | 2D | Windows, iOS, Android, HTML5, Adobe Flash | Five Nights at Freddy's | Proprietary | |||
Cocos2d, Cocos2d-x, Cocos2d-html5 | C++, Python, Objective-C, JavaScript | JavaScript, Java, Lua | Yes | 2D, 2.5D, 3D | Windows, Linux, OS X, iOS, Android, BlackBerry, Tizen | Hardest Game Ever 2, DQMSL, Tiny Village, Badland, Small Street, Tiny Tower, Pocket Planes, Hill Climb, Star Thief, Geometry Dash | MIT | Android target binds to Java; iOS target uses Objective-C |
Codea | Lua | No | 2D | iOS | Cargo-Bot | Apache 2.0 | ||
Coldstone | Yes | 2D | Mac OS 9, OS X, Windows | Pillars of Garendall | Proprietary | |||
Construct | C++ | JavaScript, Event System | Yes | 2D | Windows, OS X, Wii U, HTML5 capable internet browsers | Proprietary, GPL Classic version | ||
CopperCube | Yes | 3D | Windows, OS X, Android, WebGL, Adobe Flash | Proprietary | ||||
Core3D | Objective-C | Yes | 3D | Windows, Linux, OS X, iOS | CoreBreach | 3D Engine MIT, Source Code GPL v2 | [11] | |
Corona | Lua | Yes | 2D | iOS, Android, Kindle, Windows Phone 8, Apple TV, Android TV, OS X, Windows | Proprietary | |||
CPAL3D | No | 3D | Windows | Memento Mori | Proprietary | |||
Creation Engine | C++ | Papyrus | Yes | 3D | Windows, PlayStation 3, Xbox 360, Xbox One, PlayStation 4 | The Elder Scrolls V: Skyrim, Fallout 4, Fallout 76 | Proprietary | |
CryEngine | C++ | Lua, C# | Yes | 3D | Windows, OS X, Linux, PlayStation 3, PlayStation 4, Wii U, Xbox 360, Xbox One, iOS, Android | List | Proprietary | |
Crystal Tools | Yes | 3D | PlayStation 3, Xbox 360, Windows, Wii | List | Proprietary | |||
Crystal Space | C++ | Java, Perl, Python | Yes | 3D | Windows, Linux, OS X | Keepsake, The Crystal Scrolls, Yo Frankie! | LGPL | |
Cube | C++ | Yes | 3D | Windows, Linux, OS X | AssaultCube, Cube | zlib | Prior generation (means it has a successor), 2D grid-based system, optimized for outdoor not indoor maps | |
Cube 2: Sauerbraten | C++ | CubeScript | Yes | 3D | Windows, Linux, OS X | Cube 2: Sauerbraten, Red Eclipse | zlib | Efficient 6-directional height map based geometry (versus traditional Polygon soup model), hence the name Cube, FPS engine |
Dagor Engine | Yes | 3D | Windows, PlayStation 4, PlayStation 3, Xbox 360, Linux, OSX | List | Proprietary | |||
Dark Engine | C++ | No | 3D | Windows | Thief: The Dark Project, System Shock 2, Thief II: The Metal Age | Proprietary | Advanced AI and sound features (full control of sound propagation). Edited with DromEd. | |
Decima | No | 3D | PlayStation 4 | Death Stranding, Horizon Zero Dawn, Killzone Shadow Fall, Until Dawn, Until Dawn: Rush of Blood | Proprietary | |||
Defold | Lua | Lua | Yes | 2D | iOS, Android, HTML5, Windows, OSX, Linux | Blastlands, Blossom Blast Saga, Pet Rescue Puzzle Saga, Family Age, Hammerwatch Coliseum | Proprietary | |
Delta3D | C++ | Python | Yes | 2.5D | Cross-platform | LGPL | ||
Dim3 | C++ | JavaScript | Yes | 3D | Cross-platform | MIT | ||
DimensioneX Multiplayer Engine | Java | Java, VBScript | Yes | 2.5D | Cross-platform | Underworld Online | GPL | Produces browser games with pseudo-3D views; games can be made into Facebook Apps; intended for beginners |
DX Studio | C++ | JavaScript | No | 3D | Windows | proprietary, Freeware | ||
Dunia Engine | C++ | Yes | 3D | Windows, PlayStation 3, Xbox 360, PlayStation 4, Xbox One | List | Proprietary | Based on CryEngine | |
ego | Yes | 3D | PlayStation 3, Windows, Xbox 360, OS X, Wii, Wii U, Xbox One, PlayStation 4 | List | Proprietary | Primarily used for racing games | ||
Electron toolset | C# | NWScript | No | 3D | Windows | Neverwinter Nights 2 | Proprietary | |
Elflight Engine | Java | Yes | 3D | Cross-platform | Proprietary | Targeted for web based games | ||
Enforce | No | 3D | Windows | Shade: Wrath of Angels, Alpha Prime, Carrier Command: Gaea Mission, Take On Mars | Proprietary | |||
Enigma Engine | Yes | 3D | Windows, OS X, | Blitzkrieg, Blitzkrieg 2 | Proprietary | |||
Esperient Creator | Lang | Lisp, CScript | No | 3D | Windows | Proprietary | ||
Essence Engine | No | 3D | Windows | List | Proprietary | |||
Euphoria | Yes | 3D | Windows, PlayStation 4, Xbox One, PlayStation 3, Xbox 360, iOS, Android | Proprietary | ||||
Exult | C++ | Yes | 2D | Windows, Linux, OS X, BSD | GPL | Free software re-implemented Ultima VII game engine | ||
Flare3D | ActionScript 3 | Yes | 3D | Web, Windows, iOS, Android, BlackBerry | List | Proprietary | ||
Flixel | ActionScript | Yes | 2D | Various games by Gregory Weir | MIT | Boilerplate code for Flash games | ||
Forgelight Engine | No | 3D | Windows | Free Realms, PlanetSide 2, Landmark, EverQuest Next, H1Z1: Just Survive, H1Z1: King of the Kill | Proprietary | |||
Fox Engine | Yes | 3D | Windows, PlayStation 3, PlayStation 4, Xbox 360, Xbox One | List | Proprietary | |||
Freescape | Freescape Command Language | Yes | 3D | Amstrad CPC, ZX Spectrum, IBM PC, Commodore 64, Commodore Amiga, Atari ST | List | Proprietary | ||
Frostbite | C++ | Yes | 3D | Windows, PlayStation 3, PlayStation 4, Xbox 360, Xbox One | List | Proprietary | Used originally for Battlefield (series) video games | |
Future Pinball | No | 3D | Windows | Freeware | ||||
Gamebryo | C++ | Yes | 3D | Windows, PlayStation 3, PlayStation 4, Xbox 360, Xbox One | List | Proprietary | ||
Game Editor | Custom (C styled) | Yes | 2D | iPhone, iPad, OS X, Windows (95-Windows 7), Linux, Windows-based smartphones, GP2X, Pocket PCs, Handheld PCs | GPL, Proprietary | |||
GameMaker Studio | GML | Game Maker Language, JavaScript, GLSL | Yes | 2D, 3D | Windows, Windows 8, Xbox 360, Xbox One, PlayStation 3, PlayStation 4, PlayStation Vita, OS X, Ubuntu, HTML5, Android, iOS, Windows Phone 8, Tizen, Amazon Fire TV, Nintendo Switch | List of GameMaker Studio games | Proprietary | Limited 3D abilities |
GamePlay3D | C++ | Lua | Yes | 3D | Windows, Linux, OS X, iOS, BlackBerry 10, Android | Apache 2.0 | Aimed at the indie game developer ecosystem, similar features to cocos2d-x | |
GameSalad | Lang | Script | Yes | 2D | iOS, Android | Proprietary | ||
Gamestudio | C-Script, Lite-C | No | 3D | Windows | List | Proprietary | Games can be published royalty-free | |
Gamvas | JavaScript | JavaScript | Yes | 2D | HTML5 | MIT | HTML5 canvas game engine with Box2D integration | |
Godot | C++ | GDScript, C#, Visual Script, GDNative | Yes | 2D, 2.5D, 3D | Windows, macOS, Linux, UWP, iOS, Android, HTML and Web Assembly | MIT | Open source. 3.0+ adds C# scripting plus other languages via modules and GDNative. PBR and Global Illumination. | |
Gold Box | Assembly, Pascal, C, C++ | Yes | 2D | Amiga, Apple II, Atari ST, Commodore 64/128, DOS, Macintosh, Nintendo Entertainment System, PC-9801, Sega Genesis | Pool of Radiance, Gateway to the Savage Frontier, Champions of Krynn, Buck Rogers: Countdown to Doomsday, Neverwinter Nights, Spelljammer: Pirates of Realmspace | Proprietary | SSI's engine for Advanced Dungeons & Dragons role-playing games | |
GoldSrc | C, C++, Assembly | Yes | 3D | Windows, OS X, Linux, PlayStation 2, Xbox, Dreamcast | Half-Life, Team Fortress Classic, Half-Life: Opposing Force, Counter-Strike, Ricochet, Deathmatch Classic, Half-Life: Blue Shift, Half-Life: Decay, Day of Defeat, Counter-Strike: Condition Zero, Counter-Strike Neo, Counter-Strike Online | Proprietary | Highly modified Quake engine | |
HeroEngine | C++, C# | HeroScript Language | No | 3D | Windows | Star Wars: The Old Republic | Proprietary | |
Horde3D | C++ | Yes | 3D | Windows, Linux | EPL | Small 3D rendering engine for large crowds of animated characters | ||
HPL Engine | C++ | AngelScript | Yes | 3D | Windows, Linux, OS X | Penumbra: Overture, Penumbra: Black Plague, Penumbra: Requiem, Amnesia: The Dark Descent, Amnesia: A Machine for Pigs, Soma | Proprietary, GPL version 1 | Cross-platform, compatible with OpenGL, OpenAL, and Newton Game Dynamics libraries; defining features include ability for advanced object interaction via use of Newton's physics code |
id Tech 1 (Doom) | C | ACS | Yes | 2.5D | Windows, Linux, OS X | Doom, Doom II, Heretic, Hexen, Strife, Chex Quest | GPL | 2D-based level geometry, sprites, and particles, uses clever methods to give illusion of 3D depth |
id Tech 2 (Quake) | C | QuakeC | Yes | 3D | Windows, Linux, OS X | Quake | GPL | First true 3D id Tech engine |
id Tech 2 (Quake II) | C | C | Yes | 3D | Windows, Linux, OS X | Quake II | GPL | Also termed the Quake II engine |
id Tech 3 | C | C | Yes | 3D | Windows, Linux, OS X | Quake III Arena | GPL | Also termed the Quake III engine |
id Tech 4 | C++ | C++ via DLLs | Yes | 3D | Windows, Linux, OS X | Doom 3, Doom 3 BFG Edition, Quake 4, Prey, Enemy Territory: Quake Wars, Wolfenstein, Brink | GPL | Also termed the Doom 3 engine; features advanced: lighting, shadows, interactive GUI surfaces |
id Tech 5 | C++, AMPL, Clipper, Python | Script | Yes | 3D | Windows, OS X, Xbox 360, Xbox One, PlayStation 3, PlayStation 4 | Rage, Wolfenstein: The New Order, Wolfenstein: The Old Blood, The Evil Within | Proprietary | First id Tech engine to feature MegaTexture technology, starting with Rage |
id Tech 6 | C++ | Yes | 3D | Windows, Xbox One, PlayStation 4, Nintendo Switch | Doom (2016), Wolfenstein II: The New Colossus | Proprietary | ||
id Tech 7 | C++ | Yes | 3D | Windows, PlayStation 4, Xbox One, Nintendo Switch | Doom Eternal | Proprietary | ||
iMUSE | N/A | N/A | Integrated with other engines | Monkey Island 2: LeChuck's Revenge, all LucasArts adventure games afterwards | Proprietary | Dynamic music system | ||
Infinity Engine | Yes | 2D | Windows, Mac OS, OS X, AmigaOS 4 | Baldur's Gate, Planescape: Torment, Icewind Dale, Baldur's Gate II: Shadows of Amn, Icewind Dale II | Proprietary | |||
Irrlicht | C++ | C++ | Yes | 3D | Windows, Mac OS, Linux, Windows CE | List of Irrlicht games | zlib | Open source, audio with extension |
ioquake3 | C | Yes | 3D | Windows, Linux, OS X | Urban Terror | GPL | ||
Iron Engine | No | 3D | Windows | Sins of a Solar Empire, Sins of a Dark Age | Proprietary | |||
IW engine | C++ | Yes | 3D | Windows, OS X, PlayStation 4, PlayStation 3, Xbox One, Xbox 360, Wii U, Wii | Call of Duty series | Proprietary | Originally built from id Tech 3 | |
Jade | C++ | Yes | 3D | Cross-platform | List | Proprietary | ||
Jake2 | Java | Yes | 3D | Cross-platform | GPL | Java port of Quake II game engine | ||
Java3D | Java | Yes | 3D | Cross-platform | BSD | Community-centric project. Last version 1.6.0 (April 2015). Used by many schools as part of course work | ||
Jedi | C | Yes | 2.5D | DOS, Windows | Star Wars: Dark Forces, Outlaws | Proprietary | Rumored to have been reverse-engineered from Doom engine | |
jMonkeyEngine | Java | Yes | 3D | Cross-platform | BSD | Community-centric project, used by several commercial game studios | ||
Kinetica | No | 3D | PlayStation 2 | List | Proprietary | |||
Kivy (framework) | Python | Kv | Yes | 2.5D | Windows, Linux, OS X, iOS, Android | Deflectouch, FishLife | MIT | For rapid development, can make multi-touch apps |
LayaAir | ActionScript 3, JavaScript, TypeScript | Yes | 2D, 3D | WebGL, Windows, Linux, OS X, iOS, Android | GPL or commercial | 2D/3D game engine and also VR mode, provide free tools to convert 3d assets content from FBX files or Unity scene. | ||
Leadwerks | C++ | Lua | Yes | 3D | Windows, Linux | Hoodwink, Rogue System | Proprietary | |
LibGDX | Java | Yes | 2D, 3D | GNU/Linux, Windows, OS X, iOS, Android, Java applet, WebGL | Ingress | Apache 2.0 | Java game development framework, provides a unified API that works across all supported platforms | |
LithTech | Yes | 3D | Cross-platform | List | Proprietary | |||
Lumberyard | C++ | Lua | Yes | 3D | PlayStation 4, Xbox One, Windows | Proprietary | The software is free to download and use however is works closely with amazon services. | |
Luminous Studio | Yes | 3D | PlayStation 4, Xbox One, Windows | Final Fantasy XV | Proprietary | |||
LyN | Yes | 3D | Cross-platform | List | Proprietary | Intended to scale effectively on 7th and 8th generation consoles | ||
LÖVE | Lua | Lua | Yes | 2D | iOS, Android, Windows, Linux, OS X, NetBSD, FreeBSD, OpenBSD, Solaris,and all platforms supported by pkgsrc[12] | Mari0, Journey to the Center of Hawkthorne, Move or Die[13] | zlib | [14] |
M.U.G.E.N | C | Yes | 2D | Linux, DOS, Windows, OS X | Freeware | Used Allegro initially, now uses on SDL | ||
Marmalade | C++, Lua, Objective-C, HTML5 | Lua, 2DKit | Yes | 2D, 3D | iOS, Android, BlackBerry, Windows 10, Amazon, OS X, Windows, Tizen, Roku, Chromecast | List of Marmalade Games | Proprietary | High-performance, cross-platform, with authoring tools and asset store |
Moai SDK | C++ | Lua | Yes | 2D | Windows, OS X, iOS, Android, Linux | Crimson Steam Pirates, Broken Age, Lost in Paradise | CPAL | |
MT Framework | C++ | Yes | 3D | PlayStation 3, Xbox 360, Windows, Wii, Wii U, Nintendo 3DS, PlayStation Vita | List | Proprietary | Intended to be 7th generation console engine, replaced by Panta Rhei | |
MonoGame | C# | C# | Yes | 2D,3D | Windows, OS X, Xbox One, PlayStation 4, PlayStation Vita, Windows Phone, iOS, Android, Windows Store, Ouya, BSD | Skulls of the Shogun, Bastion, TowerFall, Transistor (video game), Fez (video game), Axiom Verge | Microsoft Public | |
Nebula Engine | No | 3D | Windows | Drakensang: The Dark Eye, Drakensang: The River of Time | Proprietary | [citation needed] | ||
NScripter | No | 2D | Windows | Freeware | ||||
Odyssey Engine | Yes | 3D | Windows, OS X | Star Wars: Knights of the Old Republic, Star Wars: Knights of the Old Republic II: The Sith Lords | Proprietary | |||
OGRE | C++ | C++ | Yes | 3D | Linux, Windows (all major versions), OS X, NaCl, WinRT, Windows Phone 8, iOS and Android | Torchlight | MIT | 3D rendering engine used by several games |
OHRRPGCE | FreeBASIC | HamsterSpeak | Yes | 2D | Windows, OS X, Linux, Android | Wandering Hamster | GPL | Role-playing game creation system; use of scripting is optional |
ONScripter | NScripter | NScripter | Yes | 2D | Windows, OS X, Linux, Dreamcast, PSP, iOS | Narcissu, Saya no Uta, Tsukihime | GPL | Used to develop visual novels and first-person adventure games |
OpenClonk | C++ | C4Script | Yes | 2.5D | Windows, Linux, OS X | OpenClonk | ISC | Engine for 2D action/strategy platformers with 3D graphics |
OpenSimulator | C# | LSL | Yes | 3D | Windows, Linux, OS X, FreeBSD | BSD | Server platform to host virtual worlds, compatible with Second Life clients | |
ORX | C/C++ | Custom | Yes | 2.5D | Windows, Linux, OS X, iOS, Android | Le Magasin des Suicides | zlib | 3D accelerated |
Panda3D | C++, Python | Python | Yes | 3D | Windows, Linux, OS X, iOS | Toontown Online, Pirates of the Caribbean Online | BSD | |
Panta Rhei | Yes | 3D | PlayStation 4, Xbox One, Windows | Deep Down | Proprietary | Successor to MT Framework for 8th generation consoles | ||
Phaser | JavaScript | JavaScript | Yes | 2D | Cross-platform | MIT | ||
PhyreEngine | C++ | Yes | 3D | PC, PlayStation Portable, PlayStation Vita, PlayStation 3, PlayStation 4 | List | proprietary, Freeware | ||
Pie in the Sky | C | Yes | 2.5D | DOS, Windows, OS X | List | Proprietary | ||
PlayCanvas | JavaScript | JavaScript | Yes | 3D | Windows, Linux, OS X, iOS, HTML5, Android | Swoop, Zombie Pac-man | MIT | Users can work on game at the same time via online browser and publish to multiple platforms; engine uses WebGL and includes physics |
PlayN | Java | Yes | 2D | iOS, Android, HTML5, Windows, Linux | Angry Birds Chrome | Apache 2.0 | ||
PLIB | C++ | Yes | 3D | Windows, Linux, OS X | LGPL | |||
Pyrogenesis | C++ | JavaScript | Yes | 3D | Windows, Linux, OS X | 0 A.D. | LGPL | Designed for RTS games |
Q | Yes | 3D | Windows, OS X , Linux, PS2, PS3, Wii | Proprietary | ||||
Qfusion | C/C++ | AngelScript | Yes | 3D | Windows, Linux, OS X, Android | Warsow | GPL | |
Real Virtuality | C++ | Yes | 3D | Windows, Xbox | ARMA 2, ARMA 3, DayZ | Proprietary | ||
REDengine | C++ | Yes | 3D | Windows, OS X, Xbox 360, Xbox One, PlayStation 4 | The Witcher 2: Assassins of Kings, The Witcher 3: Wild Hunt | Proprietary | ||
Ren'Py | Python | Pygame | Yes | 2D | Windows, OS X, Linux, Android, OpenBSD | Analogue: A Hate Story, Jisei, Katawa Shoujo, Doki Doki Literature Club! | MIT | Used to develop visual novels and first-person adventure games |
RenderWare | RWX | Yes | 3D | Windows, Mac OS, Nintendo GameCube, Wii, Xbox, Xbox 360, PlayStation 2, PlayStation 3, PlayStation Portable | List of RenderWare games | Proprietary | RenderWare script available in version 2 only | |
Rockstar Advanced Game Engine (RAGE) | Yes | 3D | Windows, PlayStation 3, PlayStation 4, Wii, Xbox 360, Xbox One | List | Proprietary | |||
RPG Maker | Ruby, JavaScript | Yes | 2D | PC-8801, MSX2, PC-9801, Super Famicom, Windows, Sega Saturn, PlayStation, Game Boy Color, PlayStation 2, Game Boy Advance, Nintendo DS | Alpha Kimori, Ao Oni, Aveyond series, Barkley, Shut Up and Jam: Gaiden, Corpse Party, Eternal Eden, Laxius Force, One Night Trilogy, Super Columbine Massacre RPG!, To the Moon, Yume Nikki | Proprietary | Game creation system, allows users to build their own role-playing games | |
SAGE | Yes | 3D | Windows, Macintosh, Xbox 360, PlayStation 3 | List | Proprietary | Used for real-time strategy games | ||
SCUMM | Yes | 2D | 3DO, Amiga, Apple II, Atari ST, CDTV, Commodore 64, FM Towns & Marty, Macintosh, Nintendo Entertainment System, DOS, Windows, Sega Mega-CD, TurboGrafx-16/PC Engine | Maniac Mansion | Proprietary | Full name is Script Creation Utility for Maniac Mansion, from the first game it was used with; uses iMUSE and INSANE; ScummVM provides an open source re-creation | ||
Shark 3D | C++ | Python | Yes | 3D | Windows, Xbox, Xbox 360 | Dreamfall: The Longest Journey | Proprietary | |
ShiVa | C++ | Lua | Yes | 3D | Windows, OS X, Linux, iOS, Android, Windows Phone, BlackBerry, PlayStation 3, PlayStation 4, Wii, Xbox 360, Xbox One, WebGL | Prince of Persia 2: The Shadow and the Flame (Mobile remake) | Proprietary | |
Sierra's Creative Interpreter (SCI) | Yes | 2D | Amiga, Atari ST, Macintosh, PC-9801, IBM PC | Version list with games | Proprietary | |||
Silent Storm engine | No | 3D | Windows | Silent Storm, Night Watch, Hammer & Sickle, Day Watch | Proprietary | Used for turn-based tactics games | ||
Sith | COG | No | 3D | Windows | Star Wars Jedi Knight: Dark Forces II | Proprietary | Used as the basis of the GrimE engine | |
Snowdrop | C++ | Yes | 3D | Windows, Switch, PlayStation 4, Xbox One | Tom Clancy's The Division, South Park: The Fractured but Whole, Mario + Rabbids Kingdom Battle, Skull & Bones | Proprietary | ||
Source | C++ | Squirrel, Lua | Yes | 3D | Windows, OS X, Linux, PlayStation 3, Xbox, Xbox 360, Android | Half-Life 2, Counter-Strike: Source, Left 4 Dead, Portal, Team Fortress 2, others (list) | Proprietary | The SDK is bundled with many Source games |
Source 2 | C++ | Lua | Yes | 3D | Windows, OS X, Linux, Android, iOS[15] | Dota 2 (port)[16], The Lab (limited), Artifact, Dota Underlords | Proprietary | The first game using Source 2, Dota 2, was ported over from the original Source engine. One of The Lab's minigame Robot Repair uses Source 2 engine while rest of seven uses Unity's engine. |
Spring | C++ | C, C++, Java/JVM, Lua, Python | Yes | 3D | Windows, Linux, OS X | Balanced Annihilation, Zero-K | GPL | RTS, simulated events, OpenGL |
Starling Framework | ActionScript | Yes | 2D | Windows, OS X, GNU/Linux, iOS, Android | Angry Birds Friends, Incredipede | BSD Simplified | Recreates the traditional Flash display list architecture on accelerated graphics hardware | |
Stencyl | Haxe | Haxe | Yes | 2D | Flash, HTML5, iOS, Android, Linux, OS X, Windows | Proprietary | Free to publish to flash and HTML5. Subscription required for publishing to desktop or mobile. | |
Autodesk Stingray (Bitsquid) | Lua | Yes | 3D | Windows, Mac, Linux, IOS, Android, PlayStation 4, PlayStation 3, Xbox 360 | Proprietary | |||
StepMania | C++ | Lua | Yes | 3D | Cross-platform | In the Groove, Pump It Up Pro, Pump It Up Infinity | MIT | A rhythm video game and engine that was originally developed as a simulator of Konami's DDR |
Stratagus | C | Lua | Yes | 2D | Linux | Bos Wars | GPL | For real-time strategy games |
SunBurn XNA | No | 3D | Xbox Live | AvaGlide | Proprietary | |||
Three.js | JavaScript | JavaScript | Yes | 3D, 2D | HTML5, Windows, Linux, OS X, iOS, Android | MIT | ||
TOSHI | Yes | 3D | Windows, Nintendo GameCube, Game Boy Advance, Nintendo DS, Wii, PlayStation 2, Xbox | Jurassic Park: Operation Genesis, Nicktoons Unite!, Barnyard, El Tigre: The Adventures of Manny Rivera, de Blob, Marvel Super Hero Squad | Proprietary | |||
Truevision3D | Visual Basic, C++ | No | 3D | Windows | Proprietary | |||
Torque3D | C++ | TorqueScript | Yes | 3D | Windows, Linux, OS X | Marble Blast Gold, ThinkTanks, Tribes 2, Villagers and Heroes, Blockland | MIT | Includes multiplayer network code, seamless indoor-outdoor rendering engines, skeletal animation, drag and drop GUI creation, built in world editor, C-like scripting language |
Turbulenz | TypeScript | JavaScript | Yes | 2D, 3D | HTML5, iOS, Android | Polycraft, Save the Day, Score Rush | MIT | |
UbiArt Framework | C++ | Yes | 2.5D | Cross-platform | Rayman Origins, Rayman Legends, Child of Light, Valiant Hearts: The Great War | Proprietary | ||
Unigine | C++ | C#, UnigineScript, GLSL, HLSL, UUSL | Yes | 3D | Windows, Linux, OS X, PlayStation 3, Android, iOS | List | Proprietary | Focused on large open scenes: 64-bit precision of coordinates, support for geo coordintaes, round Earth model. Mainly used in enterprise and professional simulators. |
Unity | C++ | C#, Cg, HLSL | Yes | 2D, 2.5D, 3D | Windows, OS X, LinuxXbox 360, Xbox One, Wii U, New 3DS, Nintendo Switch, PlayStation 4, PlayStation Vita, Windows Phone, iOS, Android, BlackBerry 10, Tizen, Unity Web Player, Windows Store, WebGL, Oculus Rift, Gear VR, Android TV, Samsung Smart TV | List of Unity games | Proprietary | |
Unreal Engine | C++ | GLSL, Cg, HLSL, UnrealScript, C++, Blueprints | Yes | 3D | Cross-platform | List of Unreal Engine games | Proprietary | UnrealScript was removed in version 4 |
V-Play Game Engine | C++ | QML, JavaScript | Yes | 2D | iOS, Android, Windows, OS X | List | Proprietary | Built on Qt |
Vengeance Engine | C++ | No | 3D | Windows | Tribes: Vengeance, SWAT 4 | Proprietary | Based on Unreal Engine version 2/2.5 | |
Vicious Engine | Lang | Script | Yes | 3D | Nintendo GameCube, Wii, WiiWare, Xbox, Xbox 360, Xbox Live Arcade, PlayStation 2, PlayStation Portable, PlayStation Network, Windows | List | Proprietary | |
Virtools | Yes | 3D | Ballance | Proprietary | Used for game prototyping and rapid development | |||
Vision | Lang | Script | Yes | 3D | Windows, Xbox 360, PlayStation 3, Wii, Wii U, iOS, Android, PlayStation Vita, IE6 and up, Firefox 2.0 and up, Google Chrome, Opera 9 and up | List | Proprietary | |
Visual3D Game Engine | C#/.NET | Yes | 3D | Windows, Xbox 360 | Proprietary | Commercial successor to open-source RealmForge engine | ||
Visual Pinball | C++ | VBScript | No | 3D | Windows | MAME-like pre-0.172, then BSD, GPL | ||
VRAGE | C# | Yes | 3D | Windows, Xbox One | Miner Wars 2081, Space Engineers,Medieval Engineers | Proprietary | Source code was released under a commercial license | |
Wintermute Engine | C++ | C-like syntax | No | 2.5D | Windows | Donationware, MIT, LGPL | Lite version lacks 3D Actor function | |
World Builder | No | 2D | System 3 | Freeware | ||||
WorldForge | C++ | Lua (client), Python (server) | Yes | 3D | GPL | MMORPG framework made of libraries, server, client, media | ||
Xenko | C# | C# | Yes | 2D/3D | Cross-platform | MIT | Supports C# 6.0 | |
XnGine | No | 3D | DOS | The Terminator: Future Shock, The Terminator: SkyNET, TES 2: Daggerfall, TES Legends: Battlespire, TES Adventures: Redguard | Proprietary | |||
Zest3D | ActionScript 3, C++ | Lua | Yes | 3D | Web, Windows, Linux, OS X, Android, iOS, BlackBerry | Boost | ||
Zillions of Games | Zillions Rules | No | 2D | Windows | Proprietary | |||
Name | Primary programming language | Scripting | Cross-platform | 2D/3D oriented | Target platform | Notable games | License | Notes and references |
See also[edit]
References[edit]
- ^'A-Painter: Paint in VR in Your Browser'. Mozilla VR Blog. September 19, 2016. Retrieved October 27, 2016.
- ^'Factorio engine modernisation'. Wube Software. Retrieved March 3, 2018.
- ^ ab'A Gentle Introduction to Frogatto Formula Language'. frogatto.com. Retrieved February 14, 2018.
- ^'Argentum Age'. argentumage.com. Retrieved February 14, 2018.
- ^'Cube Trains'. David Roberts. Retrieved February 14, 2018.
- ^'Blend4Web Official Site'. Blend4Web.com. Retrieved June 22, 2015.
- ^'blender.org - Installation Policy'. Web.archive.org. March 25, 2009. Archived from the original on March 25, 2009. Retrieved August 21, 2012.
- ^'Features'. blender.org. Retrieved August 21, 2012.
- ^Terathon Software LLC, C4 Engine
- ^'Feature List – Cafu 3D Game and Graphics Engine'. Cafu.de. April 18, 2012. Archived from the original on March 4, 2012. Retrieved August 21, 2012.
- ^Larabel, Michael. 'CoreBreach Game Goes Open-Source'. phoronix.
- ^'pkgsrc.se - The NetBSD package collection'. pkgsrc.se. Retrieved August 19, 2015.
- ^'LÖVE - Free 2D Game Engine'. Retrieved December 6, 2016.
- ^Akinlaja, Damilare. LÖVE2d for Lua Game Programming. ISBN978-1782161608.
- ^Bailey, Dustin (March 8, 2018). 'Artifact will use Source 2, bringing the engine to iOS and Android'. PCGamesN. Archived from the original on March 9, 2018. Retrieved March 8, 2018.
- ^Martin, Michael. 'Valve Announces Dota 2 Reborn'. IGN. Archived from the original on June 29, 2016. Retrieved July 10, 2016.
Learning Python!
*This tutorial is up to date with the latest version of Blender. If you come across any errors please leave a comment below.*
In this beginner’s BGE Python tutorial you’ll learn how to use Python scripting in Blender to make a car move, increase in speed, and stop. Keep in mind the boxcar is simply used as an example of working with Python, not car physics. This tutorial will teach you the basics of Python scripting for the Blender game engine, including accessing and changing logic brick information through scripting. Before getting started, if you’re new to Python and for more general information on Python including formatting, statements, functions, blah blah, check out Beginner’s Guide To Python. None of the guides here take long to go through, and you’ll learn everything you need to know to get started in a day. The rest is learning through experience and necessity through your own projects. But even if you don’t know a single thing about Python, this tutorial is easy to follow.
Setting Things Up
I have 3 windows set up in Blender, top left is the 3d View, top right is the Text Editor, and spanning the bottom is Game Logic. Your blender should look the same for this tutorial. Once you have these windows in view we can start creating our little game. You should already have a basic understanding of how logic bricks work before reading this tutorial on using python, but it’s simple enough to follow along either way. The logic bricks are in the Game Logic window, with sensors on the left, controllers in the middle, and actuators on the right. Sensors act as triggers so that when something happens such as a key being pressed or a property value changes, an action can be performed. Controllers give you a set of options that determine how sensors are interpreted or used. Actuators make things happen when certain parameters are met.
Creating a New Python Script
In the Text Editor, create a new text file by pressing the “New” button in the header, and rename it to “cubeMove”. Before we write anything we want to check out some of our visual options. There are 3 icons next to the script name field where you just renamed your script. The first is line numbers. Click on this to enable it. This simply shows you numbers next to every line so you know what line of the script you’re typing on. This is essential for debugging because when there’s an error in your script, the System Console will tell you what line number the error is on. The other two icons are for word wrap, and syntax highlighting(which highlights python key words and such, I would enable this). One last thing we need to enable is the System Console. In older versions of Blender this was visible by default, but it’s not anymore. This is where all the script data and script errors will print out. To enable this in Windows, go into the top Window menu and select “Toggle System Console” if you don’t already have that window visible. For instructions on opening the console on Linux and Mac, click here.
Now for some actual scripting. Copy and paste the code below into your new script file:
print () is a simple command that prints out whatever is in the parenthesis into the console, in this case it prints the word hello. For the script to actually run and do that, we’re going to have logic bricks run it. So select an object in your scene(the default cube will do just fine if you didn’t make a super awesome car like me) and in the Game Logic window add an always sensor and a python controller. Connect these two by clicking on the little circle next to the sensor and dragging it to the little circle next to the controller. In the script field of the python controller, type in or select your script cubeMove.
Now hover the mouse cursor over the 3D View and press P. This starts the game. Press Esc to end the game. Check the console and you’ll see the word hello. Your first successful script! **Make a note that if you were hovered over the script window and pressed P, you would’ve written P somewhere in the script and it would’ve caused an error. Whatever window the mouse is hovered over is the active window. This mistake will happen a lot so keep it in mind!**
Getting Serious Now
Now erase that print line. Paste the following line at the top of your script:
The first line just imports all the functions we’ll need for bge scripting, and this line should be included at the top of ALL of your game scripts(as of Blender 2.74). Start the game(press p while mouse is hovered over 3D View) then look at your console. Now dir() = directory if you haven’t made the connection. The console will print out all the functions in the bge module which contains all of the functions for realtime Blender, most noteably for this tutorial, logic, which contains the functions we can use to access our logic bricks and object properties. So let’s print out the directory of bge.logic and see what our options are there. Make your script look like below:
Start the game then look at your console. The console will return all the functions in the bge.logic module.
Game Engines Using Python Number
So, you should know that not only can you print out the dir of bge, but the dir of all of its functions as well such as bge.logic and all its functions too. Find the getCurrentController() function listed in the console. This accesses the logic brick controller that runs the script. Once we access the controller we can access all of the sensors and actuators connected to it, and even access information about the object that owns the controller. This is a pretty damn important function. Now change the print line of your script to print out the dir of bge.logic.getCurrentController() now, making sure it has its own set of parenthesis at the end and making sure you have the capitalization correct because python is case sensitive. So your script should look like this:
Start the game and take a look at the console. You’ll see a new set of functions, including actuators, sensors, and owner, all of which have their own directories which can be printed out too. All the information you need can be found using dir(). If you’re ever unaware of what your options are when working with objects or logic bricks in Python, you can simply print out their directory which tells you. Make note of the capitalization, and make sure all parenthesis are closed or you’ll get errors.
Scripting for Reals
So you know about the print command and printing directories. Let’s move on to some real game scripting. Erase the print line and add two lines so that your script looks like this:
Take a look at these three lines. They’ll pretty much be at the top of every one of your game scripts and are probably the three most essential lines of code for any blender game script.
I’ll start by explaining the second line, cont = bge.logic.getCurrentController(). I told you before what the getCurrentController() function was all about. Well here we just added a line that accesses the controller and assigns that information to the variable cont. The variable name can be anything you like, but it’s typically an abbreviation like cont, and we use it simply so we don’t have to write out bge.logic.getCurrentController() every time we need it. We just write cont instead. Make sure you put the set of parenthesis at the end. You’ll get an error if you don’t.
Now onto the third line, own = cont.owner. Here we access the OWNer of the CONTroller and assign that information to a variable. Now we have access to the object that owns the python controller that runs the script, in this case your default cube(or my awesome car). This gives us access to info about the object, most notably its game properties.
Adding More Logic Bricks
Delete the always sensor and add two keyboard sensors, one for the up key, and one for the down key. Rename these sensors to “up” and “down”. The name matters because we’ll be calling these sensors by name in the python script. For the “up” sensor, also enable the “Tap” option so that this sensor only registers once when you press the key, else it also registers a second time when the key is released. Tap ensures a sensor only fires one time. Connect both of these sensors to the python controller, so that the python script runs when either of those buttons are pressed. Now add a motion actuator too and connect it to the controller. Rename the actuator to “move”. We’re going to use this actuator to move our car when the up button is pressed.
Now we’re going to add four more lines underneath own = cont.owner so we can access our new sensors and actuators in the script, and we’re creating another variable for speed. So make your script look like this by adding the bottom four lines:
Take a look at move = cont.actuators[“move”]. This accesses the actuator named “move” from the list of actuators. If nothing was defined within the brackets(ex: cont.actuators[]) then all actuators connected to the python controller would be put into this list. But in this instance, we’re just calling the one named “move”.
Now look at the lines for pressup and pressdown. These access the sensors “up” and “down” so we can detect which keys are pressed and make the script do something different for each event.
Now check out the last line, speed = move.dLoc[1]. Here we dive into the move actuator. The move actuator is a motion actuator and has different fields we can access and change with python. In this instance we are accessing the dLoc field because that’s how we’re moving our vehicle. The dLoc field is actually a list of X,Y and Z values. We want to move the vehicle on the Y axis so that’s why I’m calling the second value of the dLoc list. If you’re wondering why I typed [1] to call the second value in the list, make a note that list items start from 0, so calling move.dLoc[1] is calling the second item in that list. If I wanted to get the first value, the X value, I would write it as move.dLoc[0]. So in short, with this line of code our variable speed will now equal whatever the Y value is at the time the script is run.
Making Stuff Happen
Now that we’ve declared all of our variables we’re going to add a couple statements to determine if up or down is pressed, and then have both keys trigger different things. In brief, this is what we want to happen. Whenever the player presses up, 0.05 is added to the Y value in the motion actuator, increasing the speed more with each key press. Whenever the player presses down, the Y value is reset to 0, making the car stop.
We’ll start by defining what happens when we press up. So add in the lines beneath the speed variable so that your script looks like this:
Game Engines Using Python File
This if statement is used to detect whether or not the up button has been pressed. Make sure to keep things formatted just like I’ve formatted it. Your if statement needs a colon at the end of it, and any action part of this statement needs to be tabbed in beneath it. Now if the player presses up, 0.05 is added to whatever the speed value currently is, and this speed value is plugged into the move actuator. dLoc is the field in the motion actuator we want to change. If you want to change other fields in the actuator, to figure out what options are available you can use print dir(move). So now we simply plug the speed variable in as the Y value in the list there and it will change the value in the actuator. To make this actuator active now, we use the line cont.activate(move). Now our car moves faster.
Now we’re going to define what happens when we press down. So add in the lines at the bottom so your script looks like this:
The statement elif is like saying “else if”. So if the player is pressing down instead of up, we set the speed value to 0, deactivate the move actuator which stops the car, and finally we reset the Y value in the dLoc field back to 0.
Play the game!
Your script is complete! Start the game! Now press up repeatedly to gain speed, and press the down key to stop.
We didn’t actually use the own variable in this tutorial. But as a quick example, if you created a property for your object called “health”, you would be able to read or change this value in Python by calling it like this: own[“health”].
How to debug your scripts
There may be errors in your script that prevent if from running properly. These errors appear in the system console. So if you go to play this game and nothing is working, check the system console to see what the error might be. It will even tell you the line number of the error encountered. With line numbers enabled in the Text Editor you’ll be able to find the location of the error.