Java Tutorials Request

  • (4 Pages)
  • +
  • « First
  • 2
  • 3
  • 4

56 Replies - 50869 Views - Last Post: 27 October 2014 - 08:20 AM Rate Topic: -----

#46 jon.kiparsky  Icon User is online

  • Pancakes!
  • member icon


Reputation: 8001
  • View blog
  • Posts: 13,706
  • Joined: 19-March 11

Re: Java Tutorials Request

Posted 24 July 2013 - 06:43 AM

xvscvx, how likely do you think it is that greenpool is still waiting around for that particular tutorial?
Was This Post Helpful? 1
  • +
  • -

#47 xvscvx  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 8
  • Joined: 06-September 12

Re: Java Tutorials Request

Posted 24 July 2013 - 07:39 AM

View Postjon.kiparsky, on 24 July 2013 - 06:43 AM, said:

xvscvx, how likely do you think it is that greenpool is still waiting around for that particular tutorial?


I posted and noticed dont hate man... was just trying to be helpful... :(
Was This Post Helpful? 0
  • +
  • -

#48 jon.kiparsky  Icon User is online

  • Pancakes!
  • member icon


Reputation: 8001
  • View blog
  • Posts: 13,706
  • Joined: 19-March 11

Re: Java Tutorials Request

Posted 24 July 2013 - 08:04 AM

It's cool, mate. Thanks for trying to help.
Was This Post Helpful? 0
  • +
  • -

#49 Warsaw  Icon User is offline

  • D.I.C Head

Reputation: 1
  • View blog
  • Posts: 79
  • Joined: 04-August 13

Re: Java Tutorials Request

Posted 14 October 2013 - 03:18 PM

are there any tutorials on java2d graphics, such as ray tracing and/or texture mapping? preferably using object oriented approach...most of the ones i found from using google use maths.
Was This Post Helpful? 0
  • +
  • -

#50 Ryano121  Icon User is offline

  • D.I.C Lover
  • member icon

Reputation: 1363
  • View blog
  • Posts: 3,002
  • Joined: 30-January 11

Re: Java Tutorials Request

Posted 14 October 2013 - 03:22 PM

That's because that kind of thing is very math heavy. Why would an object oriented approach be any different?
Was This Post Helpful? 0
  • +
  • -

#51 DADDYCARDONA  Icon User is offline

  • D.I.C Head

Reputation: 1
  • View blog
  • Posts: 67
  • Joined: 04-July 10

Re: Java Tutorials Request

Posted 16 February 2014 - 04:12 AM

Yes I would love a tutorial on how you think about solutions and why you think them things about solutions. For instance, I am not new but have not touch Java in a long time, the only time I really do anything in the language is for school. I am tired of learning it and then trying something for myself and failing miserably. The reason I fail is not that I don't know what I want to do, is I do not know how to achieve what I want in the langauge. I use Eclipse Indio, for some reason it worked better for me with File reading and buffing and stuff of that nature the other one had issues with this information. Ok that was not so important but let me give you and example, I looked up how to code the snake game and basically rewrote what the person taught me, however I did not learn enough from that and tutorials. Looking deepr into it with his extensive commenting making easy to understand what he was doing I was unable to come up with an agolrythim like his on my own. This code confused me but is not to difficult for some of you experts to understand why they did this and how you come up with it. Like this code a little lengthy but as example, even though it is not so hard after he explains but what would make him come up or some you all come up with this awesome stuff? :)/>

		private void spawnFruit() {
		//Reset the score for this fruit to 100.
		this.nextFruitScore = 100;

		/*
		 * Get a random index based on the number of free spaces left on the board.
		 */
		int index = random.nextInt(BoardPanel.COL_COUNT * BoardPanel.ROW_COUNT - snake.size());
		
		/*
		 * While we could just as easily choose a random index on the board
		 * and check it if it's free until we find an empty one, that method
		 * tends to hang if the snake becomes very large.
		 * 
		 * This method simply loops through until it finds the nth free index
		 * and selects uses that. This means that the game will be able to
		 * locate an index at a relatively constant rate regardless of the
		 * size of the snake.
		 */
		int freeFound = -1;
		for(int x = 0; x < BoardPanel.COL_COUNT; x++) {
			for(int y = 0; y < BoardPanel.ROW_COUNT; y++) {
				TileType type = board.getTile(x, y);
				if(type == null || type == TileType.Fruit) {
					if(++freeFound == index) {
						board.setTile(x, y, TileType.Fruit);
						break;
					}
				}
			}
		}
	}


Was This Post Helpful? 0
  • +
  • -

#52 GregBrannon  Icon User is offline

  • D.I.C Lover
  • member icon

Reputation: 2205
  • View blog
  • Posts: 5,239
  • Joined: 10-September 10

Re: Java Tutorials Request

Posted 16 February 2014 - 04:45 AM

Practice and experience. With those you'll build confidence and broaden your tool set. There isn't really a single tutorial that can give you those. Even if there were several that could (and I'm not sure there are), how you do them and what you get from them is largely up to you.

I suggest that your occasional dips into programming have been too widely spaced and haven't followed a structured learning approach that builds on what you've learned, requiring lots of practice to cement that knowledge into skills you'll be able to apply confidently and consistently for some time.

The typical try/fail pattern is to learn a little and then jump enthusiastically up the programming language, significantly higher than one has the foundation to support. This leap is usually with the hope of accomplishing the programmer's ideal project (usually a graphical game), ultimately finding that one doesn't have the knowledge, experience, or confidence to proceed when the going gets tough.

Be patient. Follow a sane course of learning - on your own is fine - and master each step before going to the next. A basic foundation should be built that includes the mastery of a beginning Java programming book to include basic and intermediate GUI and painting.

After that, you should refer to Mac's"Getting Better At Programming" topic. It's an excellent guide, but it may lack the resources needed to pursue each step. Finding those may be largely up to the explorer.
Was This Post Helpful? 1
  • +
  • -

#53 DiscFire  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 20
  • Joined: 04-April 14

Re: Java Tutorials Request

Posted 07 April 2014 - 09:45 AM

How to write an IRC server - mine is almost working but I need somebody elses code to see why I keep getting a ConcurrentModificationException.
Was This Post Helpful? 0
  • +
  • -

#54 lfernandez93  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 2
  • Joined: 28-May 14

Re: Java Tutorials Request

Posted 28 May 2014 - 08:27 PM

You can check this they have pretty good documentation about Java
Was This Post Helpful? 0
  • +
  • -

#55 mike73  Icon User is offline

  • D.I.C Addict

Reputation: 164
  • View blog
  • Posts: 645
  • Joined: 24-April 10

Re: Java Tutorials Request

Posted 12 June 2014 - 07:14 AM

I'm not 100% where to stick this, but I found this nice resource for beginners, that covers quite a few topics and even has some practice exercises: Java notes
Was This Post Helpful? 0
  • +
  • -

#56 Ungoliant  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 20
  • Joined: 27-October 14

Re: Java Tutorials Request

Posted 27 October 2014 - 08:15 AM

Can i get help making a simple transpositional cipher, where you give the computer a sentence and it divides it by 3 and switches the order around. I'm really don't understand and i need help, please.
Was This Post Helpful? 0
  • +
  • -

#57 macosxnerd101  Icon User is online

  • Self-Trained Economist
  • member icon




Reputation: 10803
  • View blog
  • Posts: 40,273
  • Joined: 27-December 08

Re: Java Tutorials Request

Posted 27 October 2014 - 08:20 AM

We have quite a few cryptography tutorials, such as pbl's Caesar Cipher tutorial. You can find these tutorials indexed here: http://www.dreaminco...esource-thread/
Was This Post Helpful? 0
  • +
  • -

  • (4 Pages)
  • +
  • « First
  • 2
  • 3
  • 4