• O
    OlegAntipov

    @robert Hmm ... I tried to attach this wav to an empty project, and everything seems to work as it should on the android. Maybe the problem was not in this file... I'll try to investigate more and try to localize the problem in a empty project and then raise an issue on github.

    posted in Kode read more
  • O
    OlegAntipov

    @robert thanks for the tip, Robert! It works.

    btw, it is probably worthwhile to output a warning to the logs if the wav format does not match the required one (sample rate: 44100Hz 16 bit). Accidentally I had one wav that was not of this format, and I was getting just a black screen on the android (html5 target works fine even in this case).

    posted in Kode read more
  • O
    OlegAntipov

    I would like to clarify a couple of questions about sound formats:

    1. Is it possible to use the ogg format of sounds directly, not wav? Because if I add ogg sounds to assets folder they are added into Assets.blobs, not in Assets.sounds.

    2. When I export to HTML5, all the wav sounds are converted to ogg, but when I use the android native target non-converted wav sounds are added to apk file, which causes the file size is increased dramatically. Is it possible to use ogg in android native target?

    posted in Kode read more
  • O
    OlegAntipov

    @robert oh, I did not have these lines in khamake.js, only "require ('./ out / khamake.js');" although I updated the repository yesterday... I completely deleted the repository, and cloned again, and these lines appeared 😕

    It seems that I updated only kha yesterday with command "git pull origin master", not its submodules (

    To update everything, I need to use the command "git submodule foreach --recursive git pull origin master" not "git pull origin master", right?

    After I updated everything, that message was not displayed during the build. Thank you very much for the help! 🙂

    posted in Kode read more
  • O
    OlegAntipov

    If I try to use latest github version of kha (set kha.khaPath in latest Kode Studio 17.9.1) I get this message in output window:
    Requires Node.js version 8.9 or higher.

    Help->About told that Kode Studio 17.9.1 use node 7.4.0

    But I already installed node v9.11.1 in my OS! As I undestood I need to update node.dll (it have 7.4.0 version) in Kode Studio files. How can I do this?

    posted in Kode read more
  • O
    OlegAntipov

    oh, sorry, I found a way to display the desired letters. If someone has the same problem this is the solution:

    	var glyphs:String="<all necessary glyphs>";
    	_backbuffer.g2.fontGlyphs=StringExtensions.toCharArray(glyphs);

    posted in Kode read more
  • O
    OlegAntipov

    I use font with multi language support, but I can draw via drawString method only english characters. This method can output only English text or am I doing something wrong?

    posted in Kode read more

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