michaelgreene Posted November 20, 2013 Share Posted November 20, 2013 I'm just starting with Babylon.js and I want to create a set number of boxes depending on which keystroke I issue. That is, press an 'a' and get one box, 'b' gives me two boxes, '1' gives me something else, etc. I could register a javascript onkeypress listener in the normal way but I don't want to interfere with the arrow key rotation functionality. Is there a preferred way to handle keystrokes? Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted November 21, 2013 Share Posted November 21, 2013 You just have to ensure that your are not using the keys as the camera (camera.keys) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.