Skip to main content

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.

Filter by
Sorted by
Tagged with
1 vote
0 answers
50 views

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 ...
Yvain's user avatar
  • 135
0 votes
2 answers
539 views

I'm new to using Haxe, and I'm trying to learn from this open source project I recently watched the tutorial video "introduction to Haxe helloworld" and they didn't use any ...
F. Andrés's user avatar
0 votes
1 answer
242 views

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 ...
Murali's user avatar
  • 1
-1 votes
1 answer
178 views

Example of my code: ...
Janis Taranda's user avatar
0 votes
1 answer
194 views

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 ...
Matías González's user avatar
3 votes
0 answers
174 views

I'm starting a project using Haxe and OpenFL. I defined a big level in Flash, when I try to scroll the level in the game I have a really bad performance. I think that moving all the objects is ...
Matías González's user avatar
2 votes
1 answer
106 views

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 ...
jred_kai's user avatar
3 votes
2 answers
3k views

I'm creating an Arkanoid clone using Haxe and Openfl. I'm thinking the bouncing algorithms could be improved. But I'm not sure how to handle those. I was hoping you guys could help. ...
Thaenor's user avatar
  • 131
1 vote
2 answers
544 views

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 ...
hedgehog90's user avatar
1 vote
1 answer
212 views

I'm working on a game using Haxe + Flambe but I'm having a hard time making the UI part of it (main screen, level selection, etc). And I began to think... is there another way? I would love to have ...
Akima's user avatar
  • 127
1 vote
1 answer
127 views

In HaxeFlixel 4 all FlxObjects have a path property which must be a FlxPath instance ...
Timo Huovinen's user avatar
3 votes
5 answers
755 views

I want to play a gameplay music track depending on what the current level is. E.g. 1 - Play track 1 2 - Play track 1 3 - Play track 2 4 - Play track 2 5 - Play track 3 repeat... 6 - Play track ...
SMKS_ARTS's user avatar
10 votes
0 answers
525 views

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: <...
George R.'s user avatar
  • 233
4 votes
0 answers
64 views

When I build for Android or Windows, the icon is always whiteout. I've tried SVG, PNG and none of those works. ...
Dlean Jeans's user avatar
0 votes
1 answer
139 views

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....
SMKS_ARTS's user avatar
2 votes
3 answers
949 views

Using Openfl for a game using hexagonal tiles Working out the problem of walkability in a game, and I've run into an issue with my Hexagonal tiles. I think it is an odd rounding error of sorts. When ...
J. A. Streich's user avatar
3 votes
1 answer
251 views

I'm developing a simple 2d platformer using haxe & openfl (currently targeting flash). To achieve the old school pixelation effect I draw 16x16 sprites over a 4x scaled up canvas. With this ...
Finn Hill's user avatar
1 vote
1 answer
233 views

I'm using Haxe on the HAXE IDE, HIDE. I can simply create code for any language, but I don't know how to export it. It didn't have any export options, and no tutorials explain this. How do I export it?...
user57079's user avatar
1 vote
2 answers
2k views

How can I make a function in Haxe that reads a line from a text file, prints it/saves it to a variable, and then goes to the next line? My objective is to make the dialogues on a text file, having ...
Jallrich's user avatar
  • 193
0 votes
3 answers
1k views

I'm planning to develop a visual novel in Haxe Flixel and wanted to know if there is a easier way to add dialogue than to hardcode them in every square. I don't know if I can import a txt file with ...
Jallrich's user avatar
  • 193
1 vote
0 answers
204 views

I made a simple game for android with a small native resolution (320x480). When text gets upscaled it loses its sharpness. Tried having anti aliasing on and off and both results were fuzzy. The size ...
Teodor Mihov's user avatar
0 votes
0 answers
67 views

So I'm making a falling-block puzzle game. It's not a Tetris clone, but the block clusters move in a similar fashion. I want to make it so that if you rotate against a wall, or against another piece,...
JesseTG's user avatar
  • 1,097
2 votes
1 answer
414 views

So, I found I needed a different type of button for my game, which I am making using Haxe, OpenFL and HaxeFlixel. After sometime fliding with Haxe, I got following button done, which works just fine. ...
Mandemon's user avatar
  • 123
0 votes
3 answers
2k views

In Flash, for example, I can place an xml file along with the binary, then if I modify some variable the game will change for everyone. How to achieve something like that in Android? I know that for ...
Veehmot's user avatar
  • 171
2 votes
1 answer
820 views

I'm creating a 2D game for mobile touchscreen devices, specifically Android and iOS. I would like to know what is the best way (regarding performance and best practices) to manage sprite sheets. ...
songokuhd's user avatar
1 vote
1 answer
186 views

What is the preferred methods for doing so, performance-wise? For example I want to pick certain objects in an area around a given point. What I have thought off so far is using invisible objects as ...
user30893's user avatar
0 votes
1 answer
148 views

To simplify, let's say in en engine I'm coding for a game, I have the Main class an Object class. In the Main class' update method, I loop through the array of all Objects in the game. I also have a ...
user30893's user avatar
1 vote
1 answer
2k views

How would level scrolling be implemented with haxe and nme? I started plying with haxe and currently the only way to display things on screen is by using ...
Coyote's user avatar
  • 3,230
2 votes
2 answers
6k views

I read this, and I also see that using FlashDevelop you can make an Adobe Air project with Haxe and compile to exe. I begun to wonder from a game making perspective: Are there any additional ...
AturSams's user avatar
  • 10.6k
1 vote
1 answer
288 views

I'm using the latest Haxe (2.10), NME (3.4.3), and MUnit. I've written some unit tests that need to fetch bitmap data from SWF symbols. The first step is to actually load the SWF data. To do this, I ...
ashes999's user avatar
  • 11.3k