Hello..
I have a project using NetBeans and this project is a game. I want you to help my by giving me codes usin java in NetBeans. I have JFrame and there are JLabels. JLabel1 is a picture for man, JLabel2 and JLabel3 are pictures for boats, JLabel4 is a picture for home. I want JLabel1 which is the man to be moved using keyPressed and I want the JLabel2 which is the boat to be moved automatically when running the Frame from right to left and repeat itself and JLabel3 also to move from left to right. Between the man and home is sea. The boats are on the sea area which is JLabel5. The man to reach his home should jump on the boats otherwise any area outside the boat should make him disappear and lose a life and then back to his original place if he still has life and time not finish. He has three lives which are JLabel6, JLabel7 and JLabel8. After the man jump on the boats, he should jump to the home exactly or else will lose a life. Once he reach his home, Jlabel9 is appear which is the same home picture but with wrong sign that not allow for man to reach the same home twice(note: there are six homes) If the man reach all homes and time still not finish and he does lose all his lives, level 2 is come, otherwise game over. Also I want the code for timer which is 3 minutes or game is over when time is finish or the man lose all his three lives.. Can you please help me by giving me all these codes from people who have knowledge in NetBeans and Java. Please help me or I will fail because I have no knowledge about Java and NetBeans. I am waiting for your answers.
I have a project using NetBeans and this project is a game. I want you to help my by giving me codes usin java in NetBeans. I have JFrame and there are JLabels. JLabel1 is a picture for man, JLabel2 and JLabel3 are pictures for boats, JLabel4 is a picture for home. I want JLabel1 which is the man to be moved using keyPressed and I want the JLabel2 which is the boat to be moved automatically when running the Frame from right to left and repeat itself and JLabel3 also to move from left to right. Between the man and home is sea. The boats are on the sea area which is JLabel5. The man to reach his home should jump on the boats otherwise any area outside the boat should make him disappear and lose a life and then back to his original place if he still has life and time not finish. He has three lives which are JLabel6, JLabel7 and JLabel8. After the man jump on the boats, he should jump to the home exactly or else will lose a life. Once he reach his home, Jlabel9 is appear which is the same home picture but with wrong sign that not allow for man to reach the same home twice(note: there are six homes) If the man reach all homes and time still not finish and he does lose all his lives, level 2 is come, otherwise game over. Also I want the code for timer which is 3 minutes or game is over when time is finish or the man lose all his three lives.. Can you please help me by giving me all these codes from people who have knowledge in NetBeans and Java. Please help me or I will fail because I have no knowledge about Java and NetBeans. I am waiting for your answers.