• Announcements

    • khawk

      Download the Game Design and Indie Game Marketing Freebook   07/19/17

      GameDev.net and CRC Press have teamed up to bring a free ebook of content curated from top titles published by CRC Press. The freebook, Practices of Game Design & Indie Game Marketing, includes chapters from The Art of Game Design: A Book of Lenses, A Practical Guide to Indie Game Marketing, and An Architectural Approach to Level Design. The GameDev.net FreeBook is relevant to game designers, developers, and those interested in learning more about the challenges in game development. We know game development can be a tough discipline and business, so we picked several chapters from CRC Press titles that we thought would be of interest to you, the GameDev.net audience, in your journey to design, develop, and market your next game. The free ebook is available through CRC Press by clicking here. The Curated Books The Art of Game Design: A Book of Lenses, Second Edition, by Jesse Schell Presents 100+ sets of questions, or different lenses, for viewing a game’s design, encompassing diverse fields such as psychology, architecture, music, film, software engineering, theme park design, mathematics, anthropology, and more. Written by one of the world's top game designers, this book describes the deepest and most fundamental principles of game design, demonstrating how tactics used in board, card, and athletic games also work in video games. It provides practical instruction on creating world-class games that will be played again and again. View it here. A Practical Guide to Indie Game Marketing, by Joel Dreskin Marketing is an essential but too frequently overlooked or minimized component of the release plan for indie games. A Practical Guide to Indie Game Marketing provides you with the tools needed to build visibility and sell your indie games. With special focus on those developers with small budgets and limited staff and resources, this book is packed with tangible recommendations and techniques that you can put to use immediately. As a seasoned professional of the indie game arena, author Joel Dreskin gives you insight into practical, real-world experiences of marketing numerous successful games and also provides stories of the failures. View it here. An Architectural Approach to Level Design This is one of the first books to integrate architectural and spatial design theory with the field of level design. The book presents architectural techniques and theories for level designers to use in their own work. It connects architecture and level design in different ways that address the practical elements of how designers construct space and the experiential elements of how and why humans interact with this space. Throughout the text, readers learn skills for spatial layout, evoking emotion through gamespaces, and creating better levels through architectural theory. View it here. Learn more and download the ebook by clicking here. Did you know? GameDev.net and CRC Press also recently teamed up to bring GDNet+ Members up to a 20% discount on all CRC Press books. Learn more about this and other benefits here.
Sign in to follow this  
Followers 0
Darego

a few questions

18 posts in this topic

hi there,

i have just finished my 3rd semester in college (3 modules of java so far, covered nearly all the language features excepted threads so far). i want to start on some small games in the next few days. i'll start with tic tac toe and build my way up to games like pac man etc then eventually move on to small tile based games to get me started.

now my questions (and i know i am a long way away from getting a game like this done):

i am dying to make a replica of a 2d tile based mmorpg game i used to play (links of the game at the end) so i was wondering what goes into making a game like that? coding up the client/server/map editor etc

how long away am i to even think about starting on a game like that? a 2d tile based mmorpg with thousands of server map tiles with servers that can support 2/3/4 hundred people. since i am only starting games like tic tac toe now i would eventually have to start looking into small tile based games after to start on

would it be possible to code the client/server and everything else in java? or would i need more languages to get it finished (i know of a guy who himself did what i want to do and made a replica of this game by himself, although he coded his game in c++. there is also a link to his replica game at the end), because i see a lot more game libraries for c++


btw i am only talking about programming here, when i get enough experience to be able to make a game like that i would be looking for a pixel artist to do all the pixel art.


cheers guys,
D


a replica of the game:
http://www.youtube.com/watch?v=CiAwIgx2XGg

game i want to make replica off:
http://www.youtube.com/watch?v=Cq6ArHh9gDs&list=PL33C124EA93F120D5&index=14

also if anyone has any material to help me on my way i would be grateful :) (videos, tutorials on starting java game development like making games like tic tac toe and some small tile based games) Edited by Darego
0

Share this post


Link to post
Share on other sites
I answer only a couple of things. Java is good enough for both the client and the server, but I would not even think of a multi-player game for a while, let alone a massively-so one. You are standing too far away to make a plan of attack. So start with tic-tac-toe, then a couple of games like pong, tetris, snake, pac-man, space invaders...

You can then try to implement something closer to the MMORPG that you are talking about, but I would make it into a single-player campaign. You will basically have to implement most of the client to get that to work. Then think of what the protocol between the client and the server should look like, then program the server and add network code to your client.

There's no need to rush into things. Learn to make simple games, learn some network programming and then your MMORPG will be approachable.
2

