Viewing entries tagged with 'javascript'


Pro Tip : pass multiple values

Posted by DusX on 22 September 2015 | Comments

Tags: , , , , ,

javascript json stringify unstringify

Just a really quick one. We are going to look at how you can save hours patching in Isadora, by designing data structures for your User Actors.
When working in Isadora it is generally best to wrap all functional units into User Actors. This allows great design flexibility and consistency.
However, once you start to duplicate these elements and feed the data from them back and forth to the other functional elements (user actors), you can end up with a mesh of patch cords that fan out all over your screen.
Not only making it harder to view/read, but also taking a lot of time to link each and every output to X number of inputs.

comments | Read the full post



pro tip 2 : JS tips

Posted by DusX on 7 May 2015 | Comments

Tags: , , , ,

js closure izzyactors

What this blog post shows you is how to create a Initialization within a Javascript actor in Isadora. By re-defining the Main function within the Main function. I also include a nice little method of adding simple debugging within your JS code inside Isadora.

** Although this method offers a clean way of defining variables outside the main() function. It is often easiest to define variables in the outer most scope to treat them as Global. EG: "myGlobal = 6;" as the very first line of code (outside any functions) would set a global called myGlobal equal to 6.

comments | Read the full post


JS collision detection 2D

Posted by DusX on 29 August 2014 | Comments

Tags: , ,

js CollisionDetection

In a previous post, I embedded a video of a particle animation generated by a few generated wave forms, and a morphing rectangle. The particle would react everytime it came in contact with the rectangle. At the time of making the post I could not disclose how the collision detection was done, and it could have easily been done using the standard logic actors that have been available in Isadora for years, but it was not; it was created using the new Javascript actor.

comments | Read the full post