Hi !
Featured games (87)
games approved by the League of Dukes
Games in Showcase (670)
Games in Android Showcase (194)
games submitted by our members
Games in WIP (727)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
   Home   Help   Search   Login   Register   
  Show Posts
Pages: [1]
1  Game Development / Newbie & Debugging Questions / Re: Seperate files and methods on: 2004-08-01 05:18:36
Thanks, I actually wound up stumbling across the answer after I realised I'd used other stuff from that class by just using classname.resource

Btw:  Any question I ask is a last resort, I've read through the java tutorial, googled the error messages and have finally come here.

Roll Eyes
2  Game Development / Newbie & Debugging Questions / Seperate files and methods on: 2004-08-01 00:41:41
'lo All.

Excuse the stupidity (I have a feeling I'll be saying that in this forum a fair bit) but:

If classes foo and bar in files and exist, and the main method is in in the foo.class, how can I call a method in bar?

I can call myBar = new bar from the main method in foo to create a new instance of a class, but for syntax clarity I'd like to move some of the methods from my ever growing program into other files.  I just get cannot resolve symbol.


3  Game Development / Newbie & Debugging Questions / Re: Urgh.  Why doesn't "=" work. &n on: 2004-07-28 03:48:57

A straight, intelligible, non-condescending answer in a web forum which answered specifically my question.


Thankyou so much, I'm gonna stick around here.
4  Game Development / Newbie & Debugging Questions / Re: Socket and/or Multi-player Card Game Tutorials on: 2004-07-28 02:37:14
The socket tutorial at is the bomb, but try doing a google search on java socket programming or chat server java for more supporting detail.  The sun tutorial goes from the very simple one client one server to getting involved with some knock knock game garbage without paying much attention to what people probably want to know inbetween.

Good luck :-)
5  Game Development / Newbie & Debugging Questions / Urgh.  Why doesn't "=" work.   on: 2004-07-28 02:32:24
Ok, classic n00b question:

The following snippet of code is from a socket based text game (yeah, yeah, ANOTHER mud...) I can't make the server understand the input from the user.  I can replace the entire if statement with out.println(Command) and it will echo whatever you type to it, but if you try to perform an operation on the Command (compare it to say "q", quitting if it matches) it simply ignores the input.  What am I doing wrong?

 while((Command = in.readLine()) != null){
          if(Command == "q"){
          do something

Regards,  Huh
Pages: [1]
IanParcs (36 views)
2016-04-18 14:18:53

KaiHH (36 views)
2016-04-18 08:35:41

KaiHH (67 views)
2016-04-15 12:43:58

theagentd (67 views)
2016-04-14 02:16:17

theagentd (74 views)
2016-04-14 02:15:43

IanParcs (67 views)
2016-04-12 03:51:16

IanParcs (37 views)
2016-04-12 03:50:03

IanParcs (33 views)
2016-04-12 03:49:54

IanParcs (30 views)
2016-04-12 03:49:52

IanParcs (38 views)
2016-04-12 03:49:52
Website offering 3D Models specifically for games for free
by vusman
2016-04-29 12:56:17

List of Learning Resources
by SilverTiger
2016-02-05 09:39:47

List of Learning Resources
by SilverTiger
2016-02-05 09:38:38

List of Learning Resources
by SilverTiger
2016-02-05 09:35:50

Rendering resources
by Roquen
2015-11-13 14:37:59

Rendering resources
by Roquen
2015-11-13 14:36:58

Math: Resources
by Roquen
2015-10-22 07:46:10

Networking Resources
by Roquen
2015-10-16 07:12:30 is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!