473,399 Members | 3,656 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,399 software developers and data experts.

What to use to build a game with C++.

1
Hello,

I have just recently tought myself C++, and the reason i did was to be able to write/program my own online game.
Now of course i know how to write in C++ but im not sure what i am suppose to use to actually get my writing onto the screen with tiles and all that.
This is a problem i have been facing for the past 5 months and i would really appreciate and hints, instructions, or links.
Oct 9 '07 #1
3 1321
strife
11
I'm still a newb to C++, but from what I've read you want to check out SDL, DirectX9/10, and OpenGL probably. If you search the forums there is someone else asking the same type of question and someone linked an SDL tutorial site. I'm gonna check it out when I get home.
Oct 9 '07 #2
RedSon
5,000 Expert 4TB
Hello,

I have just recently tought myself C++, and the reason i did was to be able to write/program my own online game.
Now of course i know how to write in C++ but im not sure what i am suppose to use to actually get my writing onto the screen with tiles and all that.
This is a problem i have been facing for the past 5 months and i would really appreciate and hints, instructions, or links.
Ahh, video games, the reason every young boy becomes a programmer. First off you have to decide a few things. Do you want a console game? Do you want at graphical game? Do you want a MUD? etc., etc...

If you want a online game, you are looking at programming a server and a client, so you are going to need to learn network programming, so you should get yourself a TCP/IP or UDP book and learn them, probably both would be best. If you want a graphical game, first you have to decide if its 2D or 3D then you need to figure out if your game is also going to include some kind of dynamical physics engine. If so then you are going to have to learn either OpenGL or DirectX since those are pretty much the standard for 2D and 3D graphic engines, then you are going to learn a physics engine, there are a few opensource ones out there. Then you will have to create yourself a client and server, your client will probably have a fancy UI and several features that will need to be implemented. Your sever will have to communicate with each client and pass that information to the other clients. If you are going to do an RPG or something like that then you are going to need to build content for your server, so that means items, equipment, quests, NPCs, 3D maps, story lines, history, the list goes on and on and on.

So good luck, your task is a long, difficult, tedious and unrewarding I wish you success, when you have a working beta please feel free to repost so that we can all see your work!
Oct 9 '07 #3
Studlyami
464 Expert 256MB
Let me recommend first starting off with something small. I would take a look at 2d games first using SDL, or Allegro (i prefer allegro, but i learned it first). Once you do a 2d game and start to understand the importance of classes, handling bitmaps and resources i would move into a 3d environment. Then i would look into OpenGl or DirectX. You could also get into game mods. Look at mod tutorials for UT, or WC3. If you get really serious you can look into using a premade engine like the Torque engine. The Torque engine cost some money, but the license is loose and cheap for independent developers and is very robust.

Just don't try to run before you can walk.

Best of luck.
Oct 10 '07 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

11
by: Van Nastring | last post by:
I believe it is c++ right? Why don't they use c#?
3
by: Ben Becker | last post by:
I am trying to build a custom crosstab type of grid where I take some items in a data grid and based on the content of the current item compared to the previous item, determine if a new row in a...
6
by: Arben | last post by:
Can anyone halp me to write the Java code for thid exercise? -------------------------------------------------------------------------------------------------------------- Exercise: Use the class...
5
by: ajay | last post by:
Hi All, I want to build two separate EXEs using one .dsw file. That dsw file will load two different DSPs for two different projects. One project would use gcc cross compiler but other project...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.