Jump to content


Photo

Calling Javascript Libraries


  • Please log in to reply
1 reply to this topic

#1 Orbitguy

Orbitguy

    UNS Lead Guy

  • GMC Member
  • 314 posts
  • Version:GM:Studio

Posted 22 September 2011 - 05:04 PM

So I'm not sure if this is in the Beta yet... but it's listed as a feature.
There isn't any documentation on how to go about doing this though.

I'm just really not sure where to begin with putting one in, just curious how it works....
  • 0

#2 rwkay

rwkay

    YoYo Games CTO

  • YoYo Games Staff
  • 1407 posts
  • Version:Unknown

Posted 22 September 2011 - 07:54 PM

Create an Extension.... Just right click on the Extension node of the Resource Tree this will create a new Extension node, right click that and then select Add a File, this will bring up a dialog to select a file (create a new file using notepad and save it as a .js) once you have the .js file then you can right click that node and select Create Function or Create Constant.

Basically we have added the Extension Create mechanism into the Maker itself and you can use that to interface with Javascript libraries.

We will be writing this up properly next week...

Russell
  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users