Mercurial > fife-parpg
changeset 611:678fd71c0753
Fixed the floating text renderer in the rpg demo.
author | prock@33b003aa-7bff-0310-803a-e67f0ece8222 |
---|---|
date | Tue, 21 Sep 2010 20:49:08 +0000 |
parents | 3087215c9ca1 |
children | 867aad1c01cd |
files | demos/rpg/scripts/gamecontroller.py |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/demos/rpg/scripts/gamecontroller.py Tue Sep 21 19:00:51 2010 +0000 +++ b/demos/rpg/scripts/gamecontroller.py Tue Sep 21 20:49:08 2010 +0000 @@ -340,6 +340,9 @@ self._instancerenderer = fife.InstanceRenderer.getInstance(self._scene.cameras[self._settings.get("RPG", "DefaultCameraName", "camera1")]) self._floatingtextrenderer = fife.FloatingTextRenderer.getInstance(self._scene.cameras[self._settings.get("RPG", "DefaultCameraName", "camera1")]) self._floatingtextrenderer.addActiveLayer(self._scene.actorlayer) + self._floatingtextrenderer.setBackground(255, 100, 100, 165) + self._floatingtextrenderer.setBorder(255, 50, 50) + self._floatingtextrenderer.setEnabled(True) if self._listener: self._listener.attach()