• A
    AlexFrost

    Hi. I wonder if the kha framework will have its own "native" classes and tools for working with node-view-tree and user-events like clicks/swipes.
    Or some out-of-the-box usual textfields renderers with all usual properties.
    I mean, its a fine framework and i really badly want to use it for making 2d games, but some points are stopping me.
    Like:

    • i need to write my own display-tree to operate the screen nodes (custom scene/world/screen etc.) (getting another haxe-framework like pixi or smthelse fully destroys the idea of using kha)
    • i need to fit the user-event system with the display system
    • i simply need to write my own textfield class to dynamically draw the text
    • because of the display-system is not defined the open question is what editor and format to use to build the simple ui (photoshop/json etc.)

    I mean the framework dont keep you in a certain codestyle and approach. "Here guys, you can render textures, play sounds etc. etc. and then do what ever you want, its a haxe." Im really concerned about all other infrastructure with working pipelines. Custom things are cool. But i wonder if kha is planning to be some kind of engine where i have to use established formats and approaches instead of each time building custom things and have a headache of fixing custom bugs.

    Maybe im getting wrong with all of that but i cant find any normal and convenient tools to use with kha.
    So, my main question is what of this list will be with the kha out-of-the-box.
    Thanx.

    posted in Kode read more
  • A
    AlexFrost

    Yeah, that works! Thanks!

    posted in Kode read more
  • A
    AlexFrost

    Can i use web url in a path?

    posted in Kode read more
  • A
    AlexFrost

    I need it for html5 in first.
    Better if there will be way to do cross-platform with mobile devices (ios, android, windows-phone).
    Where can i get example of doing such things with kha? All code i searched uses compiled assets.

    I need to asyncronuosly load json files, graphic files (raw or pre-finished, png is prefered), sound files(mp3/ogg).

    I explain. I search for the framework that i can use for making games on platforms i write before. First of all i do love making social casual games, so web target is prefered. So because of genre i need to do regular updates and compiling all the resources to client will be very very bad way. More than that some games i made with all the contens are much more that 500Mb, so async loading is required to show content to user when its need to be shown.

    It will be great if framework let me do cross-compile all the stuff. Its okay if i need to write some wrappers for loaders to each platform. I can use conditional compilation for different targets its okay.

    posted in Kode read more
  • A
    AlexFrost

    Oh! That's fantastic!
    Inabox build is perfect!
    Gonna write my first kha game before the year ends!
    Thanx a lot!
    Can you help me with loading assets?
    I mean not the local path but url.
    What is the best practice to do that with Kha?

    posted in Kode read more
  • A
    AlexFrost

    Okay. Thank you. How can i build my project to release from KodeStudio with "inabox" everything without typing any commands at cmd?

    posted in Kode read more
  • A
    AlexFrost

    I think it will be good if Kode Project will have those dependencies in a box.
    It was about 4 hours to make empty project just compile and debug.
    But now i hope i will taste all the power of your creation 🙂

    posted in Kode read more
  • A
    AlexFrost

    I have latest haxe installed. 3.3.0 rc1
    Solution for me that works:
    simply copy all the stuff from git Empty project /Kha to Motion-Tween/haxe/lib/kha
    So project runs with debugger and compile with node.

    posted in Kode read more
  • A
    AlexFrost

    Okay. I pulled Empty project from git and it is building for release perfectly.
    But with this thing i have another problem.
    I cannot run debugger at Kode Studio.

    Compiling code.
    Done.
    Error: Cannot find module 'web-frame'
    at Module._resolveFilename (module.js:455:15)
    ......

    There is no module web-frame at npm. So i actually cant understand what it want from me.

    posted in Kode read more
  • A
    AlexFrost

    Hello.
    i run cmd command
    node c:\Motion-Twin\haxe\lib\kha\16,1,2\make
    and get error:
    resolve(project);
    ^
    ReferenceError: resolve is not defined

    tried to "use strict" but no luck.
    node version is 7.1.0
    What am i doing wrong?

    posted in Kode read more

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