But i am not getting how to and where to implement this modalityType in which code section of the program.
--- Update ---
i am sorry i post it three times , but i am ot getting to any...
Type: Posts; User: ankushpruthi
But i am not getting how to and where to implement this modalityType in which code section of the program.
--- Update ---
i am sorry i post it three times , but i am ot getting to any...
project is attached within this comment
plz check it
I have downloaded a snake game project from the internet, initially this project contains three java files namely
when i run Engine.java ,game starts running ..
Now i have done some...
Ok. there is Engine.java class in my project which has almost all the methods to handle the game.
So i am sendig u Engine.class . Or if u can say i will mail my project to you.
package...
can u please elaborate what u want from me because i am not getting your point.
I have downloaded a snake game project from the internet, initially this project contains three java files namely
1. Engine.java
2. Snake.java
3. Gameoard.java
when i runs Engine.java ,game...
Actually this project Contain five java files .i show this code because it almost contaiinng most of the logic of snake game.
five classes: 1. Engine.java
2. Snake.java (declaring...
There is a Canvas object in my game and this object is not set in focus, because of this my snake is not moving on the Board .
Basically i am working on snake game project, and i want is when play...
how can i set my canvas i focus.
or also i am thinking to chage keyListener to KeyBinding, then you can plz tell me how can i set this approach in this game project/ or i Engie.java class
i.e how...
Ok .but Have u any idea why the output is hanging or what would be the reason why swing output hangs.
sorry, i ddin't got your point.
I am workig on a snake game project. This project contain five java files.
1. Engine.java
2. Snake.java
3. GameBoard.java
4. PlayGame.java (is a JFrame)
5. Rules.java (is a JFrame and having...
Actually i create JFrame using netbeans and placed button over JFrame like we do i VB.
So jbutton1 is the reference Of JButton and i titled it as Play
--- Update ---
package org.psnbtech;...
Actually i have not doe any major chage in Engine.java file.
I just move main() method code in theactionperformed() method of play button and create an object of PlayGame.java in the main() method...
I have downloaded a snake game project in java. Initially the project contains three java files i.e "
Engine.java
Snake.java
GameBoard.java
And Engine.java have the main() method,...