This site requires JavaScript, please enable it in your browser!
Greenfoot back
darkmist255
darkmist255 wrote ...

2011/12/4

Change the actor image?

darkmist255 darkmist255

2011/12/4

#
I looked at this but when I try to do setImage(CharacterLeft.png); It says "no variable CharacterLeft". Well, similar to that, I forget what it said and will check again later. Does it want me to reference the image file first? Probably just a simple thing I'm missing.
Busch2207 Busch2207

2011/12/4

#
You have to write: setImage("CharacterLeft.png");
darkmist255 darkmist255

2011/12/4

#
Oooohhhhhh... Yeah because it's a string, so the "". Hehe, thanks :D!
You need to login to post a reply.