a JAVA RPG?

Hello, though I am new to creating games with JAVA, I’m not new to game creation or Java. :stuck_out_tongue:

My goal is to create a 2D RPG using JAVA. I’m not exactly sure how to go about it, so far I’ve just been working on my class hierarchies.

I’ve got a few questions:

-Can you/ how can you save data in such a game?

-Should I use an applet to run this?

-how do I begin to go about setting up 2d graphics?

I have a bit of experience with 2D graphics using C++; I’ve just never done it in JAVA.

Hi,

ps: sorry about my broken english

I’d perfer it to run as an application: do you know where I can find a tutorial on that, or how would I do it?

[quote]I’d perfer it to run as an application: do you know where I can find a tutorial on that, or how would I do it?
[/quote]
If you do not know java at all you’d better to start with the java tutorial or look on google for ‘thinking in java’, it is a great free book that willl get you started.
btw to run you game as an application you have to declare a method like this :
public static void main(String args[]) {}
Your class has to be public too I think.

I do know a bit of JAVA, but I’m still learning.

I do know how to create a main :-/ I just thought there may be a different decleration to make it an application, like an exe.

archiving your application in a .jar file is the step you’ll go through after creating your application. With the proper contents, it’ll run by double-clicking it on any machine with Java properly installed.

I wrote a 2D graphical roguelike RPG to tach myself how to code in Java.

It’s now reasonably well developed, and it’s fully open source if you want to have a look at some internals:

http://tyrant.sourceforge.net

Ahh, now thats the good stuff!

I have been looking for a thread like this for two weeks. :smiley: I have an application and wanted to be able to run it on a computer with out a compilier. I asked on two other forums but you guys just answered it. I archive it into a .jar file not a .exe, now I know what I am looking for I can I can finish my program. Thanks. Oh and I know about applets I can jsut never get them to publish on my page correctly.

http://java.sun.com/docs/books/tutorial/getStarted/cupojava/win32.html
And of course a famous command line “java -jar program.jar”
Don’t forget to setup manifest properly.