Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

[Java] Basic Game: Shooter Part 8 (Final)

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
608 views
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Sep 12, 2009

A basic Java Game tutorial pt. 8.

The idea came from Longhorndude08 - http://www.youtube.com/user/Longhorndude08

I am basically remaking his game in a better format.

Enjoy, any questions please feel free to ask in a comment below.

Be sure to check out http://letsprogram.org

Category:

Entertainment

Tags:

License:

Standard YouTube License

  • likes, 1 dislikes

Link to this comment:

Share to:

Uploader Comments (letsprogram)

  • It all works well when I run it in NetBeans but when I clean and build it and try to run the Jar nothing happens, why is this happening anyway you can help?

  • @Williamf1337 Uh if Netbeans is like Eclipse it doesn't extract the image files along with it. Does it open and just not show anything (images). If that's the case you need to manually add the images folder into the .jar through winrar or something else similar.

  • @letsprogram Yeah I manually added my image folder but it still did not show the images. Is it an issue with the way the class files call on the images because I know in netbeans I have the class files in a source folder and then images in an image folder in the same folder the source folder is in, not the one the class files are in. Could it be that it can't find the directory or? :\

  • @Williamf1337 Haven't worked too much with Jars, but it must be an issue with the directory and the way files inside a jar are run differently. I'd have to research before I will be able to help you out.

  • lol, you published this vid on my birthday last year. xD

  • @konoha1993 It was defiantly a birthday present! Enjoy.

see all

All Comments (11)

Sign In or Sign Up now to post a comment!
  • AwesOme Bro.....!

  • I cant figure out what I did wrong. I did exactly what you did but whenever i shoot the other player, the bullet just passes through them and then nothing happens. Its like, i can hit the other player but no health is subtracted. I think I havent set a certain health like 10 or 20. Can someone explain how to do that.

  • Well that's how it would go inside of this game here. You would just increase deltaX, you could add a speed variable and include that into the movement. Something like, deltaX * speed

  • Thanks nice tutorial

    but how do I make the bullet go fatser?

    and dont tell me to incress deltaX..

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