Questions tagged [haxe]
Haxe is a strictly typed, cross-platform, open-source language. Haxe is mostly used for games development. Primarily focussed on mobile devices (iOS, Android, Windows Mobile, webOS) it compiles down to various other languages, including Actionscript 3, Java, C#, C++, PHP, JavaScript, and others.
30 questions
1 vote
0 answers
49 views
Texture wrapping mode for KHA
I'm working on a game engine which is written in Haxe with the Kha API. I need to set a texture to wrap mode but I can't find any function or variable to use/set. The image is created with these ...
0 votes
1 answer
239 views
Turning the Turret towards Player Object
I am trying to turn the enemy turret towards player object using the Armory 3D game engine with Blender. The script is written using Haxe. I am using the following code with both the player object ...
0 votes
1 answer
192 views
Image import in Haxe / Openfl
I want to import an image using Haxe, my image is big but it is 8 bits and it weighs 89kb. The problem occurs when I import it, because the size of the memory grows by 35mb. I suppose it is reserving ...
2 votes
1 answer
104 views
Behaviours: Should I always return a reference to the behaviour on its methods? [closed]
I'm writing a small game to sharpen my programming skills, and I've chosen to use behaviors (that basically is a class that modifies its parent, to do things like movement, damage and stuff) to avoid ...
1 vote
2 answers
541 views
Reducing draw calls in a y-sorted orthogonal world
This is a hypothetical question, as I haven't yet come across the problem of making too many draw calls, but for my game I am aware that this could become a potential problem. The style of my game is ...
1 vote
1 answer
127 views
Pathfinding onComplete event?
In HaxeFlixel 4 all FlxObjects have a path property which must be a FlxPath instance ...
10 votes
0 answers
523 views
Implementing a SceneManager using OpenFL
I'm trying to implement a basic SceneManager using OpenFL and Haxe. I don't have a lot of experience using OpenFL and Haxe so I have a few problems. Here is how I designed the SceneManager class: <...
0 votes
1 answer
137 views
Controlling the movement of player by sprite using Mouse
I want to move the player by pressing down on the mouse and moving around by dragging. The player won't move to the position of the mouse. Instead it should be relative to the players current position....