Re: how to use and jit.anim.node in javascript

Hi Robert.

Thanks for your help.

I’m working my way toward getting that all working.

I’ve run into a problem where my shader/texture is glitching out when I actually attach all of by generated jit.anim.nodes to a parent jit.anim.node. (like in your example).

Please try unzipping the attached file and run the patcher.
It is basically a text editor (in progress).

When you type, you should see text in the window. You will notice that the last letter of the text will pop up whenever you type (glitchy). This only happens the first time each gridshape is drawn. If you backspace and retype, it won’t happen again until you get to the new characters.

Open up render_screen.js and comment out lines 85 and 94 and save.

Now you will see that things are working fine, but of course the jit.anim.nodes have been disabled (by breaking the script). Basically, what I want is to be able to use the jit.anim.nodes in the way you described if you patch and the way it is kind of working here, except without the glitch. I’ve tried a number of things, but I don’t know why I’m getting this glitch.

Can someone shed some light on this?

Jun 20, 2012 at 3:04am #167764