7 Replies - 446 Views - Last Post: 20 May 2012 - 09:59 PM Rate Topic: -----

#1 Krbshadow  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 11
  • Joined: 20-May 12

Getting Started with Java Gaming

Posted 20 May 2012 - 09:39 PM

Can someone point out some tutorials or code snippets or actual programmers on the website that i could find the following information for 2d games in java eclipse:

Hit boxes
Sprites
Movement with arrow keys
Game engine - physics (aka characters jumping)
2 player games
Double buffering

Ive been on this site for about 3 hours now and cant find anything and really need help.

This post has been edited by macosxnerd101: 20 May 2012 - 09:40 PM
Reason for edit:: Renamed title to be more descriptive

Is This A Good Question/Topic? 0
  • +

Replies To: Getting Started with Java Gaming

#2 macosxnerd101  Icon User is online

  • Self-Trained Economist
  • member icon




Reputation: 10396
  • View blog
  • Posts: 38,463
  • Joined: 27-December 08

Re: Getting Started with Java Gaming

Posted 20 May 2012 - 09:41 PM

The Java Game Programming Thread is a good starting point. Double buffering is already supported by a number of JComponents like JPanel, so you shouldn't have to worry about that.
Was This Post Helpful? 0
  • +
  • -

#3 Krbshadow  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 11
  • Joined: 20-May 12

Re: Getting Started with Java Gaming

Posted 20 May 2012 - 09:45 PM

Thank you so much. I don't know why i couldn't find that but im glad you pointed it out. When im finished creating my game is there somewhere i could post it to help other people use it as a reference and maybe explain how i did it?
Was This Post Helpful? 0
  • +
  • -

#4 macosxnerd101  Icon User is online

  • Self-Trained Economist
  • member icon




Reputation: 10396
  • View blog
  • Posts: 38,463
  • Joined: 27-December 08

Re: Getting Started with Java Gaming

Posted 20 May 2012 - 09:46 PM

If you want to write a tutorial, you are welcome to submit it to the DIC Tutorials Section. We also have the Share Your Project forum if you want to show off what you did. :)
Was This Post Helpful? 0
  • +
  • -

#5 Krbshadow  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 11
  • Joined: 20-May 12

Re: Getting Started with Java Gaming

Posted 20 May 2012 - 09:50 PM

Why do people always use Jframe and never applet?
Was This Post Helpful? 0
  • +
  • -

#6 macosxnerd101  Icon User is online

  • Self-Trained Economist
  • member icon




Reputation: 10396
  • View blog
  • Posts: 38,463
  • Joined: 27-December 08

Re: Getting Started with Java Gaming

Posted 20 May 2012 - 09:51 PM

JFrame is for stand-alone programs. Applets are for programs designed to be embedded into websites. The Applet class is really legacy at this point, and JApplet should be used instead.
Was This Post Helpful? 0
  • +
  • -

#7 Krbshadow  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 11
  • Joined: 20-May 12

Re: Getting Started with Java Gaming

Posted 20 May 2012 - 09:57 PM

this would explain why everything is such a pain in applet
Was This Post Helpful? 0
  • +
  • -

#8 macosxnerd101  Icon User is online

  • Self-Trained Economist
  • member icon




Reputation: 10396
  • View blog
  • Posts: 38,463
  • Joined: 27-December 08

Re: Getting Started with Java Gaming

Posted 20 May 2012 - 09:59 PM

Nothing is really a pain in an Applet. It's just a different Container, really.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1