triplefox / khaguide Goto Github PK
View Code? Open in Web Editor NEWTutorial for Kha Framework
Tutorial for Kha Framework
Hey... Thanks for the guide - super cool idea.... do you still use Kha?
I checked this out, and tried to git clone it recursively, and it didn't have a kha submodule, so it tried to use haxelib kha, which I have installed, and it fails with this:
~/gitrepos/khaguide/Empty
$ khamake Creating Kha project.
Exporting asset 1 of 24 (arial.ttf).
Exporting asset 2 of 24 (bomb1.wav).
Exporting asset 3 of 24 (bomb2.wav).
Exporting asset 4 of 24 (bomb3.wav).
Exporting asset 5 of 24 (bomb4.wav).
Exporting asset 6 of 24 (engine_blimp.wav).
Exporting asset 7 of 24 (engine_plane.wav).
Exporting asset 8 of 24 (explode1.wav).
Exporting asset 9 of 24 (explode10.wav).
Exporting asset 10 of 24 (explode11.wav).
Exporting asset 11 of 24 (explode12.wav).
Exporting asset 12 of 24 (explode2.wav).
Exporting asset 13 of 24 (explode3.wav).
Exporting asset 14 of 24 (explode4.wav).
Exporting asset 15 of 24 (explode5.wav).
Exporting asset 16 of 24 (explode6.wav).
Exporting asset 17 of 24 (explode7.wav).
Exporting asset 18 of 24 (explode8.wav).
Exporting asset 19 of 24 (explode9.wav).
Exporting asset 20 of 24 (hit.wav).
Exporting asset 21 of 24 (miss.wav).
Exporting asset 22 of 24 (music.wav).
Exporting asset 23 of 24 (spritedata.json).
Exporting asset 24 of 24 (sprites.png).
Assets done.
Haxe stderr: ../Sources/Main.hx:9: lines 9-13 : { width : Int, title : String, height : Int } should be String
../Sources/Main.hx:9: lines 9-13 : For function argument 'title'
../Sources/Empty.hx:220: characters 3-21 : Class<kha.System> has no field windowWidth
../Sources/Empty.hx:221: characters 3-22 : Class<kha.System> has no field windowHeight
I then tried to add the submodule, but that failed:
$ git submodule add https://github.com/KTXSoftware/Kha 'Empty/Kha' already exists in the index
How can I build this project using the latest Kha? Thanks!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.