Characters not matched with sprites
Posted: Mon Jan 13, 2020 10:03 pm
When I load up my project, none of the sprites for any characters are displayed, only the default shadow, the sprites name, and attribute are shown. Eventually even this stops, and the following error comes up:
This is my code for the character in question:
I'm very new to all of this, so its probably something really simple, but I can't get my head around it.
Code: Select all
I'm sorry, but an uncaught exception occurred.
While running game code:
File "game/script.rpy", line 50, in script
a happy "Well, let's put them away together okay?"
Exception: Say has image attributes (u'happy',), but there's no image tag associated with the speaking character.
-- Full Traceback ------------------------------------------------------------
Full traceback:
File "game/script.rpy", line 50, in script
a happy "Well, let's put them away together okay?"
File "C:\Users\Briar\Documents\Programs\renpy-7.3.2-sdk\renpy\ast.py", line 706, in execute
renpy.exports.say(who, what, *args, **kwargs)
File "C:\Users\Briar\Documents\Programs\renpy-7.3.2-sdk\renpy\exports.py", line 1336, in say
who(what, *args, **kwargs)
File "C:\Users\Briar\Documents\Programs\renpy-7.3.2-sdk\renpy\character.py", line 1075, in __call__
old_attr_state = self.handle_say_attributes(False, interact)
File "C:\Users\Briar\Documents\Programs\renpy-7.3.2-sdk\renpy\character.py", line 942, in handle_say_attributes
if self.resolve_say_attributes(predicting, attrs):
File "C:\Users\Briar\Documents\Programs\renpy-7.3.2-sdk\renpy\character.py", line 868, in resolve_say_attributes
raise Exception("Say has image attributes %r, but there's no image tag associated with the speaking character." % (attrs,))
Exception: Say has image attributes (u'happy',), but there's no image tag associated with the speaking character.
Windows-8-6.2.9200
Ren'Py 7.3.2.320
HelixFelix 1.0
Mon Jan 13 17:59:07 2020
This is my code for the character in question:
Code: Select all
a = Character(_("Addison"), color="#ffe4b8")
Code: Select all
image side addison happy = "images/sprites/addison happy.png"