JAVA Games

  • (2 Pages)
  • +
  • 1
  • 2

27 Replies - 1112 Views - Last Post: 20 January 2014 - 12:15 AM Rate Topic: -----

#1 ABICH  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 14
  • Joined: 17-January 14

JAVA Games

Posted 17 January 2014 - 03:21 PM

What is best Java Library for creating simple graphical games?

Thank you..
Is This A Good Question/Topic? 0
  • +

Replies To: JAVA Games

#2 modi123_1  Icon User is online

  • Suitor #2
  • member icon



Reputation: 9096
  • View blog
  • Posts: 34,161
  • Joined: 12-June 08

Re: JAVA Games

Posted 17 January 2014 - 03:22 PM

Would you be more specific in your needs?
Was This Post Helpful? 0
  • +
  • -

#3 ABICH  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 14
  • Joined: 17-January 14

Re: JAVA Games

Posted 17 January 2014 - 03:46 PM

As a beginner in Java Game Programming. I want to write a small java game but im not sure what graphics library to use. Thank you for asking.
Was This Post Helpful? 0
  • +
  • -

#4 modi123_1  Icon User is online

  • Suitor #2
  • member icon



Reputation: 9096
  • View blog
  • Posts: 34,161
  • Joined: 12-June 08

Re: JAVA Games

Posted 17 January 2014 - 03:48 PM

Ooookay.. so the pinned thread may be where you want to start.

Java Gaming Thread
Was This Post Helpful? 1
  • +
  • -

#5 ABICH  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 14
  • Joined: 17-January 14

Re: JAVA Games

Posted 18 January 2014 - 06:29 AM

What you mean by pinned thread.. remember im a beginner in this.
Thank you.
Was This Post Helpful? 0
  • +
  • -

#6 jon.kiparsky  Icon User is online

  • Pancakes!
  • member icon


Reputation: 7649
  • View blog
  • Posts: 12,902
  • Joined: 19-March 11

Re: JAVA Games

Posted 18 January 2014 - 07:40 AM

He means this thread, which is "pinned" to the top of the java forum. (ie, the place where you found the button to create a new topic)
Was This Post Helpful? 1
  • +
  • -

#7 ABICH  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 14
  • Joined: 17-January 14

Re: JAVA Games

Posted 18 January 2014 - 08:27 AM

View Postjon.kiparsky, on 18 January 2014 - 07:40 AM, said:

He means this thread, which is "pinned" to the top of the java forum. (ie, the place where you found the button to create a new topic)




Ah.. thank you im beginner in english too..

jon.kiparsky, do you have some good java libraries for creating games and others for manipulate medias ??
Was This Post Helpful? 0
  • +
  • -

#8 jon.kiparsky  Icon User is online

  • Pancakes!
  • member icon


Reputation: 7649
  • View blog
  • Posts: 12,902
  • Joined: 19-March 11

Re: JAVA Games

Posted 18 January 2014 - 08:40 AM

I'm afraid I don't. Game programming is not my area. Try that link, though.

If there's something particular you're trying to do, you should ask about that. You're more likely to get results if you ask about something in particular than if you just ask about games generally.
Was This Post Helpful? 0
  • +
  • -

#9 ABICH  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 14
  • Joined: 17-January 14

Re: JAVA Games

Posted 18 January 2014 - 02:45 PM

Games, that im trying to do, are complicated traditional games from my country. I m sure no one heard about them and it will take long time to explain it.. But Thank you anyway.. Wish me a good luck.
Was This Post Helpful? 0
  • +
  • -

#10 jon.kiparsky  Icon User is online

  • Pancakes!
  • member icon


Reputation: 7649
  • View blog
  • Posts: 12,902
  • Joined: 19-March 11

Re: JAVA Games

Posted 18 January 2014 - 02:47 PM

Hm. That sounds like fun. The usual way to approach a problem of this sort is to figure out what pieces you need to build and start building them. Are these board games, or card games, or what sort of games are they?
Was This Post Helpful? 0
  • +
  • -

