•2 years ago
Archived
Hello all, I am currently studying software eng. at my university and have covered Java quite a bit including OOP and learning some data structures. As summer is approaching, I want a good way to practice and have fun at the same time so I thought I'd go for making my first game, a 2D RPG.
A little game code with java and eclipse. The commentary of the program is only in french and is not finish. Oh, and if somebody read this: 'Lucky man, you win a coockie'. I am looking into building a smallish Java rpg. I haven't found any good examples of a RPG engine that would be the most powerful yet most stable for an experienced Java programmer. Any and all types. I just want to learn as much as possible about what is out there. 2d, 3d, or Isometric. Thanks in advance everyone.
I know that Java probably isn't the best language for this but it is the language I am interested in fully mastering, at the moment. I'm looking for a step in the right direction (text or video tutorials). I've found most of the popular tutorial links from google to be quite confusing/poorly written or try to appeal to people with no coding knowledge. Thanks for your help!
19upvotes•16comments
Active1 year, 2 months ago
I was thinking about taking on an rpg project in Java from scratch but I have never tried doing much in the way of Java games. It's not going to be very graphically intense; it is going to be 2-D and I want to use a style similar to the older, tile-based RPGs. I was wondering if there were any useful tools that anyone thinks may help.
Currently, I only have Eclipse and NetBeans; any input/suggestions are appreciated! Thank you!
Shane FitzgeraldShane Fitzgerald
3 Answers
For developing a 2D Java game from scratch, a good 2d game engine is still needed.
I recommend slick, one picture that you may be interested in(from its gallery)
JGame is also an option. It supports Eclipse: http://www.13thmonkey.org/~boris/jgame/eclipse.html
A good article for introducing JGame: http://www.javaworld.com/javaworld/jw-12-2006/jw-1205-games.html
吳強福吳強福
I wrote a tile-based Java roguelike/RPG many years ago using just plain vanilla Eclipse. Worked fine for me.
Full source code here if you are interested (GPL open source): Converter pdf em word online.
Nowadays I would probably also add the following tools:
- Maven (m2eclipse) - for handling dependencies / 3rd party libraries
- EGit / Github - for source code control
- Photoshop - for creating and touching up graphics tiles
Java Rpg Game Source Code
mikera88.4k1919 gold badges228228 silver badges380380 bronze badges
I'm going to be a devil's advocate and tell you about Steve Yegge's adventures developing a Java-based RPG, named Wyvern (sadly now defunct). His view, as I understood it, was that Java made the code too complex to maintain; it got to half a million lines long, at one stage.
Sure, you might say your game won't get that big. But don't underestimate the power of scope creep. :-)
Java Rpg Game Tutorial
Qtp download free full version. Nevertheless, some successful games are indeed written in Java. mikera's answer is one example, as are games like Runescape or Minecraft. But still, if your game has the potential to get big, Java probably still isn't (in my opinion, and it seems Steve Yegge's also) your best choice.
Chris Jester-YoungChris Jester-Young189k3939 gold badges351351 silver badges405405 bronze badges