Questions tagged [kha]

Questions about Kha, a multimedia framework.

Kha, an open source multimedia framework. https://kha.tech/

9 questions
5
votes
1 answer

How to display the real frame rate in kha?

I started experimenting with kha on haxe, and compiled a sample project for my aged iPad2. Now I wonder how to display the actual framerate on screen. As a starting point I found this…
RedRoosterMobile
  • 786
  • 10
  • 21
2
votes
2 answers

No real 'fullscreen' option on kha native targets?

Question: Is there any way to set a native (cpp) target to a 'real' fullscreen without faking it using the screen width and height? Last answers about that subject are kind of old now. Also: If the answer is no, is there any specific reason why?…
HEYIMFUZZ
  • 85
  • 1
  • 6
1
vote
0 answers

Haxe, call new function

I've started learning Haxe with these tutorials: https://www.youtube.com/watch?v=emahgLaCZkc&list=PL4neAtv21WOmmR5mKb7TQvEQHpMh1h0po&index=9 Differently, to the example in the video, I have my project structured to one .hx file. And I can't make…
olivetum
  • 21
  • 4
1
vote
0 answers

I can't figure out how to call a bash command from Haxe

I'm trying to make a very specialized "desktop environment" for some younger family members using Armory 3D which uses Haxe as a backend. It is basically a kiosked interface on top of Linux which only allows users to run specific programs and games.…
TriVoxel
  • 121
  • 3
1
vote
2 answers

Haxe inactive browser tab stops completly

I'm developing a browser based game with haxe. As long as I have the browser tab as my active tab, everything works just as intended and smoothly, but as soon as i switch the tab (regardless if i'm using chrome or firefox) it stops working completly…
1
vote
0 answers

Getting Error parsing Haxe version "" when starting Visual Studio Code (Kode Studio)

Found that the bug is reported from this block of the server.js in visual studio code's Haxe Language Server. if(!haxeLanguageServer_HaxeServer.reVersion.match(output)) { var params2 = { type : 1, message : "Error parsing Haxe version " +…
John Doughty
  • 246
  • 1
  • 5
1
vote
1 answer

Scaling a kha-app for retina on iPad

I have a kha app that runs perfecly on an iPad2 (1024/768px). When I run the same project on a later iPad Mini with 2048/1516. My coordinates are all half the size, which kinda makes sense. So when I double all the sizes of my objects and GFX it…
RedRoosterMobile
  • 786
  • 10
  • 21
0
votes
0 answers

Compute shaders in Kha

I am reworking an old voxels module for an opensource game engine, and am unable to get the compute shaders to work; I'm 100% sure the opacity is being written on in the preceding steps, because if I skip the compute shader steps, there is data that…
Yvain
  • 29
  • 10
0
votes
0 answers

Haxe/Kha sound problems in Firefox/Internet Explorer

I'm developing a game in Haxe and Kha, and I've encountered a sound related problem. In Firefox, the sound is delayed by about 200ms. For example, when I click a button, it animates, but the click sound plays up 200ms later. Same goes for every…