Java Game
2:06
Added: 4 years ago
From: Seoryn
Views: 22,916
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:
see all

All Comments (44)

Sign In or Sign Up now to post a comment!
  • Comment removed

  • wow..... and, get a screen recorder

  • Love the particle effects, looks really cool. Great job with this.

  • Nice particle effects. Reminds me of bullet storm or geometry wars. Awesome! I've thought about doing a flash game similar to this, though the VM can't handle so many particle objects without intense optimization.

  • COOOL.....................

  • impeccable particle system. will take a look to the source and come back then

    cheers

  • Looks sorta cool, keep it up.

  • Wow. Nice particle effects. I'm still stuck with trying to get a key handler to work so I'll definately look at your source.

  • How did you make the movement so fluid?

  • I bet he used some nice double buffering techniques.

  • damn straight i did

  • Hi,

    Do you know a good tutorial for making lasers shoot in a specific angle?

  • I would recommend learning some vector math, check the wikipedia page on vectors

  • @Seoryn i suck so hard at math but im only 12 so another 6 years to learn lol

  • where can i get the exe? i know some c++ but not java so i dont have a java compiler and i dont know what jar files are

    either and my computer cant open them. so can you tell me wher i can get the exe for your game i want to play it? it looks really fun

  • How do you operate the BlueJ program for those who have one because we are using BlueJ in school and I'm very irritated when I compile it, then error flashes in for example class, interface, enum expected and I don't know what the hell is an enum in Java.

  • well I didn't use any enums in my program, if you could tell me more specifically what the exact error is and on what line in which file it occurs, I could be of more help. It would probably be easier to just start using jcreator (or command line or eclipse or whatever) instead though, as bluej is more of a teaching platform than a fully fledged ide

  • Damn that's cool...this is my first year programming, but I learn at a pretty decent rate. Would you mind pointing me in some direction towards beginning animation and or a simple explanation on how it works?

  • He actually doesn't use any animation for this game, it's mostly moving images, basic collision detecting, and the particles are rendered in real-time.

    But animation is basically displaying an array of images that are slightly different every frame. Hoped that helped!

  • damn nice job

  • Thats great framerate and detail I also love the physics of the particles how they keep moving depening on where they were fired from thats great, hey I have a question :T I've been with C++ for about 3 months now and ive got a grasp on it but i want to start making browser games should i switch to Java? and if I do can you point me in the right direction to some internet tutorials and a compiler?

  • Well if you want to make browser games, flash might be a good choice (I know absolutely nothing about it though). Java is similar to c++ in a lot of ways so maybe you'd prefer that. The java jdk is available at sun's website, and the documentation is really extensive as well there (im more than certain they have at least a million tutorials on how to create applets). if you're looking for an IDE i recommend JCreator. Eclipse is nice too though.

  • Looking very nice! Good job!

  • This game has a lot of great detail. I like how you implemented the code to keep the frame rate consistant.

    there will always be a place for 2d games!

    great job!

  • I love java. Movement keys?

  • HOW U DO THAT

  • This is really good. Makes me wanna play it, there's an unbelieable amount going on; even though it's not 3d those explosions and the bullets are tremendous. I love the ships designs, in particular the way they rotate freely. Excellent production. I can't believe Java can make something that looks so arcadey. Keep up the good work :)

  • Ha thanks! I'll admit, in this older version the explosions and particle effects are much grander than in the newer version.

  • Where can i find good java tutorials, preferably interactive?

  • Sorry I don't know where any good tutorials for this kind of stuff is. The way I figured it out, though, involved googling certain classes and then reading sun's documentation on it. I would recommend starting with the "Graphics" or "Graphics2D" classes and going from there. I hope this helps.

  • can I take the code?

  • The source code can be found at my website, I put a link in the video description.

  • holy crap... i just learned to do the "Hello World!" program today lol

  • You'll get this far eventually. Java is really well documented and theres a lot of source and tutorials on the internet. You can do anything as long as you want it! I have the source for this at my site (see my profile for an address) in case you want to see it.

  • Is very good! , please where can I download the source code. thanks.

  • The source code can be found at my website, I put a link in the video description.

  • nice particle effects nice programming :D !!!!

  • i have question, can u please send the code for the program, because i want to know how you did that, because i took java 1 & 2 and we learned some of this stuff, but not creating a game like the one you did. thank you

  • All the source for my programs are on my website, which is linked in the video description.

  • wow i wish i can do that... how do you make it to make it not lagging? and did you only use the classes from the library? or did you any engine or the sort? oh last question did your game draw resource from graphics card or just use the cpu??

  • I used java's built in "graphics" class and drew my game in a JFrame. Other than that I pretty much wrote all my own classes and made a single thread to update the scene on time(thats why its not lagging). As far as I know, I didnt explicitly use a graphics card at any point, I'm pretty sure its all cpu.

  • i don't know why it doesn't work??:s:s

  • Perhaps you didn't set your main class appropriately. Go to:

    Run-->Runtime Configuration-->Default-->Edit

    and change the "Run:" field to the class with the "main" function in it.

  • Then remake the jar file and try it again.

  • ok after that what iam going to do?

  • Well, if everything went smoothly then you should have an executable jar file in your project directory. So I guess you can double click it to see if it works.

  • iam doing what did you tell me to do but isn't work i don't know why??

  • Yeah, sorry, I only told you half of it for some reason. The first part I told you was how to make the tool. Using the tool I instructed you to make, you can create jar files. So simply run the tool(it should be listed under "Tools") in your project to create a jar file in the project directory.

  • thanks for this ur site is good can you tell me how to make the programm executable..merci

  • If you are using JCreator (if not let me know, Im telling you it this way because its easier):

    Follow this once your in the project you want:

    Configure-->Options-->Tools-->­New-->Create Jar File

    Then a new tab will appear under the tools thing( on the left browsing window ). If you click it it will show you a bunch of options for making jar files. Changes the Arguments line to: "cfe $[PrjName].jar $[JavaClass] *.*" (without the quotes).

  • iam using JCREATOR PRO how can i make it?

  • very good can i have the code

  • Interesting

  • that looks amazing>...

    Did you do that in Java 3D? or how?

    You could easily network it... lol

    But what is your IDE?

  • Glad you liked it. I used a JFrame for the graphics bit. Everything else is just Object-orientedness and math.

    I use the JCreator IDE, free, fun, and easy!

  • You mean u used java2D by JFrame? very good glowy graphics. I really wonder how it is done :D Is there an open source for it?

  • Yeah, I definitely did something... Graphics2D is the place to look if you're curious: check the java documentation( online somewhere, google for 'java graphics2d' ) If you want the source, just message me.

  • hey go check out my java tutorials

  • Nice work. I've just started making a pool game, should be ready in another 9 days I predict. It's small, but pretty and collisions/speeds/angles etc all work realistically.

  • wow,very cool!!! I guess you've been programming in JAVA for a longtime!

  • Cool! You know what they say, "When in doubt, brace it out!" LOL...I love Java, too!

Loading...
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