I would like to be able to move diagonally in a top-down game. I found code for diagonal movement in one of the Encyclopedia Games and am attempting to modify the code of it by changing keyq to key# where the # = the keyboard key map for the numpad 7 - I located this chart: http://www.digitalmz...m/keycodes.html and attempted making it key71 or key263 with no effect. I made use of a simple bit of robotics learned from a tutorial video (very thankful for these!) to display on screen * "&key_pressed&" which actually gave me numpad 7 as 55 - but when I tried 55 I had no luck and going back and running that robot again gave me a result of 278! In the Misc Counters help I saw mention of 23(if I recall) being space, 9 being Tab and 13 being Enter. I attempted these and key9 did not make Tab work but made the 9 on the number row work! (Of course!) ... any thoughts or advice would be appreciated! Perhaps I am doing something wrong and/or num pad keys are not supported? Thanks!
This post has been edited by OhGoodShepherd: 31 January 2016 - 07:49 AM

Help







