Skip to content
#

Haxe

A language resembling ECMAScript much which can be transpiled into ActionScript3, JavaScript, Java, C++, C#, PHP, Python, and Lua.

Here are 821 public repositories matching this topic...

nadako
nadako commented Mar 17, 2020

So currently the doc for EReg.matched says this:

The index n corresponds to the n-th set of parentheses in the pattern
of this EReg. If no such sub-group exists, the result is unspecified.

But it's not immediately clear what "no such sub-group exists" means exactly. I assume it means that the group was not defined in the regex. But it's a bit confusing in case the group was define

JoeCreates
JoeCreates commented Jun 27, 2019

Call FlxG.gamepads.firstActive.firstJustPressedID() with an xbox controller plugged in. It will always return GUIDE when nothing is pressed.

The reason is simply that the the raw ID for the guide button on xbox controllers is -1, which is also the id flixel uses for NONE. We hit https://github.com/HaxeFlixel/flixel/blob/master/flixel/input/gamepad/mappings/XInputMapping.hx#L34 when doing getID(

boronine
boronine commented Apr 1, 2020

The author of the project is an expert programmer but a color science dilettante. If you have ever read a color science book from cover to cover, you are qualified to rewrite all website to make sure terminology is correct.

The website also links to an old blog post of mine:
https://www.boronine.com/2012/03/26/Color-Spaces-for-Human-Beings/

It would be valuable to integrate the information

XANOZOID
XANOZOID commented Jan 6, 2020

Commit in question

#574 -> Updated Scene to return empty containers

Comment

I feel like it makes sense to use some form of memoization
If we're querying the existing entity types and someone attempts to get a qualifying Entity, then cache the result as empty
much like adding an entity of that type, but with no actual allocation other than the array

Ben Morris's suggestion:

Dexus
Dexus commented Nov 21, 2019

I try to compile a wasm via lime test emscripten -webassembly but I get this error following.
How can i fix it and compile it?

Compiling group: hxcpp_std
emcc -c -fvisibility=hidden -O1 -fpic -fPIC -DEMSCRIPTEN -Wno-overflow -Wno-parentheses -Wno-unknown-warning-option -Wno-null-dereference -Wno-unused-value -Wno-format-extra-args -Wno-bool-conversion -Wno-warn-absolute-paths -DSTATIC_

Created by Nicolas Cannasse, Haxe Foundation

Released 2005

Organization
HaxeFoundation
Website
haxe.org
Wikipedia
Wikipedia

Related Topics

actionscript c-plus-plus csharp java javascript lua php python
You can’t perform that action at this time.