Home » Community » Forums » » Java Game Programming Part I: The Basics
  Intel sponsors gamedev.net search:   
[Control Panel] [Register] [Bookmarks] [Who's Online] [Active Topics] [Stats] [FAQ] [Search]

Add Forum to Favorites |  Send Topic To a Friend | View Forum FAQ | Track this topic


 Last Thread Next Thread 
 Java Game Programming Part I: The Basics
Post Reply 
What do I input the Java code into?

 User Rating: 1015   |  Rate This User  Send Private MessageView Profile Report this Post to a Moderator | Link

The easiest way is to use Notepad, save your code as bleh.java and use javac to compile it to a .class file (You'll need to download JDK 1.4 from Sun Microsystems website).

Otherwise if you are used to IDE's like Interdev etc, I reccomend you download Forte for Java or NetBeans.

For more information im sure searching 'compiling java programs' in google will return some tutorials =)



 User Rating: 1015   |  Rate This User  Send Private MessageView Profile Report this Post to a Moderator | Link

java seems to be more accessible to the beginner than C/C++... sorta good since I would be considered a 'beginner'.

 User Rating: 1004   |  Rate This User  Send Private MessageView Profile Report this Post to a Moderator | Link

um, how do we make art or music in the game?

 User Rating: 1015    Report this Post to a Moderator | Link

From here you can download the SDK: www.javasoft.com
From here you can download a nice java IDE www.eclipse.org
For sound in java see: www.google.com

Lizard

 User Rating: 1071   |  Rate This User  Send Private MessageView Profile Report this Post to a Moderator | Link

great tutorial, an easy read and good thorough explanations. good job and thank you =].

 User Rating: 1015    Report this Post to a Moderator | Link

I found it to be a very good and wellwritten introduction to java applet game programming.

 User Rating: 1486   |  Rate This User  Send Private MessageView ProfileView Journal Report this Post to a Moderator | Link

hey, i get some sort of error telling me
"nosuchmethoderror" in runtime.

i tried everything i can think of,i even tried cuting and pasting the actual work in there. however it still gives me this blasted error.

can anyone help me?


 User Rating: 1015   |  Rate This User  Send Private MessageView Profile Report this Post to a Moderator | Link

coolImage = getImage(getCodeBase(), "dx3d.GIF");

I don't know why this line doesn't work for me.
So, I change it into the following line and it works.

coolImage = getToolkit().getImage("dx3d.GIF");



I have a question (maybe sounds stupid, but pls response ;-P).
What does getCodeBase() do?

 User Rating: 1015   |  Rate This User  Send Private MessageView Profile Report this Post to a Moderator | Link

What's the best way to view updated applets in the browser after code changes?

When I recompile code changes, and refresh the HTML file, it doesn't show the updates. I have to create a new class every time to see my changes. I've tried deleting the original .class file, erasing temporary internet files...still nothing. It keeps showing the last compile.

Help?

 User Rating: 1015   |  Rate This User  Send Private MessageView Profile Report this Post to a Moderator | Link

Quote:
Original post by LizardCPP
From here you can download the SDK: www.javasoft.com
From here you can download a nice java IDE www.eclipse.org
For sound in java see: www.google.com

Lizard

Just to be clear, the Eclipse IDE comes bundled with its own JIT compiler, so you don't need the Java SDK from SUN if you're just going to use Eclipse anyway.


. David Gill :: Facebook :: last.fm .

 User Rating: 1694   |  Rate This User  Send Private MessageView Profile Report this Post to a Moderator | Link

Question:In the main java web site do I download Java EE SDK; Im sort of lost can you tell me what downloads I need?

 User Rating: 1015   |  Rate This User  Send Private MessageView Profile Report this Post to a Moderator | Link

Quote:
Original post by AztecMinion
Question:In the main java web site do I download Java EE SDK; Im sort of lost can you tell me what downloads I need?


You need the Java SE SDK (Enterprise Edition is geared more for servers). Since I like NetBeans as an IDE, I would suggest that you get the Java SE SDK that comes with NetBeans (Here's the current stable version) That's all you should need for now.

Greggles

 User Rating: 1071   |  Rate This User  Send Private MessageView Profile Report this Post to a Moderator | Link

Thank you very much.

 User Rating: 1015   |  Rate This User  Send Private MessageView Profile Report this Post to a Moderator | Link

All times are ET (US)

Post Reply
 Last Thread Next Thread 
Forum Rules:
You may not post new threads
You may post replies
You may not edit your posts
You may not use HTML in your posts
Jump To:
Administrative Options: