Hey, I use use Ren'Py 7.4.1.1213 as 7.4.0 was throwing errors for me. One error started to appear from time to time when executing screen code:
Code: Select all
I'm sorry, but an uncaught exception occurred.
While processing the color property of anonymous style:
File "game/script.rpy", line 1723, in <module>
File "game/zz_enemies.rpy", line 628, in action
File "game/zz_enemies.rpy", line 95, in atk
Exception: Color string u'#228B22' must be 3, 4, 6, or 8 hex digits long.
Code: Select all
screen hp_indicator():
zorder 100
modal False
for x in ind_list_e:
if x >= 0:
text "-" + str(x) size 30 yoffset -25 color "#F93822" at A_ind_enemy
else:
text "+" + str(x * - 1) size 30 yoffset -25 color "#228B22" at A_ind_enemy
for x in ind_list_p:
if x > 0:
text "-" + str(x) size 30 yoffset -25 color "#F93822" at A_ind_player
elif x < 0:
text "+" + str(x * -1) size 30 yoffset -25 color "#228B22" at A_ind_player
_