Save
Saving
  • D
    dhemitus

    so, i think I should stick with html5 build until I get a proper hardware for using html5-debug build. anyway, thank you Robert

    posted in Kode read more
  • D
    dhemitus

    you mean report from terminal and debug console? or results file from build

    this one is from terminal:

    Executing task: node /opt/Kha/make.js debug-html5 --debug <

    Using Kha (0fc78dfc) from /opt/Kha
    Creating Kha project.
    Exporting asset 1 of 2 (PixelMeComputer.png).
    Exporting asset 2 of 2 (poster_optq.jpg).
    Compiling shader 1 of 2 (simple.frag.glsl).
    Compiling shader 2 of 2 (simple.vert.glsl).
    Skipping shader 1 of 9 (clear.comp.glsl).
    Compiling shader 2 of 9 (painter-colored.frag.glsl).
    Compiling shader 3 of 9 (painter-colored.vert.glsl).
    Compiling shader 4 of 9 (painter-image.frag.glsl).
    Compiling shader 5 of 9 (painter-image.vert.glsl).
    Compiling shader 6 of 9 (painter-text.frag.glsl).
    Compiling shader 7 of 9 (painter-text.vert.glsl).
    Compiling shader 8 of 9 (painter-video.frag.glsl).
    Compiling shader 9 of 9 (painter-video.vert.glsl).
    Done.

    Terminal will be reused by tasks, press any key to close it.

    and this is report from debug console:
    kha/SystemImpl.hx:346: Could not initialize WebGL 2, falling back to WebGL.
    Log.hx:66
    kha/SystemImpl.hx:368: Could not initialize WebGL, falling back to <canvas>.
    Log.hx:66
    The Web Audio autoplay policy will be re-enabled in Chrome 70 (October 2018). Please check that your website is compatible with it. https://goo.gl/7K7WLu
    Audio.hx:22
    TypeError: Cannot read property 'createProgram' of null
    at kha_graphics4_PipelineState.compile (/opt/Kha/Backends/HTML5/kha/graphics4/PipelineState.hx:27:13)
    at new Project (/Users/dhemitus/Projects/kha/OtherKha/Sources/Project.hx:54:3)
    at /Users/dhemitus/Projects/kha/OtherKha/Sources/Main.hx:13:27
    at onLoaded (/opt/Kha/Sources/kha/Assets.hx:133:24)
    at kha_Assets.loadImage.fileName (/opt/Kha/Sources/kha/Assets.hx:113:53)
    at /opt/Kha/Sources/kha/Assets.hx:167:4
    at HTMLImageElement.img.onload (/opt/Kha/Backends/HTML5/kha/LoaderImpl.hx:31:42)

    posted in Kode read more
  • D
    dhemitus

    I use this command:
    node /opt/Kha/make.js debug-html5 --debug

    this command run automatically when I press button run on vscode

    posted in Kode read more
  • D
    dhemitus

    you right. it's works when I compile it in none debug mode. I got an error message because I always compile it in debug mode all along. thank you Robert

    posted in Kode read more
  • D
    dhemitus

    actually this is not real project. just learn draw a triangle and I put on this github

    https://github.com/dhemitus/FirstKha

    posted in Kode read more
  • D
    dhemitus

    hi Robert,

    I started learn kha from lobos lenco tutorial in kodegarden.org. I copy paste from there. why its work perfectly in kodegarden.org but come up error in my project like this:

    TypeError: Cannot read property 'createProgram' of null
    at kha_graphics4_PipelineState.compile (/opt/Kha/Backends/HTML5/kha/graphics4/PipelineState.hx:27:13)
    at new Empty (/Users/dhemitus/Projects/kha/OtherKha/Sources/Main.hx:159:3)
    at Main.init (/Users/dhemitus/Projects/kha/OtherKha/Sources/Main.hx:48:14)
    at /opt/Kha/Sources/kha/System.hx:99:4
    at Function.kha_SystemImpl.initSecondStep (/opt/Kha/Backends/HTML5/kha/SystemImpl.hx💯3)
    at /opt/Kha/Backends/HTML5/kha/SystemImpl.hx:78:4

    thank you

    posted in Kode read more
  • D
    dhemitus

    it's fixed now. everything works perfectly.

    thank you

    posted in Kode read more
  • D
    dhemitus

    hai,
    I got an error when I started to clone the repo:

    error: Server does not allow request for unadvertised object 4e3caeca43c77304ecf8a454865d3a2dbeebeb12

    Fetched in submodule path 'Tools/haxe', but it did not contain 4e3caeca43c77304ecf8a454865d3a2dbeebeb12. Direct fetching of that commit failed.

    what should I do then?

    thank you

    posted in Kode read more
  • D
    dhemitus

    after i update Kha came up error message like this when i compile my script:
    "Error: khafile.js did not call resolve, no project created."

    what happend?

    posted in Kode read more