Topic:   [Java] Getting Started with Java   (Read 61552 times)


0 Members and 4 Guests are viewing this topic.

WarHampster


  • GMG Extraordinaire

  • ***


  • Posts: 1501

  • The People's Moderator
    • Arcade of the Absurd
Re: [Java] Getting Started with Java
« Reply #15 on: May 15, 2009, 11:34:32 AM »
The problem with java is that it leaves out so many important features in an attempt to be safe... you can't use pointers, access memory directly, ect.
« Last Edit: May 15, 2009, 11:34:53 AM by WarHampster »

Gan


  • Administrator

  • ^ This guy is amazing.

  • *****


  • Posts: 4411
Re: [Java] Getting Started with Java
« Reply #16 on: May 15, 2009, 03:59:57 PM »
Those safe precautions only take effect for Java applets. They can be thrown away by having a security window pop-up asking the user to trust this applet.


-Gandolf

WarHampster


  • GMG Extraordinaire

  • ***


  • Posts: 1501

  • The People's Moderator
    • Arcade of the Absurd
Re: [Java] Getting Started with Java
« Reply #17 on: May 15, 2009, 09:52:38 PM »
I think that you still can't directly change memory...

Gan


  • Administrator

  • ^ This guy is amazing.

  • *****


  • Posts: 4411
Re: [Java] Getting Started with Java
« Reply #18 on: May 15, 2009, 09:57:42 PM »
I'm unsure what you mean when you say "access memory directly" or "directly change memory".


-Gandolf

Silverwind


  • ^ This guy is amazing.

  • ****


  • Posts: 2805

  • For the glory of my maker
Re: [Java] Getting Started with Java
« Reply #19 on: May 16, 2009, 03:08:35 AM »
I never pay heed to those technical "details" surrounding programming languages. The bottom line is that any language is capable of creating good games, and I'd I'd be inclined to think that anyone who says otherwise isn't a particularly good programmer.

Java's going pretty well for me btw, I've built a few output test apps and am learning the syntax structure. Once I become a veteran I'm gonna write an article or a short book describing it in plain English.
I survived the spammage of 2007

WarHampster


  • GMG Extraordinaire

  • ***


  • Posts: 1501

  • The People's Moderator
    • Arcade of the Absurd
Re: [Java] Getting Started with Java
« Reply #20 on: May 16, 2009, 12:49:43 PM »
Quote
I'm unsure what you mean when you say "access memory directly" or "directly change memory".

For example, making a pointer that explicitly references something in the computer's memory, and then directly manipulating said pointer.

Or using inline assembly... that kind of really complicated stuff :P


Quote
I never pay heed to those technical "details" surrounding programming languages.

-_-


On a random note, has anyone else here tried to learn C++? It's so similar to Java (which is really easy to learn in my opinion), but when ever I open an SDK and try some tutorials it seems really hard.

Silverwind


  • ^ This guy is amazing.

  • ****


  • Posts: 2805

  • For the glory of my maker
Re: [Java] Getting Started with Java
« Reply #21 on: May 16, 2009, 02:09:25 PM »
Quote
On a random note, has anyone else here tried to learn C++? It's so similar to Java (which is really easy to learn in my opinion), but when ever I open an SDK and try some tutorials it seems really hard.
Yeah, that's the way Java was for me last week, and yet what I've learned so far seems simple to me now. I think the reason I (and possibly many other aspiring programmers) find learning languages so hard is that nobody has written plain enough explanations.
I survived the spammage of 2007

Gan


  • Administrator

  • ^ This guy is amazing.

  • *****


  • Posts: 4411
Re: [Java] Getting Started with Java
« Reply #22 on: May 16, 2009, 04:10:26 PM »
Just updated the post a little. Getting ideas solid, though I may not have time to actually finish a tutorial until 2 weeks from now.

Silverwind, it would be great if you could read #7 on my post about the game; I'd like to know what you think about it or if you could help me out.


