• S
    Skaruts

    @robert Oh I hadn't realized html5 and debug-html5 were separate targets. Sorry about that.

    I just created an issue like you said.

    Thanks. 🙂

    posted in Kode read more
  • S
    Skaruts

    @Robert Yea, but isn't HTML5 what we all use for quick testing?
    It's only useful for testing if we can implement things in it... My targets are desktop, but it's cumbersome to test for those by compiling everything, obviously.

    (I'm not worried about the flash backend, tbh. I just mentioned because I also peeked into its code. No big deal there, I think.)

    I don't know any javascript though... Or how to mix it in.

    posted in Kode read more
  • S
    Skaruts

    @robert Seems like I have everything up to date (followed the intructions from Lewis Lepton's recent video), but it seems like it's not implemented for HTML5 or flash yet, though.

    The definition of Window.resize() is empty, and changing the width and height directly seems to not do anything either...

    posted in Kode read more
  • S
    Skaruts

    @robert Well I installed a new version of Kode yesterday. Is kha itself a separate installation? It's been a little while so I'm probably missing something...

    EDIT: yea, I just noticed it in the Haxe Dependencies. It even says where I installed it. Will update it. Thanks.

    posted in Kode read more
  • S
    Skaruts

    @robert Hmm, strange that there seems to be no Window available to me. Kode doesn't autocomplete when I type "import kha.Window;" (it only shows me kha.WindowMode and kha.WindowOptions) and I get a "type not found kha.Window" error.

    posted in Kode read more
  • S
    Skaruts

    I found this issue talking about it, which seems to be fixed, but... how do I do it exactly?

    posted in Kode read more
  • S
    Skaruts

    @robert, couldn't make it work, but may be because the project doesn't have a command line at runtime. I'd have to change that. Maybe I'll try that tomorrow or something, I'm burned out for today.

    @mundusnine, the window opens fine, but just throws that error and crashes (it doesn't get to draw the black background in it, but I can see all the borders). Although my graphics card is getting too old for this. It's an ATI Radeon 4800. Drivers are up to date for sure, their last update was years ago...

    But if my graphics card could be a problem, shouldn't it be a problem for an HTML5 build too? As far as I can tell, in HTML5 it seems to works fine. I already tested displaying some pngs and drawing some shapes.

    posted in Kode read more
  • S
    Skaruts

    I'm not being able to click ok in the error when running it from inside VS. I don't know where's the main entry point of the whole program, but I could try inserting a system("pause") there, just so it halts it, so that I can attach the debugger to the process manually, set the breakpoint, then let it continue from there and see what happens. Not sure this trick would work with your code... I used it in the past while doing some simple SDL projects in C.

    Just thinking it might help in letting me click ok on that thing.

    I'm trying to do this because, when I run it manually (outside VS), after I click ok in error, it seems like it closes the app as normal rather than actually crashing. If I can click ok fast enough; if not it crashes.

    posted in Kode read more
  • S
    Skaruts

    I noticed it shows up in the "breakpoints" tab.

    Continuing to run it doesn't seem to make it hit that breakpoint. It seems to stay stuck at that exception error...

    EDIT: I'm trying to see if I can click ok in the error message, actually. That's probably why it's stuck there. But it seems to want to stay hidden after VS gets in front of it.

    posted in Kode read more
  • S
    Skaruts

    Hmm... I did that but when I press OK (in the New Data Breakpoint box) nothing seems to happen. Shouldn't there be an indicator somewhere, showing that there's a data breakpoint there?

    posted in Kode read more

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