Still doesn't work for me. Says "this.drawing is null'.
Sorry, I'm new to cocos2d.
It may be the way I'm using it. I'm not drawing something on the 'onLoad' function, but rather drawing several lines based on the current X,Y of the player. Essentially, I have the player which gets a path and then I want to use a 'drawPaths' function to draw the line segments of the path he/she will take. (I already know the path..the x and y's of each step/part)
maybe a better way to ask is: "how do I draw segments based on the current node's x and y, dynamically"?