Java-Gaming.org    
Featured games (81)
games approved by the League of Dukes
Games in Showcase (487)
Games in Android Showcase (110)
games submitted by our members
Games in WIP (552)
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: New - Making Friends! on: 2009-03-17 16:45:17
Awesome. Thanks

Output:

Good morning! It's 6 AM!
Good night! It' 9 PM.


Works great Smiley.
2  Game Development / Newbie & Debugging Questions / Re: New - Making Friends! on: 2009-03-17 07:22:50
So i was dipping my feet into another read. And was doing an excercise.

"Use what you learned and make somthing or other"

Learned about.. variables, fields. and whatever else. So i figured "hm. ill make a pretend time zone that skips ten minited every second.

Anyways it doesnt work. And here i am Smiley. Im not sure but after i commented out stuff and changed things around ive come to the conclusion int's cant be altered? Lmao. idk im a slow learner sry. this is my 1st week at trying to learn Smiley. well here it is.









class Timee {
    public static void main(String[] args) {
       boolean Count=true;
       int min = 0;
       int hr = 5;
       int day = 1;
       int month = 1;
       
       while(Count){
          //System.out.println("Loop restarted");
          min ++;
          if(min >= 60);
             min = 0;
             hr+=1;
             if(hr >= 24);
                hr=0;
                day+=1;
                if(day==31);
                   month+=1;
                   if(month==12);
                      month=1;
          if(hr==6){
             System.out.println("Good morning! It's 6 AM!");
          }
          else if(hr==21){
             System.out.println("Good night! It' 9 PM.");
          }
          try {
             Thread.sleep(100);
          }
             catch (InterruptedException x) {
             
             }

       }
    }
}








What did i learn? Let the pros help me Smiley. lol.
3  Game Development / Newbie & Debugging Questions / Re: New - Making Friends! on: 2009-03-16 16:55:24
Thanks for the replys. Im gonna try out the other IDEs and see how they feel. I may become a regular newb looking for help after i get started and finish another book or 2. Thanks for your help guys.  Smiley.
4  Game Development / Newbie & Debugging Questions / New - Making Friends! on: 2009-03-16 06:54:34
Hello everyone. Im new to programming in java. Figured id establish a nice forum to be a regular pest on. Anyways.

I've just finished reading the book "Beginning programming java for dummies".

Was a great read but very lack of knowledge. after the first 10 chapters everything became repetitive and was just a review pretty much. I picked up on alot but still need more information.

Can someone refer me to a post, or perhaps a link that will give me some src's/examples of some java that is heavily commented? I believe hands on is the best approach .

Preferably simple applications or games would be great.

I use JCreator for a compiler. (Please Suggest another if theres anything better)

Im pretty much looking to learn java to make some fun games when people are bored Tongue.

I've made games on a site called "Byond" for about 3 years. and just recently I came to realize how close thier language "DM" is to java. pretty much its all the same except procs are methods.. and everything is labled different Tongue. so help me learn!! Smiley.

Also if anyone has any other suggestions on another great read to get me started please let me know. thanks.
Pages: [1]
 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

CopyableCougar4 (23 views)
2014-08-22 19:31:30

atombrot (34 views)
2014-08-19 09:29:53

Tekkerue (30 views)
2014-08-16 06:45:27

Tekkerue (28 views)
2014-08-16 06:22:17

Tekkerue (18 views)
2014-08-16 06:20:21

Tekkerue (27 views)
2014-08-16 06:12:11

Rayexar (65 views)
2014-08-11 02:49:23

BurntPizza (41 views)
2014-08-09 21:09:32

BurntPizza (31 views)
2014-08-08 02:01:56

Norakomi (41 views)
2014-08-06 19:49:38
List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50

List of Learning Resources
by SilverTiger
2014-07-31 16:26:06

List of Learning Resources
by SilverTiger
2014-07-31 11:54:12

HotSpot Options
by dleskov
2014-07-08 01:59:08
java-gaming.org 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‑gaming.org
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!