comparison engine/python/fife/extensions/basicapplication.py @ 506:226e26d1d11e

Fixed the pychan demo. Changed the default color key in basicapplication to 255,0,255
author prock@33b003aa-7bff-0310-803a-e67f0ece8222
date Wed, 19 May 2010 14:34:35 +0000
parents ee65aa323457
children 00aa20dc8b7f
comparison
equal deleted inserted replaced
505:ee65aa323457 506:226e26d1d11e
112 engineSetting.setColorKeyEnabled(self._setting.get("FIFE", "ColorKeyEnabled", False)) 112 engineSetting.setColorKeyEnabled(self._setting.get("FIFE", "ColorKeyEnabled", False))
113 except: 113 except:
114 pass 114 pass
115 115
116 try: 116 try:
117 key = self._setting.get("FIFE", "ColorKey", "255,255,255").split(',') 117 key = self._setting.get("FIFE", "ColorKey", "255,0,255").split(',')
118 engineSetting.setColorKey(int(key[0]), int(key[1]), int(key[2])) 118 engineSetting.setColorKey(int(key[0]), int(key[1]), int(key[2]))
119 except: 119 except:
120 pass 120 pass
121 121
122 try: 122 try: