Skip to content
kha examples - for new users
Branch: master
Clone or download
lewislepton updated button
thanks for spotting that Luigi
Latest commit 13cc3de Jul 2, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
2DANIMATION
BACKBUFFER updated khafile.js to most recent things - should work with latest kha Sep 10, 2016
BUTTONS updated button Jul 2, 2018
DRAWINGSHAPES updated khafile.js to most recent things - should work with latest kha Sep 10, 2016
DRAWWITHGRAPHICS updated khafile.js to most recent things - should work with latest kha Sep 10, 2016
EASYASYNC updated khafile.js to most recent things - should work with latest kha Sep 10, 2016
FONTnTEXT updated khafile.js to most recent things - should work with latest kha Sep 10, 2016
GAMEPAD updated khafile.js to most recent things - should work with latest kha Sep 10, 2016
INCREMENT updated khafile.js to most recent things - should work with latest kha Sep 10, 2016
KEYBOARD updated khafile.js to most recent things - should work with latest kha Sep 10, 2016
LOADINGIMAGE updated khafile.js to most recent things - should work with latest kha Sep 10, 2016
MOUSE
MOUSECLICKPOSITION
NAPE updated khafile.js to most recent things - should work with latest kha Sep 10, 2016
NAPEIMPULSE updated khafile.js to most recent things - should work with latest kha Sep 10, 2016
PIVOTPOINTROTATION updated khafile.js to most recent things - should work with latest kha Sep 10, 2016
REMOVECREATEENTITY updated khafile.js to most recent things - should work with latest kha Sep 10, 2016
ROTATIONnTRANSLATE updated khafile.js to most recent things - should work with latest kha Sep 10, 2016
SINCOS updated khafile.js to most recent things - should work with latest kha Sep 10, 2016
SOUND
TWEEN updated khafile.js to most recent things - should work with latest kha Sep 10, 2016
README.md Fixed some problems in README Nov 2, 2017
ks.png

README.md

kha examples

this example page will not be updated. due to myself now doing the kha-tutorial-series, which is my video tutorial series. which will go through these files. but then go way over them. you can go HERE for the video playlist.

these are some kha examples, to help get new users [plus other users] to get to grips with the super awesome kha

its highly recommended to run these projects in the super, uber, duper sexy kode studio

kodestudio

follow this super useful post on getting up & running with it - kode studio forum post

also, if you want the super duper awesome theme from the screenshot, grab 'lestle-vscode' from my lestle theme collection & put it in your extension folder.


LIBRARIES

we will use libraries to harness & do more cool things in kha. why not, were coders ;) to use libraries inside kha/kode studio. go to your khafile.js and put in project.addLibrary('libraryName');

kha2d
haxelib git kha2d https://github.com/KTXSoftware/Kha2D.git

tweenx
haxelib git tweenx https://github.com/shohei909/tweenx.git

nape
haxelib install nape


have phün & happy coding

lewis lepton

You can’t perform that action at this time.