Results 1 to 2 of 2
Thread: Butterfly game
- 08-13-2010, 10:46 AM #1Member
- Join Date
- Aug 2010
- Rep Power
Please help me. I'm new in Java Applet.
How to create a game on which the user tries to click on a butterfly image that erratically around the applet screen. Use instance variables to keep track of the position of the butterfly. there should be certain probability that the butterfly will fly to a new location. Check whether the user clicked on the butterfly and count it as hits. Keep track of and display the number of times that the user hits the butterfly on the number of times that the user misses it. Hits to 50 times to over the game. I am use NetBean software.
Hello, and welcome to the forum.
So in essence what you've done is to give us your entire assignment without asking a question and without showing any work, and I'm afraid that in this situation there's not much that we can do for you other than to direct you to a tutorial or two.
I'm going to lock this thread and suggest that in a new thread you post your best solution that you've created so far, and ask as specific questions as possible, and we'll be much better able to help. If you really have no idea how to begin here, then please have a look here: Starting Writing a Program. It's a well-written article that can help.
- By JFlash in forum New To JavaReplies: 2Last Post: 08-05-2010, 04:49 AM
- By deathnote202 in forum Java GamingReplies: 4Last Post: 06-10-2010, 08:06 AM
- By led1433 in forum Java 2DReplies: 5Last Post: 02-10-2009, 06:00 AM
- By JavaBean in forum Java SoftwareReplies: 0Last Post: 03-17-2008, 08:23 PM
- By JavaBean in forum Java SoftwareReplies: 0Last Post: 11-17-2007, 02:02 PM