[Bf-gamedev] Python logic module refactoring

tristan panzer republicthunderbolt9 at gmail.com
Sun Mar 1 17:59:35 CET 2015


Hello, I'm start in the game blender development. I propose to move all
functions contain in bge.logic module in a new python proxy for KX_
KestjiEngine (like in C++ sources) to replace those functions by attributes
(when it's possible) ex : bge.logic.getSceneList() to bge.logic.engine.scenes.
The only role of bge.logic will be to contain the constants, the python
dictionary and the proxy of the engine. I know this breaks all existing
codes, but can be useful to do that or I'm on the bad way ?

Sorry for my bad English.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.blender.org/pipermail/bf-gamedev/attachments/20150301/aa49aaa9/attachment.htm 


More information about the Bf-gamedev mailing list