• J
    JGoodgive

    I have a library installed at:
    C:\HaxeToolkit\haxe\lib\zame-miscutils

    and figured that I had to add it in the khafile.js ??
    project.addLibrary('zame-miscutils');

    Which seem to add it in the korefile.js ?!

    	project.addSubProject(Solution.createProject('C:/HaxeToolkit/haxe/lib/zame-miscutils/git'));
    }
    

    and the files are installed in:
    C:\HaxeToolkit\haxe\lib\zame-miscutils\git\org\zamedev\lib

    and I write:

    import org.zamedev.lib.UrlLoaderExt;
    

    I get this error:
    Type not found : org.zamedev.lib.UrlLoaderExt

    EDIT: Is there a khafile.js manual ?

    posted in Kode read more
  • J
    JGoodgive

    @Robert Yeah.. I suck at looking at the next line.. For some reason I failed like 8 times.

    Its there. All fine. But I think I failed at the .get() or is that also there?
    Edit: Actually it is there, I had just tried using Surface directly as well as Instanciate it. But I guess using get() is a standard way that I as a newb had no clue about.

    posted in Kode read more
  • J
    JGoodgive

    I got an answer in the icq channel (thanks dave): HopefullyI remember it correctly.

    kha.input.Surface.get().notify(touchStartCallback, touchEndCallback, touchMoveCallback);
    

    So the API is a bit behind.

    posted in Kode read more
  • J
    JGoodgive

    Hi,

    The only doc I find on Kha is the APIs. And in the API the only reference to touch is the kha.input.Surface. But 3 int paramameters to describe all touch actions sounds wierd and there is only touch start and end, no move?!

    Obviously I am doing it wrong! 🙂 So how should I be doing it?

    Thanks,
    J

    posted in Kode read more
  • J
    JGoodgive

    Hello,
    I am absolutely new to Kha and trying to convert a small custom game engine to Kha.

    But I need some help with Kode studio.

    • The code execution are not breaking at the break points?
    • Do I need some specific target and how to I set that configuration in what file?
    • How can I change target or run build/debug against different targets?

    Many thanks,
    J

    posted in Kode read more

Looks like your connection to Kode Forum was lost, please wait while we try to reconnect.