Share this post


Link to post
Share on other sites
thanks buddy :) yeah i know not to rush into things. starting off with them small games first! would you know of any tutorials to start making these type of games in java? snake, tetric, pac man etc? or any material that would help

thanks again for your reply Edited by Darego
0

Share this post


Link to post
Share on other sites
hi,
you could try out [url="http://zetcode.com/tutorials/javagamestutorial/"]this[/url] site

regards GLF
1

Share this post


Link to post
Share on other sites
Darego: you just CAN'T make a MMOsomething. Writing coherent, stable, secure and efficient server for 1000+ players is very hard and expensive.
-1

Share this post


Link to post
Share on other sites
everything is possible :) if someone else can do what i want to do then i don't see why i can't. he got his game up and running in a few months and is only a year ahead of me in college

cheers for the reply
0

Share this post


Link to post
Share on other sites
I'm not going to answer any questions you had, since I don't know the possibilities of java that well and everything else I had to say was already said in previous posts.

What I am going to say though is that I think you should NOT look at any tutorials when making those simpler games. What I experience, as a 3 ½ year into college of C++, is a problem when I code projects is that I have a hard time breaking up the system. Making those smaller games from scratch by yourself will expand your mind when it comes to designing(which is really damn important).

These smaller games are a great practice of trying to split huge problems down into smaller ones and to start learning simple design. I would start by identifying everything the game has to offer. Starting with the features, such as eating pills, controlling a player, being attacked by enemies, running around in a maze etc. Then I would try to identify what I need to make this happen, for instance: Rendering in 2D, input with keyboard, collision detection to name a few.

Then I would try to think of how these systems should be connected. Every problem I bump into I will write down, think about for a while and If I can't see the solution myself I would go online and see where I can get some pointers.

To reach your goal of that MMORPG game, you really need to design it well. You won't get very far by just coding, so don't underestimate the design part.

Hope I was of any use ^^ make sure to show us your progress! :D
1

Share this post


Link to post
Share on other sites
cheers, thanks for the reply [img]http://public.gamedev.net//public/style_emoticons/default/rolleyes.gif[/img]
0

Share this post


Link to post
Share on other sites
Darego - Alvaro has good advice on a path to follow. Most games you design need to start out with Paper and Pencil. You first need to understand the process of the game. How it begin - how it continues and how it ends. Your coding is a step by step instruction process that tells the computer how to respond to user input.
For a game like Tetris or tic-tac-toe start with paper & Pencil. Look at every aspect in your decesion process in playing those games then translate that to code.
For your Massive game take a good look at your own postings. Graphics - Start making those now as you think about them.
I myself am currently working on a single player stradegy game. Coding started by entering the data for each game piece, making maps, and then making the game loop.
Deciding who moves first, where the game units are on the map, Making attack moves and so on.
You will find that a game like Tic-Tac-Toe will be very simular and will go along way towards your ultimate goal. Good luck. and do not be affraid of picking everyone's brain
1

Share this post


Link to post
Share on other sites
i just found a tutorial on youtube and it looks exactly like what i need. it looks like a title based rpg tutorial..

http://www.youtube.com/watch?feature=player_embedded&v=aWVHcyPFlko#t=770s

so should i start on this rpg game tutorial? or go through a learning curve like this:

  • "Guess the number" / Hangman (basic interface, select data from a database)
  • Tic-Tac-Toe / Rock-Paper-Scissors (turn-based gameplay, opponent AI)
  • Arkanoid / Pong (collisions, stable frame rate, score, levels)
  • Tetris (data structures and how they relate to gaming)
  • 1942 / Shoot-em-up (enemies, bullets)
  • simple platformer / pinball game if your engine does platformers (gravity-based collisions)
  • Bomberman / Pacman (tile-based movement, complex enemy AI)
  • Two-player game of any of the types above (two player inputs)
  • Roguelike / Diablo (Inventory management, multiple enemy AIs, saving and loading complex game states)
  • Faceball / Wolfenstein 3D (basic 3d movement and rendering)
  • Network turn-based game (basic networking)
  • Gimmicky 3D third-person platformer (physics, complex 3d movement)
  • Network real-time game (Client-server synchronism, lag)
  • MMORPG (Persistent world)

also one last thing, i have yet to use threads or any jdbc (will be covering and using both next semester). should i cover both of these myself before starting this list/rpg tutorial Edited by Darego
0

Share this post


Link to post
Share on other sites
I don't think you have to work through that entire list, in fact, I think you can get started working on your big-project now. Just realize that what you're going to code at this point probably isn't going to make it into your finished product. I think it's easier to get burnt out on programming when you're making all these games you don't want to make (you have your own idea, right?), so I'd suggest jumping right in to the most simple aspects of your game.

