Now, i got one more problem... When i enter into the game class out from my mainmenu class, the game itself somehow lose the focus of keyboard.... The keyboard which controls my entity doesn't work....

Other entities like those zombies were working but only the main character that doesn't who needs keyboard inputs...

I think the problem is in my Game Class.... because I already have a JFrame in my MainFrame class. So, when i call Game Class from my MainFrame class the drawing became distorted and the controls for the entity also doesn't.... Maybe converting my Game class into a JPanel will work.. But the problem is Game class extends Canvas.... Is it possible to place a Canvas over a JPanel???

I'm working on a maze game from kevglass tutorial.. Now, i came working to the Main menu.... My problem is when i click my Start button to access the game class it loads the game but the game was distorted and the keyboard doesn't work... Please my code for MainMenu and Game class.....

You guys can use 0 and 1 to create walls... Examples you can represent 0 for a wall which passable or a 1 for a blocked wall....You must create a grid of WIDTH X HEIGHT and then place those walls within the cells of those grids....

java-gaming.org is not responsible for the content posted by its members, including references to external websites,
and other references that may or may not have a relation with our primarily
gaming and game production oriented community.
inquiries and complaints can be sent via email to the info‑account of the
company managing the website of java‑gaming.org