0
Python
Comment on fait le graphisme d'un jeu ?
2 Antworten
+ 2
Crépin Boiki
There are several libraries to create a game in python:
•Pygame, Arcade -> For simple 2d games
•Pyglet -> for 2d/3d game with OpenGL support
•Ursina, Panda3d, moderngl -> for 3d games
`Translated-
Il existe plusieurs bibliothèques pour créer un jeu en Python :
•Pygame, Arcade -> Pour les jeux 2D simples
•Pyglet -> Pour les jeux 2D/3D compatibles OpenGL
•Ursina, Panda3d, ModernGL -> Pour les jeux 3D
`
https://www.sololearn.com/discuss/1667039/?ref=app
https://www.sololearn.com/discuss/2598301/?ref=app
https://www.sololearn.com/discuss/1790934/?ref=app
https://www.sololearn.com/discuss/1298781/?ref=app
+ 1
Python and Game dev.
Frameworks and libraries:
- Ren'Py(2D)
- Panda3D
- Arcade
- Cocos2D
- Harfang3D
- PyOgre
PyGame:
Is a wrapper module for the SDL media library. Simple DirectMedia Layer is a cross-platform development library that provides low-level access to:
* audio;
* keyboard;
* mice;
* joystick;
* graphics hardware via OpenGL and Direct3D.
PyGame is portable and runs on almost all platforms and operating systems. Although PyGame is primarily a game engine, it will do just fine for playing mp3 files from Python scripts.
Docs:
https://devdocs.io/pygame/
https://realpython.com/pygame-a-primer/
Where Python is used in game development:
- in-game modding,
- server controls,
- internal game logic,
- writing scripts to ensure the modularity of the game.
Python is mainly used for writing scripts — such as character interactions, launching scenes, and event handling.