Profile

Member Since
August 19, 2012

Search Members

  

OhiraKyou

3
@

Badges

This user hasn't earned any badges yet.

Posts

Viewing 1 to 3 (3 Total)

SOLVED: [HaxePunk] stage.scaleMode - no effect

Edit: solved here: http://forum.haxepunk.com/index.php?topic=240.0

HXP.screen.scaleX = HXP.screen.scaleY = 1; // set screen scale to 1x1
HXP.resize(HXP.stage.stageWidth, HXP.stage.stageHeight);


As for static GUI elements:
graphic.scrollX = 0;
graphic.scrollY = 0;

Posted on August 20, 2012 at 7:58 PM

Numpad and alphabet keys issue (Windows)

It's already been mentioned in the bug section, but I feel like it could use some limelight here as well:
http://www.haxenme.org/community/forums/bugs/keyboardevent.keycode-shows-wrong-values-on-cpp-windows/#6859

Due to the nature of my game, it's a major roadblock. I'd really rather not make sacrifices for a Windows build to avoid this one issue. Any solutions yet?


Edit: Also, the numpad is supposed to be the equivalent to arrow keys and page up, page down, home, and end when numlock is off. However, while this works in flash, it still reports the same erroneous key codes in Windows. So, I'm still seeing no way of separating the numpad from alphabet keys.

Posted on August 19, 2012 at 8:54 PM

Re: KeyboardEvent.keyCode shows wrong values on cpp (windows)

Unfortunately, this issue is still relevant, a year later. I absolutely need numpad and alphabet key support in Windows. Has a year really yielded no solution? Key class: https://github.com/MattTuttle/HaxePunk/blob/master/src/com/haxepunk/utils/Key.hx

Posted on August 19, 2012 at 8:41 PM