[Bf-codereview] Interface for "Text" objects (bge) (issue 5504111)

mogurijin at gmail.com mogurijin at gmail.com
Tue Jan 3 10:30:34 CET 2012


One of the main reasons for adding a dictionary interface to
KX_GameObject (and thus it's children) was to keep "user" properties
separate than "api" properties. This way the two don't cause conflicts.
This patch introduces a possible conflict. The underlying issue is that
you want logic bricks to access a KX_FontObject property. Is this how we
want to solve the problem?

There is, however, a bit of a precedent for muddling with user
properties ("text" for bitmap fonts and some life/timebomb property for
addObject).

I'm not saying this patch is bad; this is just something to think about
before moving forward.

https://codereview.appspot.com/5504111/


More information about the Bf-codereview mailing list