-Gandolf
« Last Edit: May 16, 2009, 04:10:36 PM by Gandolf »

Silverwind


  • ^ This guy is amazing.

  • ****


  • Posts: 2805

  • For the glory of my maker
Re: [Java] Getting Started with Java
« Reply #23 on: May 16, 2009, 06:00:53 PM »
Sure Gan, how can I help? Do you want me to make an RPG example, or is it just a grid nav you're looking for?

EDIT:

btw, I don't think I have the Java API docs Gan. Do you have a download link for the up to date version?
« Last Edit: May 16, 2009, 06:05:24 PM by Silverwind »
I survived the spammage of 2007

Gan


  • Administrator

  • ^ This guy is amazing.

  • *****


  • Posts: 4411
Re: [Java] Getting Started with Java
« Reply #24 on: May 16, 2009, 07:41:11 PM »
A simple grid nav with npc support would be great.

As for the API docs:
http://cds.sun.com/is-bin/INTERSHOP.enfinity/WFS/CDS-CDS_Developer-Site/en_US/-/USD/VerifyItem-Start/jdk-6u10-docs.zip?BundledLineItemUUID=oNRIBe.lwzYAAAEh9Q4_7Ev_&OrderID=n0pIBe.l.acAAAEh5A4_7Ev_&ProductID=vEZIBe.pSRoAAAEb288vh9aV&FileName=/jdk-6u10-docs.zip

It seems that all the java docs came when I installed Netbeans on my computer, when I installed Netbeans on another computer; it came with no javadoc. I am unsure how to install javadoc.
Though you may have some success experimenting with Tools -> Libraries.


-Gandolf
« Last Edit: May 16, 2009, 07:43:44 PM by Gandolf »

Silverwind


  • ^ This guy is amazing.

  • ****


  • Posts: 2805

  • For the glory of my maker
Re: [Java] Getting Started with Java
« Reply #25 on: May 17, 2009, 05:42:25 AM »
Ah, thanks for the docs. :) I'm on Sora's computer at the moment, but when I get back I'll start work on the nav right away. I think it's a great idea btw. :)
I survived the spammage of 2007

Gan


  • Administrator

  • ^ This guy is amazing.

  • *****


  • Posts: 4411
Re: [Java] Getting Started with Java
« Reply #26 on: May 18, 2009, 07:35:49 AM »
:) Thanks.

Quote
On a random note, has anyone else here tried to learn C++? It's so similar to Java (which is really easy to learn in my opinion), but when ever I open an SDK and try some tutorials it seems really hard.
Yeah, I've tried that before. Very tough stuff, so I just decided to go with the next thing up.


-Gandolf
« Last Edit: May 18, 2009, 07:37:30 AM by Gandolf »

Silverwind


  • ^ This guy is amazing.

  • ****


  • Posts: 2805

  • For the glory of my maker
Re: [Java] Getting Started with Java
« Reply #27 on: May 18, 2009, 03:17:44 PM »
I've updated the V6 Grid Navigation example to include an NPC routine. You can download the update on the Roguesoft Website: http://www.roguesoft.co.uk/MacGameMakerStuff.html

If you want me to add more just ask. :)
I survived the spammage of 2007

Gan


  • Administrator

  • ^ This guy is amazing.

  • *****


  • Posts: 4411
Re: [Java] Getting Started with Java
« Reply #28 on: May 18, 2009, 05:39:27 PM »
Awesome. :D
I'm thinking it'll only take an hour for the first few tutorials, than a couple for the last. I will make time, though these 2 weeks will be extremely hectic.


-Gandolf

Gan


  • Administrator

  • ^ This guy is amazing.

  • *****


  • Posts: 4411
Re: [Java] Getting Started with Java
« Reply #29 on: May 18, 2009, 06:01:18 PM »
Small change. The tutorials will be video tutorials with detailed instructions under the tutorial.


-Gandolf