Asset - Extension How you create a .jar and use in extensions?

RizbIT

Member
I have written a .java file which has one class.

I want to convert that class to a jar file (and if possible protect using ProGuard)

Then I want to use another .java file that will be used as the reference in GM which will have methods that GM calls. These methods will call methods in the jar lib.

Is this possible? ive seen revmob do it with their extension
 
H

Hypertd

Guest
I've been looking for some additional insight on more advanced extensions myself. I can easily setup a single java file with custom functions however there seems to be no examples of complexity beyond this. In my case I'm simply trying to add a third party lib for use in my extension.
 
S

Sandro

Guest
the .java file should be compiled in to a .class file using the Java SKD, then placed inside a .zip, renamed to .jar

As far as linking it to Gamemaker, I not sure if it's possible to do it directly, or if a C++/C# dlls, are needed to rap it. I've been looking in to this also.
 
Top