Syntax error
-
I have a syntax error on line 7 Column 5 , but I can’t seem to find it. I put both add) and, as the error says, but that still hasn’t fixed the issue. What am I missing?
-
I think you missed a right parentheses the line before (line 6). Maybe you should ckeck setSpriteImage() parameters in the help menu.
-
It’s very hard to see in your screenshot. The Switch has a very handy screenshot function built in; maybe consider using that instead..?
-
I'm not sure what the variables say exactly, because of the blur, but I seem to be reading something like this:
setSpriteImage (young, sally,(spritesheet)
The first thing to notice about this line is that there is one more
(
character versus a)
. So that looks like a mistake in this case.The second thing I'm not sure about. I'm not coding as actively in Fuze anymore at the moment, but according to the documentation on the site, setSpriteImage expects two arguments, not three. So maybe the intended code should look like something like this in stead?
setSpriteImage (young, sally[spritesheet] )
But I might be off the mark, since it's hard to read the code exactly :)
-
Actually it could be that
young
is a struct in this code, in which caseSally
(or whatever the property name) is the sprite. In which case the intended code might possibly be:setSpriteImage(young.Sally, spritesheet) // in stead of: //setSpriteImage(young. Sally,(spritesheet)