Jump to content
  • Advertisement
Sign in to follow this  
D-Slicer

Need advices for 2D multiplayer RPG

This topic is 4525 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hello! Before you are gonna reply "Make a text game first bla bla bla...", read: I have done a few text games, I have done a few 2d and simple 3D single players before, I have tried to make a 2d MMORPG too..it was just that I lost all my files due to a HDD crash. Well, then to the point: I decided to code a (M)MORPG 2D game, a really simple one, again. Currently I use Linux, and many people use Windows = it should be crossplatform. Because of that I trough I would use SDL for drawing etc. Whats your suggestion? Should I use SDL or not? =/ If I should, how would it be possible to create buttons and text boxes? Any tutorials about that? Btw, I always code in c++ ;p Yours, D-Slicer

Share this post


Link to post
Share on other sites
Advertisement
For the buttons and check boxes etc... You will have to create them yourself. They are not too difficult to make. A simple google search will bring up all you need and perhaps even the code as well. As long as you understand the concept of call backs and function pointers, you will be fine.

Note: - if nobody ends up posting any code to use, i'll post a full working button object and manager etc... later on.

Share this post


Link to post
Share on other sites
Thanks for the replies, I will use SDL then ;p

Just need to figure out how to get the SDL libs to work under Ubuntu Linux, the package manager seems to only contain the runtime libs o.o

Share this post


Link to post
Share on other sites
SDL I agree is a good option. If you are looking for a higher level graphics engine, I would say to try out Irrlicht. I has many features and also is crossplatform. It can do 2d and 3d, so it might be worth it to learn anyway. And it has more code base, so less things you will have to code if you use SDL. But either way you go, you will need to do the networking code yourself, or another library.

Share this post


Link to post
Share on other sites
I think so. I'm certain that it can do rotation, but not so certain about alpha. I remember rotation being pretty slow when I tried it, so I ended up doing tiling with opengl.

Share this post


Link to post
Share on other sites
SDL can do rotation and alpha; however, it's all software rendered. If you're going to use rotation with SDL; I suggest pre-rotating your sprites. If that is not possible, it's much better to use OpenGL, since OpenGL does hardware alpha and rotation.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!