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

Recent Comments | Show All

Wow! This has become so popular! Great work Xiao!
Thanks Dan, It turns out that this wasn't the actual problem. I was getting a javascript error that made it seem like setColorAt was getting a null object. It turned out that I was hitting an object limit. Once I simplified some of my classes to maintain a spritesheet rather than a number of arrays of GreenfootImage, it eliminated the problem. This is the scenario I'm working on, if you're interested: https://www.greenfoot.org/scenarios/25314