Questions tagged [haxe]

Haxe is an open source, multi-platform programming language that allows developers to target Flash, JavaScript, NekoVM, C++, Java and C# and PHP using the same syntax. Experimental support for Python is included in the dev version.

Filter by
Sorted by
Tagged with
5
votes
0answers
260 views

ATB strategy MVC architecture refactoring

NOTE: this question isn't as long as it appears to be. I added the comments to the code only to answer some possible questions that may appear. I'm making an active time battle strategy. Its ...
2
votes
1answer
87 views

HaxeFlixel 2 player game: make input code cleaner

I'm makeing two-player game. player1 can play with the WASD keys, and player2 can play with the arrow keys. PlayState.hx ...
2
votes
0answers
93 views

Getting UI Buttons to move across the screen for a nice effect using HaxeFlixel

I'll start off by saying I'm way off in how this should be done. After spending much time on getting this to be clean it wasn't going to happen so I just did it anyway I could. I'm trying to make ...
3
votes
0answers
67 views

Camera access for both JS and AIR

Flambe is a really neat tool, even though developer dissapeared around march, and the proper camera access is missing (I could move to openFL, but I'm way too deep at the moment). This is my take at ...
8
votes
2answers
1k views

Calculating angle in isometric view

I have an angle where I need to convert a 'normal' angle to an isometric angle (116 degrees), and I came up with this function. It works, but I was wondering if the math could be optimized/simplified, ...
3
votes
1answer
138 views

Algebraic notation with RegEx

I've written an algebraic notation to use for moves in a game and I'm currently writing code to parse the information from the notation. I'm doing this using regExes. This is coded in HaXe. For ...