reset password
Author Message
gchan10
Posts: 27
Posted 23:21 Nov 21, 2016 |

I am having trouble connecting the fool's movement to the arrow keys; if I press any of the arrow keys, he does not respond. Can anyone help?

epascua
Posts: 47
Posted 11:38 Nov 23, 2016 |

It probably has something to do with your GUI. 

Just test out if you have the arrow keys working to begin with, you can do that with print statements on the console.

Do you get any errors?

gchan10
Posts: 27
Posted 19:44 Nov 23, 2016 |
epascua wrote:

It probably has something to do with your GUI. 

Just test out if you have the arrow keys working to begin with, you can do that with print statements on the console.

Do you get any errors?

I got it to work, I just added an event handler to the class since the GUI extends the Pane class