Forum: Moteur de jeu GameBlender et alternatives

Transcription

Forum: Moteur de jeu GameBlender et alternatives
The Blender Clan
Forum: Moteur de jeu GameBlender et alternatives
Topic: Mon apprentissage Python TunnelRunner "No Question"
Subject: Re: Mon apprentissage Python "New Question" bge.logic.globalDict
Posté par: Matpi
Contribution le : 6/12/2016 18:51:29
Tu as bien compris, c'est ma proposition. C'est pas forcément très intelligent, mais
dans l'état présent c'est la seule solution sans modifier Blender.
Par contre il existe des solutions non liées à Blender qui marchent bien, et plusieurs sont dispos
dans la bibliothèque standard:
pickle (https://docs.python.org/3/library/pickle.html)
marshal (utilisé par le globalDict en interne) (https://docs.python.org/3/library/marshal.html)
json (probablement le plus simple) (https://docs.python.org/3/library/json.html)
xml (https://docs.python.org/3/library/xml.html)
http://blenderclan.tuxfamily.org/html
22/2/2017 3:55:05 / Page