[Bf-committers] Removing prefixes from BGE Python objects

Mitchell Stokes mogurijin at gmail.com
Sun Oct 3 19:16:47 CEST 2010


Hello,

I propose that we remove the prefixes such as KX_, SCA_, BL_, etc from the
names of the Python objects for the BGE.

The benefits include:
  * The names would be nicer looking
  * The names would be similar to the bpy api

The downside: breaking scripts

With Python's duck typing, not very many scripts will actually break from
the change though. I think mostly ones that explicitly use bge.types for
some reason. Thoughts?

Cheers,
Mitchell Stokes (Moguri)


More information about the Bf-committers mailing list