Coder Social home page Coder Social logo

khaguide's People

Contributors

triplefox avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

khaguide's Issues

How to build for latest kha?

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!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.