Simple ORPG

  • Lunar Engine v0.2.6 is out now! Download and check it out here. The map editor is also now fixed!

unknown

Member
Member
Apr 26, 2009
43
0
0
Gold
0
#1
Background
I wanted to make an open source ORPG in Java using Slick, Tiled for maps and Odyssey graphics. I made most of this in one day, and have been adding onto it since then. I plan on making an open source game out of this, and also maintaining the engine that results from it.

Current Features
  • Walk around from map to map
  • See other players
  • Open chat by pressing Tab
  • A couple commands like /setname <name> /who and /broadcast <message>
  • Login/new account system with a connection pool
  • Mysql database support
  • The code is very simple and easy to read

Screenshots


Download Client Build (Windows)
Download Client Build (Mac)
or git the source here

Guides
Setup your development environment using Eclipse and Git
  1. Download the latest version of Eclipse
  2. Download and setup git. I recommend using github's setup guide
  3. Download all the required libraries and extract them to somewhere on your drive (I use C:/libs) log4j Slick, lwjgl, artemis
  4. Open up git bash cd into your Eclipse workspace and type git clone <!-- m --><a class="postlink" href="https://[email protected]/coxry/SimpleOrpg.git">https://[email protected]/coxry/SimpleOrpg.git</a><!-- m --> If you decide to build off of my code, and maintain your own github repo it's best to fork instead of clone
  5. Open up Eclipse go to File > New > Java Project and make the project name SimpleOrpg
  6. Right click the project (SimpleOrpg) on the left hand side and select Properties. Navigate to Java Build Path. Click Add External JARs. Browse to the Libraries you downloaded earlier (log4j, slick, lwgl, artemis)
  7. While you're still in the Java Build Path click the drop down for lwgl.jar. Click Native library location and browse to lwgl's native folder for your operating system.

Building Server.jar
  1. Export it as a runnable jar with the resources on the outside
  2. Open it with winzip deleting out any client entries
  3. java -jar <serverpath> from the console to start the server

Building Client.jar
  1. Export it as a runnable jar with the resources on the outside
  2. Use JarSplice to add in natives
  3. Open it with winzip deleting out any server entries

*If you find any bugs please post it here, send me a PM or better yet add it on the git issue tracker
 

unknown

Member
Member
Apr 26, 2009
43
0
0
Gold
0
#4
Thanks, the downloads are actually builds (I edited my original post to make that more clear).. Just double click run-client-win.jar to run the client or run-server.bat to run the server. Edit client.properties to configure where you're connecting to. Edit server.properties to configure starting map and the port.