comparison demos/rpg/scripts/rpg.py @ 656:99e3ef63495b

* The RPG and Shooter demos now clear the screen when in OpenGL mode * Small update to the soundmanager to stop the stack overflow problem.
author prock@33b003aa-7bff-0310-803a-e67f0ece8222
date Fri, 22 Oct 2010 16:01:57 +0000
parents 90d369c788c0
children 46258f467c8c
comparison
equal deleted inserted replaced
655:cdebc30c9c4a 656:99e3ef63495b
146 """ 146 """
147 def __init__(self, TDS): 147 def __init__(self, TDS):
148 super(RPGApplication,self).__init__(TDS) 148 super(RPGApplication,self).__init__(TDS)
149 self._settings = TDS 149 self._settings = TDS
150 150
151 self.engine.getRenderBackend().setClearBackBuffer(True)
152
151 self._gamecontroller = GameController(self, self.engine, self._settings) 153 self._gamecontroller = GameController(self, self.engine, self._settings)
152 154
153 def createListener(self): 155 def createListener(self):
154 """ 156 """
155 @note: This function had to be overloaded otherwise the default 157 @note: This function had to be overloaded otherwise the default