• T
    turnip

    Hey guys, I am looking at using UDP sockets in a game, is it possible in Kha? I see there is a UDPSocket class for Haxe, but no idea if its usable.

    posted in Kode read more
  • T
    turnip

    @jamiltron

    Just the whole thing, I just need more time to work at it and figure out Haxe.

    posted in Kode read more
  • T
    turnip

    @jamiltron

    Ah great thanks, I've found Array<Dynamic> and list<Dynamic> though I've yet to get either to work properly, I will try map when I get home.

    I think an ECS for Haxe would be great, without a proper framework all I've ended up with is spaghetti code.

    posted in Kode read more
  • T
    turnip

    @jamiltron

    Thanks for the guide. I'm still going through it and am now reading about Entity framework it linked. It is a bit difficult to wrap my head around it all, and Actionscript has things like dictionaries that dont exist in Haxe. Do you know of any Entity system examples that pertain directly to Haxe?

    posted in Kode read more
  • T
    turnip

    Found out how to properly clone using Git, which was my issue with getting the latest Kha.

    git clone --recursive URL

    Seems to have fixed a lot of things. Thanks for the help.

    I'm going through the tutorial and I have to say Kha really is easy, seems much saner and more complete than openFL.

    posted in Kode read more
  • T
    turnip

    I believe my Kha was up to date on it, as I just followed the guide for creating an Empty project.

    git clone --recursive https://github.com/KTXSoftware/Empty.git

    The CXXABI errors went away after I updated with 'ppa:ubuntu-toolchain-r/test'.

    posted in Kode read more
  • T
    turnip

    Well I installed a clean Ubuntu on my desktop and am now getting this error, very similar to Linux Mint. I'm thinking I need to install some C++ library to fix it. When I try to install libstdc++ I jsut get a bunch of errors.

    edit) Well I fixed the error below too that I had on my new install, and it fixed my Linux Mint compile as well:
    ** sudo add-apt-repository ppa:ubuntu-toolchain-r/test
    sudo apt-get update && sudo apt-get dist-upgrade**
    I guess you need cutting edge development packages that LTS releases dont have. This new install is saying I need alsa and libgl1-mesa-dev as well.

    /home/meowman/Desktop/kha Stuff/Empty/Kha/Kore/Tools/krafix/krafix-linux64: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version CXXABI_1.3.8' not found (required by /home/meowman/Desktop/kha Stuff/Empty/Kha/Kore/Tools/krafix/krafix-linux64) /home/meowman/Desktop/kha Stuff/Empty/Kha/Kore/Tools/krafix/krafix-linux64: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: versionGLIBCXX_3.4.20' not found (required by /home/meowman/Desktop/kha Stuff/Empty/Kha/Kore/Tools/krafix/krafix-linux64)

    /home/meowman/Desktop/kha Stuff/Empty/Kha/Kore/Tools/krafix/krafix-linux64: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version CXXABI_1.3.8' not found (required by /home/meowman/Desktop/kha Stuff/Empty/Kha/Kore/Tools/krafix/krafix-linux64) /home/meowman/Desktop/kha Stuff/Empty/Kha/Kore/Tools/krafix/krafix-linux64: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: versionGLIBCXX_3.4.20' not found (required by /home/meowman/Desktop/kha Stuff/Empty/Kha/Kore/Tools/krafix/krafix-linux64)

    /home/meowman/Desktop/kha Stuff/Empty/Kha/Kore/Tools/krafix/krafix-linux64: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version CXXABI_1.3.8' not found (required by /home/meowman/Desktop/kha Stuff/Empty/Kha/Kore/Tools/krafix/krafix-linux64) /home/meowman/Desktop/kha Stuff/Empty/Kha/Kore/Tools/krafix/krafix-linux64: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: versionGLIBCXX_3.4.20' not found (required by /home/meowman/Desktop/kha Stuff/Empty/Kha/Kore/Tools/krafix/krafix-linux64)

    /home/meowman/Desktop/kha Stuff/Empty/Kha/Kore/Tools/krafix/krafix-linux64: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version CXXABI_1.3.8' not found (required by /home/meowman/Desktop/kha Stuff/Empty/Kha/Kore/Tools/krafix/krafix-linux64) /home/meowman/Desktop/kha Stuff/Empty/Kha/Kore/Tools/krafix/krafix-linux64: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: versionGLIBCXX_3.4.20' not found (required by /home/meowman/Desktop/kha Stuff/Empty/Kha/Kore/Tools/krafix/krafix-linux64)

    /home/meowman/Desktop/kha Stuff/Empty/Kha/Kore/Tools/krafix/krafix-linux64: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version CXXABI_1.3.8' not found (required by /home/meowman/Desktop/kha Stuff/Empty/Kha/Kore/Tools/krafix/krafix-linux64) /home/meowman/Desktop/kha Stuff/Empty/Kha/Kore/Tools/krafix/krafix-linux64: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: versionGLIBCXX_3.4.20' not found (required by /home/meowman/Desktop/kha Stuff/Empty/Kha/Kore/Tools/krafix/krafix-linux64)

    /home/meowman/Desktop/kha Stuff/Empty/Kha/Kore/Tools/krafix/krafix-linux64: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version CXXABI_1.3.8' not found (required by /home/meowman/Desktop/kha Stuff/Empty/Kha/Kore/Tools/krafix/krafix-linux64) /home/meowman/Desktop/kha Stuff/Empty/Kha/Kore/Tools/krafix/krafix-linux64: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: versionGLIBCXX_3.4.20' not found (required by /home/meowman/Desktop/kha Stuff/Empty/Kha/Kore/Tools/krafix/krafix-linux64)

    /home/meowman/Desktop/kha Stuff/Empty/Kha/Kore/Tools/krafix/krafix-linux64: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version CXXABI_1.3.8' not found (required by /home/meowman/Desktop/kha Stuff/Empty/Kha/Kore/Tools/krafix/krafix-linux64) /home/meowman/Desktop/kha Stuff/Empty/Kha/Kore/Tools/krafix/krafix-linux64: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: versionGLIBCXX_3.4.20' not found (required by /home/meowman/Desktop/kha Stuff/Empty/Kha/Kore/Tools/krafix/krafix-linux64)

    /home/meowman/Desktop/kha Stuff/Empty/Kha/Kore/Tools/krafix/krafix-linux64: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version CXXABI_1.3.8' not found (required by /home/meowman/Desktop/kha Stuff/Empty/Kha/Kore/Tools/krafix/krafix-linux64) /home/meowman/Desktop/kha Stuff/Empty/Kha/Kore/Tools/krafix/krafix-linux64: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: versionGLIBCXX_3.4.20' not found (required by /home/meowman/Desktop/kha Stuff/Empty/Kha/Kore/Tools/krafix/krafix-linux64)

    Assets done.
    Haxe stderr: /home/meowman/Desktop/kha Stuff/Empty/Kha/Tools/haxe/std/neko/_std/sys/io/File.hx:30: characters 20-51 : linux-resources/painter-colored.frag.essl: No such file or directory
    /home/meowman/Desktop/kha Stuff/Empty/Kha/Tools/haxe/std/neko/_std/sys/io/File.hx:34: characters 33-49 : Called from
    /home/meowman/Desktop/kha Stuff/Empty/Kha/Sources/kha/internal/ShadersBuilder.hx:31: characters 36-96 : Called from
    /home/meowman/Desktop/kha Stuff/Empty/Kha/Sources/kha/Shaders.hx:33: characters 2-7 : Called from
    Aborted

    Haxe process exited with code 1
    korefile found.
    Creating Linux project files.
    Done.

    posted in Kode read more
  • T
    turnip

    The Empty.git on a new Kha install on Ubuntu 14.04 LTS fails to run natively, giving me fatal errors for Alsa/asoundlib.h saying it doesnt exist. Though seems like it does work for html5, which I believe I may have had a web-server running on Linux Mint that could have caused my issues; though I dont think I have anything running on 8080.

    Looking at the error I think Linux mint may have an older or broken C++ compiler or something, so native builds dont work. In Ubuntu I guess it doesnt have Alsa libraries that it needs to run, though compiling works.

    After installing Alsa using 'apt-get install libasound2-dev' it now says I dont have glx.h. Seems like glx.h is some kind of video library for openGL, I'm testing this from an Intel 3320M laptop with the open Intel drivers, so perhaps its due to that.

    Okay now I installed libgl1-mesa-dev, and it seems to compile okay. I guess I just needed to work through it. Seems like it works even after I uninstall those libraries too which is good. Thanks for the help.

    posted in Kode read more
  • T
    turnip

    Cant get that Kha Shmup to compile, and its way over my head. Thanks for the help anyway.

    posted in Kode read more

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