Start with something like tile-based maps and player movement (you can start with text-based maps and such). Integrate a way to easily design cool maps (maybe something that loads from a text-file). Add the ability to move between maps. Convert it from using text graphics to sprites. You get the idea? Whenever you get stuck on an idea, go work on something quick that will help you figure it out.

In line with what others have said, try to avoid copying code from the internet or books unless you know what it's doing and why, and don't be afraid to brute-force something (your code doesn't need to be pretty yet), you can come back and re-factor it when you have a little more experience.
1

Share this post


Link to post
Share on other sites
thanks a lot for the reply, very helpful!

what do you mean by text-based maps? this is the thing i'm kinda clueless where to actually start, and thinking about implementing my idea into code and classes etc scares me haha that is why i would love to follow a tutorial(like the rpg one in my above post, it looks like it has all the basic concepts that would be needed for my finished game) to get me started but as you say if i do that i won't learn as much from it

thanks again Edited by Darego
0

Share this post


Link to post
Share on other sites

I think NoAdmiral was suggesting not using graphics but text like on the command line. "ASCII graphics" would be a common search term. That way you don't need to learn graphics programming on top of everything else. It was just an alternative suggestion to get closer to your end goal of MMORPG by skipping some steps that you might find more boring.

1

Share this post


Link to post
Share on other sites
hi again guys, one last question! i noticed these games i want to try remake eventually give you the option to switch graphics engine.. between directX5, directX9 and OpenGL (i have better FPS in directX9 of course). now if i make my game using java will i be able to give my players the option to switch between these graphics engines? as far as i know you can only use openGL commands through LWJGL with java and not directX.. Edited by Darego
0

Share this post


Link to post
Share on other sites
hi again guys, one last question! i noticed these games i want to try remake eventually give you the option to switch graphics engine.. between directX5, directX9 and OpenGL (i have better FPS in directX9 of course). now if i make my game using java will i be able to give my players the option to switch between these graphics engines? as far as i know you can only use openGL commands through LWJGL with java and not directX..

 

Unless you're running on Intels integrated hardware(Which has fairly crappy drivers for OpenGL on Windows) you will get better performance with properly written modern OpenGL than with Direct3D9 (D3D9 and below has a fairly high per batch overhead (a problem that was fixed with D3D10)). For the later versions of both APIs on nvidia hardware the differences are negligable, on AMD hardware the difference tends to be bigger but unless you are making Crysis 5 it will not matter.

 

If you get significantly better performance with a D3D9 render than an OpenGL renderer it is either an old OpenGL version (OpenGL 1.0 is very slow compared to D3D9) or the API is not used properly.

 

LWJGL does not support DX and while you can call DX functions through the native interface with Java i wouldn't recommend it. (it is a pain to use and one of Javas main strengths is that it runs on all major desktop platforms, a Java game using DX will only run on Windows)

1

Share this post


Link to post
Share on other sites
i would like to bump this and ask another question :) well now i am back in college and have gone over all of javas advanced language features including JDBC. now the only thing i am lacking in is the networking side of things.. sockets etc.. could anyone tell me how i would go about getting to know the networking side of java rpg game making? tutorials etc

also i am getting confused when it comes down to how i should lay my classes out.. would anyone have a link to any class diagrams that the above games would use(java orthogonal tilebased rpg game)?

cheers Edited by Darego
0

Share this post


Link to post
Share on other sites

i would like to bump this and ask another question smile.png well now i am back in college and have gone over all of javas advanced language features including JDBC. now the only thing i am lacking in is the networking side of things.. sockets etc.. could anyone tell me how i would go about getting to know the networking side of java rpg game making? tutorials etc

also i am getting confused when it comes down to how i should lay my classes out.. would anyone have a link to any class diagrams that the above games would use(java orthogonal tilebased rpg game)?

cheers

 

Google "java socket tutorial" and you should find lots of stuff. Also, write some simple, standalone network programs, like a basic echo server (which simply echoes back whatever is sent to it) and make it handle multiple connections properly, that kind of thing.

 

As for how to design games, different people have different approaches which work equally well for them. Some like to just go in there and code the whole thing up directly, others enjoy prototyping different designs, while some others use UML diagrams to lay out their game architecture. Yet others use pencil and paper to work out their design.  The only way you're going to find out which approach you prefer is to try them out. Your first game will suck. Your second one will suck too, but a bit less. And so on... And as you make more and more games, you'll naturally pick the design method that you find most productive for you. It's all about experience.

1

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0