Check it again, it may be hidden
Optionally, refer to this: Build error caused by thumbs.db
Okay I just found an even better way after I stumbled upon the API of
FlxG.keys.preventDefaultKeys = [LEFT, RIGHT, UP, DOWN, SPACE];
Better way without modifying your index.html, put this in your Main.hx or anywhere in your Haxe code:
#if js js.Browser.document.onkeydown = e -> e.preventDefault(); #end
This HaxeFlixel tutorial on masking could help.
I have actually tried blend modes myself. I used a transparent sprite, of course, but found no blend mode that uses the alpha of the top layer. Then I wondered if I could have a custom blend mode so I researched shaders as HaxeFlixel supports it. According to what I have read, shaders do not know nothing at all about other sprites. So, yeah, both didn't work, at least for me.
I think you gotta do that manually. HaxeFlixel only stops drawing off-screen FlxSprite.
To host your HTML5 on a local server:
Options: -h [domain] - set hostname -p [port] - set port -d [directory] - set base directory -log [file] - set log file -rewrite - activate pseudo mod-rewrite for smart urls
That's the first two questions.
And to answer the 4th: to detect if a user is on desktop or a phone, you will want to use FlxG.onMobile. It's been added a while ago but I guess it was not publicly noticed.
Looks like your connection to HaxeFlixel was lost, please wait while we try to reconnect.