# HG changeset patch # User prock@33b003aa-7bff-0310-803a-e67f0ece8222 # Date 1285102148 0 # Node ID 678fd71c075342da35219ddb7b742ff63ab8f0ec # Parent 3087215c9ca1d0b2bdf23d0f3e38c3a23692a173 Fixed the floating text renderer in the rpg demo. diff -r 3087215c9ca1 -r 678fd71c0753 demos/rpg/scripts/gamecontroller.py --- 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()