Getting the “not a function” error. Seems to happen often and I just cant figure out the problem here. Can anyone shed some light?
You are trying to reference a sprite like a function in lines 35 and 37
if (10 < score) {
simpleBackground();
} else {
crazyBackground();
}
Those should not have a set of () after them.
What are you trying to accomplish when the score is greater than 10 or less than 10?
1 Like
I understand what you are saying. I will fix it.
Thank you for your help!
1 Like