#11 ABICH  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 14
  • Joined: 17-January 14

Re: JAVA Games

Posted 18 January 2014 - 03:18 PM

They are kind of board games.. it joined an example for one of our local games ;)

Apparently the good question is: What is the easiest java tool to create board games?.

Attached image(s)

  • Attached Image

Was This Post Helpful? 0
  • +
  • -

#12 Flukeshot  Icon User is offline

  • A little too OCD
  • member icon

Reputation: 415
  • View blog
  • Posts: 1,030
  • Joined: 14-November 12

Re: JAVA Games

Posted 18 January 2014 - 03:24 PM

I might begin to sound like a broken record to some of the long-term users of DIC, but the most relevant answer to your question is another question:

How much knowledge of Java do you currently have?

It's great to have the drive to build games, but more important to have the fundamental knowledge. I've seen so many developers crash and burn because all they want to do is create a game.

Simply making the journey towards becoming a software developer will enlighten you to the tools you need to use for the task.
Was This Post Helpful? 2
  • +
  • -

#13 jon.kiparsky  Icon User is online

  • Pancakes!
  • member icon


Reputation: 7649
  • View blog
  • Posts: 12,902
  • Joined: 19-March 11

Re: JAVA Games

Posted 18 January 2014 - 03:28 PM

I don't know of a generalized library for board games (it might exist, but I don't know about it). I would suggest you try to build a single game first, and possibly develop a library of your own once you have an idea of what you need.

You say you're a beginner at Java, so you'll have to start small and work up. If you ask me, I'd tell you to start with a console-based representation of a simple game - either one from your country, or if you know tic-tac-toe, try that. (it's the simplest game I know of, and it's a common exercise for beginners)

Some thoughts about the architecture - this might seem like it's going over your head, but bear with me.

You want to make sure you don't tie the display part of the game to the logic part. What I mean by this is that you should separate the part of your game that calculates the state of the board from the part that displays it.

You should probably start by displaying the board on the console - don't worry about graphics yet, just get the game to play correctly and print something like

 
/ / / / / /  / / 
/   /  / /  / / /
          
/ / 
/ /   /    / * / 

*  
* *    *  *  *  *
* * * * * * * * * 



to represent the positions of the pieces. (I'm basing this on the photo you provided - / represents a stick, * represents a nut or a stone, I can't tell from the picture)

Once you have the game playing correctly, you can learn how to use Swing (the standard graphics library included with Java) to display a prettier game board.

Taking it one piece at a time will make it a lot easier to get to the end.

Good luck!

This post has been edited by jon.kiparsky: 18 January 2014 - 03:29 PM

Was This Post Helpful? 2
  • +
  • -

#14 ABICH  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 14
  • Joined: 17-January 14

Re: JAVA Games

Posted 18 January 2014 - 04:11 PM

I said am beginner in game programing. I have basics in Java and C++ knowlegdes, I have done some Java apps (including Swing and other libraries .. ) during my college years. Now after working in different domain i start to revise programming in Java and i think i have now enough basics to begin in games.
I have alraedy seen some games code in Internet but i wanted to create an original game(starting with dying games in my country..).

Thank you all for your help.
Was This Post Helpful? 0
  • +
  • -

#15 Flukeshot  Icon User is offline

  • A little too OCD
  • member icon

Reputation: 415
  • View blog
  • Posts: 1,030
  • Joined: 14-November 12

Re: JAVA Games

Posted 18 January 2014 - 04:20 PM

If you think you're advanced enough to start learning game development, there are libraries like OpenGL and LWJGL that have been created specifically for creating graphic intensive java applications. OpenGL is not Java specific, but it can be used with Java. The easiest library to set up, in my opinion, is LWJGL. Here is the main website.
Was This Post Helpful? 1
  • +
  • -

  • (2 Pages)
  • +
  • 1
  • 2