Results 1 to 15 of 15
Like Tree3Likes
  • 3 Post By kjkrum

Thread: The path to an "MMO"

  1. #1
    Join Date
    Jun 2011
    Posts
    6
    Rep Power
    0

    Default The path to an "MMO"

    Hello guys, I am new to the forums and to Java, I have some previous coding experience with VB but not a whole lot (I know stuff like Variables, Logical Operators, etc.). I am dreaming of making an online multiplayer game, just like an MMO, but of course, it will not be "massive", but the term "MMO" is rather used commonly for any game that can have servers and clients on it. I am also not asking directly right away to how to make an MMO, but rather what tutorials, things, and steps I should take before actually getting into an MMO, I've spent days looking for an engine but they're all either too good, or too bad... So I want to make a game myself, but I KNOW that I can't just jump into advanced coding, so I want to know, are there any recommended videos, tutorials, etc, to help me to the path of making the online game? Also, my game will be in 2-D because my computer isn't really that good with 3D stuff (one of the reason why I didn't use some of the engines).

    Thanks all!
    Last edited by DeliciousTomatoesYay; 06-14-2011 at 04:05 PM.

  2. #2
    KevinWorkman's Avatar
    KevinWorkman is offline Crazy Cat Lady
    Join Date
    Oct 2010
    Location
    Washington, DC
    Posts
    4,001
    Rep Power
    10

    Default

    You might not like this, but my advice is to start much smaller. Write pong first, then move onto something like asteroids. Work your way up instead of jumping in head first. There are a ton of resources and code examples out there, I'd recommend googling "java tutorials" for a start, then get more specific with stuff like keyboard controls, GUI design, painting, collision detection, etc.
    How to Ask Questions the Smart Way
    Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!

  3. #3
    dlorde is offline Senior Member
    Join Date
    Jun 2008
    Posts
    339
    Rep Power
    7

    Default

    Wise words, Kevin.

  4. #4
    Join Date
    Jun 2011
    Posts
    6
    Rep Power
    0

    Default

    Thanks Kevin, I have already pointed out that I won't jump right into MMOs so the path is to make smaller games first and work my way up? Gotcha! ;) Any recommended tutorials, though?

  5. #5
    KevinWorkman's Avatar
    KevinWorkman is offline Crazy Cat Lady
    Join Date
    Oct 2010
    Location
    Washington, DC
    Posts
    4,001
    Rep Power
    10

    Default

    Start here: The Java™ Tutorials
    Then when you get to GUIs, go here: Trail: Creating a GUI With JFC/Swing (The Java™ Tutorials)
    And when you get to custom painting, read this: Painting in AWT and Swing
    Also, the API is your best friend: Java Platform SE 6
    How to Ask Questions the Smart Way
    Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!

  6. #6
    Join Date
    Jun 2011
    Posts
    6
    Rep Power
    0

    Default

    Thanks Kevin! Also wondering, what about the server + client thingie? :O

  7. #7
    KevinWorkman's Avatar
    KevinWorkman is offline Crazy Cat Lady
    Join Date
    Oct 2010
    Location
    Washington, DC
    Posts
    4,001
    Rep Power
    10

    Default

    Quote Originally Posted by DeliciousTomatoesYay View Post
    Thanks Kevin! Also wondering, what about the server + client thingie? :O
    That's honestly a bit out of my depth, but again, I wouldn't worry about it until you've mastered pong, etc. A quick google of "java socket tutorial" yielded some promising results, but like I said, that's not really my forte.
    How to Ask Questions the Smart Way
    Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!

  8. #8
    Toll's Avatar
    Toll is offline Senior Member
    Join Date
    May 2011
    Location
    Sweden
    Posts
    392
    Rep Power
    4

    Default

    Not knowing how network-programming is outside of Java, I've always found Javas networking to be rather straight-forward. Make a serversocket in your server, a socket in your client, connect and you can get output-and input-streams, just like using files.

  9. #9
    kjkrum's Avatar
    kjkrum is offline Senior Member
    Join Date
    Apr 2011
    Location
    Tucson, AZ
    Posts
    1,060
    Rep Power
    6

    Default

    Have you ever played a text-only MUD or BBS door? That might be another approach to starting small. Instead of starting with simple graphics and then learning networking, start with simple networking and then add graphics.
    KevinWorkman, Toll and JDScoot like this.
    Get in the habit of using standard Java naming conventions!

  10. #10
    Toll's Avatar
    Toll is offline Senior Member
    Join Date
    May 2011
    Location
    Sweden
    Posts
    392
    Rep Power
    4

    Default

    That's actually a great suggestion. I'm rather ashamed that I didn't think of that, given that I play a MUD and made my own client for it. Besides, you can do a whole lot more than just simple network programming with it; my client is currently up to a little over 500k of written code.

  11. #11
    Join Date
    Jun 2011
    Posts
    6
    Rep Power
    0

    Default

    Thanks guys!

  12. #12
    JDScoot is offline Member
    Join Date
    Jun 2011
    Location
    San Diego, CA
    Posts
    24
    Rep Power
    0

    Default

    Excellent suggestion kjkrum. Now I'm inspired to create a MUD

    @DeliciousTomatoesYay
    Here are some basic Java networking tutorials in the tutorials forum.

    http://www.java-forums.org/java-tuto...ramming-i.html

    http://www.java-forums.org/java-tuto...amming-ii.html

  13. #13
    Join Date
    Jun 2011
    Posts
    6
    Rep Power
    0

    Default

    Thanks JDScoot!

    Also, I've went on Youtube to check out what those MUDs were, they were.. eh.. Kinda like a forum RP! XD Do you recommend me to make a MUD later on as a good experience or making MUD for somewhat experience??

  14. #14
    Toll's Avatar
    Toll is offline Senior Member
    Join Date
    May 2011
    Location
    Sweden
    Posts
    392
    Rep Power
    4

    Default

    Personally, I'd suggest making a client for a MUD. It doesn't really have to be very fancy for starters; just a textarea for the MUD output and a textfield for what you send to the MUD. Toss in a socket to be able to connect to the MUD, and read/write using that. At least that's what it boils down to; code-wise, it's a little more.

  15. #15
    Join Date
    Jun 2011
    Posts
    6
    Rep Power
    0

Similar Threads

  1. Replies: 3
    Last Post: 10-12-2010, 05:21 PM
  2. Java, Military Format using "/" and "%" Operator!!
    By sk8rsam77 in forum New To Java
    Replies: 11
    Last Post: 02-26-2010, 04:03 AM
  3. Replies: 1
    Last Post: 01-21-2010, 10:20 AM
  4. Replies: 2
    Last Post: 01-24-2009, 07:56 PM
  5. Replies: 1
    Last Post: 10-20-2008, 08:35 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •