Question:
Are there any good websites to learn how to make a basic 2D java game?
Ewww Bugs
2009-11-18 08:33:48 UTC
I have a bit of programming knowledge in C++ and VB. I basically need a tutorial to explain java graphics and java double buffering and stuff.
Three answers:
jwong71091
2009-11-18 16:00:28 UTC
Yes there are plenty of good websites for Java game programming...



Video-Animation.com has a good introductory tutorial for Java game programming:

http://www.video-animation.com/java_001.shtml



You can use a search engine like Google.com to find many good tutorials:

http://www.google.com/search?hl=en&source=hp&q=Java+game+programming&aq=f&oq=&aqi=g10



YouTube has tutorials for game programming and pretty much anything else you can think of:

http://www.youtube.com/results?search_query=Java+game&search_type=&aq=f



An online store like Amazon.com has many books for game programming:

http://www.amazon.com/s/ref=nb_ss?url=search-alias%3Daps&field-keywords=Java+game&x=14&y=18



Your local library may have these books.



Ambrosine.com has Java game programming languages:

http://www.ambrosine.com/resource.html



Good luck and I have fun!
deonejuan
2009-11-18 10:04:02 UTC
It takes a book because the concept is layered. Java started out with the AWT -- Abstract Window Toolkit and evolved into the Java2D API for advanced graphics. Both frameworks use a timer to loop in intervals, clear the screen, paint any graphics and update math, then wait for the next interval. It's enough that 3,000 snowflakes zigzagging at random is nothing on computer resources. The most straight-forward (but primitive) book is: "The Black Art of Java Game Programming" using the AWT, or peruse any of the Java books at the bookstore, scanning the index and TOC about animation. Really, it's boilerplate code, but, depending on what you want to do that involves how it will be layered because most tutorials stick with Applet. Why? because Applet already has the Canvas, the timer, etc. Since you've got JDK, look inside JDK 1.6.xx/demo/jfc/java2D at a complex example.
Ruggerhugger
2009-11-18 08:40:02 UTC
To make a basic java game you could use a tool for it, try www.greenfoot.org and download that, watch the tutorials and stuff, its easy enough to pick up.


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...