Computer Science Canada Chopy Lines |
Author: | Lucas [ Tue Apr 12, 2011 9:19 pm ] | ||
Post subject: | Chopy Lines | ||
What is it you are trying to achieve? When i say to draw the line, Im just drawing from one point to the next point, then so on, but the values of the points seem to change, or at least thats what i think, since noone of the points actually touch, and its all choppy. so im just wondering why this is happening and is there a way to make it smooth?
Please specify what version of Turing you are using 4.1.1 |
Author: | Zren [ Tue Apr 12, 2011 11:12 pm ] |
Post subject: | RE:Chopy Lines |
Perhaps because you're calculating movement and rendering at the same time. You're rendering a line to the next point before it's moved for that frame. Get in the habit of breaking up logic and drawing processes. loop resetSelectedPoints movePoints renderLines end loop |
Author: | Lucas [ Wed Apr 13, 2011 5:16 pm ] |
Post subject: | RE:Chopy Lines |
aaahhhh okay thx ![]() |