Added: 7 months ago
From: TheJavaHub
Views: 3,244
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (21)

Sign In or Sign Up now to post a comment!
  • are you ever going to finish this game?

    also: if your bullets don't move the most obvious solution would be to check if somewhere you've put by instead of bullet.y(I had this issue, and noticed I had the x and y of the fillRect set to by, and bx instead of their bullet alternatives.)

  • how would i make an enemy and then to make it disappear when the bullet hits

  • With regards to programming 2d/2.5d games, what would you suggest? C++ or Java?

  • The copying off your website is confusing... Are we supposed to call the file "Main.java", as the forum says, or "Shoot.java", as your NetBeans says?

    Btw.., really nice tutorial ;)

  • Comment removed

  • Can i still enter the logo compassion?

  • Comment removed

  • Comment removed

  • oh my GOD this is glitchy.

    I don't know why, but the bullet keeps freeking out- it will dissapear randomly and start again at the gun, occasionally fires when I hit left or right, sometimes refuses to fire at all.

  • My game windows doesn't open at all! I open the program in NetBeans, then i right-click and choose run file. It says Build sucsessful, but nothing opens. Plz help me!

  • Comment removed

  • Comment removed

  • My bullet won't move at all.

  • @Thelordberzerker97 Did you copy the tutorial exactly?

  • @Thelordberzerker97 add this line of code: s1.shoot(); // inside the paintComponent() method of the shoot.java.

  • I have a problem with the space released part. The program doesn't seem to want to put readyToFire to true since I can't refire the bullet. I think the problem lies with the bullet not being reset to (0,0,0,0) since I tried by putting if(y<=20). That would mean it would dissapear in the middle of the screen right? but it won't so you got any idea what the problem might be?

    sorry for the bad english.

  • @NightShroud092 Hmm, it's hard to say at the moment. Head over to TheJavaHub Forums @thejavahub(dot)net/forums and post your source code in the help section. I'm sure we can help you from there.

  • thx man but your starting c++ already?

  • @Ninjason1337 I'm just starting to make C++ tutorials, it doesn't mean I'll stop these ones :)

  • Comment removed

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more