• M
    mwallace

    @Robert I seem to have similar issues running the share plugin just to see if I can get something working. Xcode says it can't fine the ShareKore.h file. I tried putting the share library in the Libraries directory rather than using it as a haxelib as well.

    https://github.com/matthewswallace/HelloKha

    posted in Kode read more
  • M
    mwallace

    @Robert Ok I see that.

    It would also help if there was an example of using this https://github.com/luboslenco/gamecenter_kha in a project. I'm modeling what I'm doing after that example.

    Also I'm guessing this doesn't work as a haxelib? as the gamecenter project says to clone the repo into your Libraries directory.

    posted in Kode read more
  • M
    mwallace

    I'm try to create a haxelib for using AWS Mobile Hub in my Kha projects. I've started trying to create a basic native extension and just want to send a hello world type message to the console.

    I think I'm close to getting it working but not sure what I'm doing wrong. I'm getting the following error after trying to build in Xcode.

    "No member named 'helloFromMobileHub in 'hx::ObjectPtraws::mobile::AWSMobileHub_obj'; did you mean simply 'helloFromMobileHub'?"

    here is a link to my repo for the haxelib I'm working on.
    https://github.com/matthewswallace/AWSMobileHubHx

    here is a link to example code that I'm trying to get working with my haxelib
    https://github.com/matthewswallace/HelloKha

    posted in Kode read more
  • M
    mwallace

    Where is the best place to look for khafile.js documentation ? https://github.com/KTXSoftware/Kha/wiki/khafile.js ?

    posted in Kode read more
  • M
    mwallace

    I'd like to create a desktop application that doesn't have any window chrome. Is that possible? If so where do I look for setting these options? I looked at windowOptions but I wasn't able to find anything.

    To add to this, what I would like to be able to do is draw a box on the screen and have it always display on top of everything. I want to see if I can make a border that is say 1334x768 to show where on the screen I will be doing some video recording. It would be nice to remove the OS chrome for this reason.

    posted in Kode read more
  • M
    mwallace

    I would like to test quickly with kha on my desktop before running my application on Android and iOS

    If I set my width to 1334 x 768 the window is actually almost to large for my desktop. however if I set it to half that size it fits quite nicely. My question is, how do we develop for different screen resolutions within Kha ?

    I'd like to set my screen for when electron launches to say half the size but I'd like the UI to scale down so that it looks the same as if it would on a 1334 x 768 screen.

    posted in Kode read more
  • M
    mwallace

    Are there examples and documentation on how to create a hello world app for ios and android ?

    posted in Kode read more

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