Keyboard input in Simulator

Hi,

I’m trying to work out fundamental controls for my game, and want to receive input from my physical keyboard’s cursor keys. I intend to create a dpad on screen in the final game, but for now I just want to nail down the gameplay in the simulator.

Any ideas? [import]uid: 118083 topic_id: 20417 reply_id: 320417[/import]

I doubt you’re going to be able to do that.

The only keyboard input comes from the native.textField() api call and it’s not going to get you arrow keys.

Perhaps someday when we get the ability to build for the Mac and Windows, we will get api calls to read the keyboard. But for now, your best bet is to get your dpad working since that’s what you’re going to end up with anyway.

[import]uid: 19626 topic_id: 20417 reply_id: 79953[/import]

Thanks for your reply rob.

I won’t be doing that. I can’t think of anything more tedious than using a mouse to click a d-pad on screen. It’s the deal breaker for me. Off to Unity.

Cheers [import]uid: 118083 topic_id: 20417 reply_id: 80019[/import]