Code: Select all
define s = Character("Saktora",color = "#ffffff",who_outlines = [(1,"#008000",0,0)])
layeredimage saktora:
always:
"saktora_base"
group hair:
attribute bob default:
"saktora_hair_bob"
group emotion:
attribute blush:
"saktora_emotion_blush"
group eyebrow:
attribute relax default:
"saktora_eyebrow_relax"
attribute angry:
"saktora_eyebrow_angry"
attribute sad:
"saktora_eyebrow_sad"
group eye:
attribute normal default:
"saktora_eye_normal"
attribute sarcasm:
"saktora_eye_sarcasm"
attribute surprise:
"saktora_eye_surprise"
attribute flirt:
"saktora_eye_flirt"
attribute cheeful:
"saktora_eye_cheerful"
attribute blink:
"saktora_blink"
group mouth:
attribute smile default:
"saktora_mouth_smile"
attribute frown:
"saktora_mouth_frown"
attribute happy:
"saktora_mouth_happy"
attribute shock:
"saktora_mouth_shock"
attribute tease:
"saktora_mouth_tease"
attribute speak:
"saktora_speak"
group outfit:
attribute amazon default:
"saktora_outfit_amazon"
attribute housewife:
"saktora_outfit_housewife"
attribute towel:
"saktora_outfit_towel"
image saktora_speak:
"saktora_mouth_speak"
.5
"saktora_mouth_speak2"
.5
"saktora_mouth_speak3"
.5
repeat
image saktora_blink:
"saktora_eye_blink"
.5
"saktora_eye_blink2"
.5
repeat
Code: Select all
show saktora
s "This is only a test to see if the sprite will appear"
Code: Select all
I'm sorry, but an uncaught exception occurred.
While running game code:
File "game/script.rpy", line 35, in script
s "This is only a test to see if the sprite will appear"
File "game/script.rpy", line 35, in script
s "This is only a test to see if the sprite will appear"
File "renpy/common/000window.rpy", line 98, in _window_auto_callback
_window_show()
File "renpy/common/000window.rpy", line 60, in _window_show
renpy.with_statement(trans)
RuntimeError: maximum recursion depth exceeded
I don't understand what I did wrong when writing the layer code or what might be the cause of the recursion error.