Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Simple ORPG
#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 /who and /broadcast
  • Login/new account system with a connection pool
  • Mysql database support
  • The code is very simple and easy to read

Screenshots
[spoiler][Image: WGnXMl.png]

[Image: W9T5vl.png][/spoiler]
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 https://YOURUSERNAME@github.com/coxry/SimpleOrpg.git 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 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
Reply
#2
Looks good from what I can see in the topic, can't try it right now though. Only have netbeans installed atm.
Reply
#3
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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)