473,666 Members | 2,138 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Games

Without going into detail, how do you make games in C++?
Jul 19 '05 #1
31 9115

Brad wrote:

Without going into detail, how do you make games in C++?


Bazarov, and HOW do we make games in C++? Detaled answer, please.

regards,
alexander.
Jul 19 '05 #2
"Brad" <wi***********@ hotmail.com> wrote...
Without going into detail, how do you make games in C++?


You program them.
Jul 19 '05 #3
Psy
use OpenGl, it provides some fancy commands.
one is very usefull: glMakeMyGame(bo ol bestseller,GLin t quality).

i think thats the best way to do.

regards psy

p.s. don't feed the trolls
Jul 19 '05 #4
"Brad" <wi***********@ hotmail.com> wrote in message
news:3b******** *************** *@posting.googl e.com...
Without going into detail, how do you make games in C++?

I think what these *kind* gentlemen mean to say is, creating a game is a
topic that could cover an entire book - without getting into detail. If you
are interested, read on-line articles, books and magazines. A quick way to
start learning would be to research the major technologies people are using,
such as OpenGL, DirectX and the like.

And just imagin, these C++ programmers are the ones with the _small_ egos
that are actually trying to be helpfull!
Jul 19 '05 #5
"Brad" <wi***********@ hotmail.com> wrote in message
news:3b******** *************** *@posting.googl e.com...
Without going into detail, how do you make games in C++?


Without going into detail, you don't... :-) Seriously, though, if you want
to learn to write games in C++, you need to do a number of things:

1) Learn a reasonable amount of the C++ language. If you don't know C++, you
can't write games in it.
2) Learn an API, perhaps OpenGL or DirectX. OpenGL is just a graphics
library, whereas DirectX has lots of other stuff as well, but on the other
hand OpenGL is portable and DirectX is quite definitely not.
3) If you decided on OpenGL, take the time to investigate SDL
(www.libsdl.org), it's worth your while.
4) Start very, very simple. Don't try and clone Quake (something everyone
tries to do before they're ready) - you will fail.
5) Direct any non-C++ questions to another newsgroup. This newsgroup is for
questions about the C++ language.

HTH,

Stuart.
Jul 19 '05 #6

Stuart Golodetz wrote: ...

WOW. 110% exam grade.

regards,
alexander.
Jul 19 '05 #7
"Brad" <wi***********@ hotmail.com> wrote in message
news:3b******** *************** *@posting.googl e.com...
Without going into detail, how do you make games in C++?

First you learn the language as defined by the ANSI/ISO C++ standard. Then
depending on the platform you learn a graphics library (e.g. OpenGL,
DirectX, etc).

--
Ioannis

* Programming pages: http://www.noicys.freeurl.com
* Alternative URL 1: http://run.to/noicys
* Alternative URL 2: http://www.noicys.cjb.net

Jul 19 '05 #8

"Brad" <wi***********@ hotmail.com> wrote in message
news:3b******** *************** *@posting.googl e.com...
Without going into detail, how do you make games in C++?


Never done it but people dont seem to be taking this thread too seriously so
I feel safe posting : )

Program the game logic and worry about the cool graphics after! Theres no
reason why any C++ programmer (or for that matter anyone reasonably
proficient in any language) cant program a game of the quality of
Civilisation II (without ANY doubt, THE greatest game of ALL time) given
enough time.

The graphics, although being the stuff that makes it look good, can be done
after your game has been completed, although admittedly, a graphical user
interface makes the program much easier to test/develop.

Get to work! If your idea proves good enough within the first few weeks of
development youll know whether or not to continue and may even find people
to work on the graphics for you.

Good luck and keep me/us posted.
Jul 19 '05 #9
In article <3b************ ************@po sting.google.co m>, wi***********@h otmail.com (Brad) wrote:
Without going into detail, how do you make games in C++?


You start with

int main (int argc, char** argv)
{
// Your game code goes here
}

Jørn Dahl-Stamnes, EDB Teamco AS
e-mail: Jo************* **@nospam.novit .no (remove nospam first)
web: http://spiderman.novit.no/dahls/
Jul 19 '05 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
5101
by: Nick Mudge | last post by:
Hi, I am learning PHP, but it can be kind of boring. Are there any games where you use PHP programming to play the game? This way you learn how to use PHP and it is fun. Does anybody know? Nick
1
2039
by: tmb | last post by:
I want to have some games in an application I'm considering. I see game creation stuff on the web... anything best suited for Java... or written with Java? Of course, we could do 'em from scratch but certainly someone has already created a tool or whatever to make it faster and easier. Oh, and we need to be able to use the games we create without restrictions
2
2878
by: Developwebsites | last post by:
I have found a few games made in js and in comparison to Java and Flash games, they load much faster. no plug in or java enabled crap needed. java games take much too long to load, I only play Yahoo! java games. seems applets arent as popular as they once were. java itself has moved from the front-end to the server side. so we are left with Flash as the primary front-end, browser, client-side game and graphics app. but all the load...
761
28566
by: Neo-LISPer | last post by:
Hey Recently, I researched using C++ for game programming and here is what I found: C++ game developers spend a lot of their time debugging corrupted memory. Few, if any, compilers offer completely safe modes. Unsurprisingly, there is a very high failure rate among projects using C++ for modern game development.
4
1499
by: ώε↮øй | last post by:
I have the whole group of .NET 2003 platforms sitting here from a dream I have of building some simple web based games (much like on msn zone) Any guidance as to where I start and what I need to learn to make even the simplest clone of checkers or other simple games? I'm completely lost in the ocean on where to start here thanks for the help
3
1831
by: noob23434 | last post by:
Hi all I've been told that the best platform to make games on (strategy games) is a c++. I want to start making games using my mac and I was wondering if anyone could tell me what software is the best to get started with? Kind regards  Marc
13
1768
by: CoreyWhite | last post by:
When playing games, perhaps the most simple is tic-tac-toe. The game has two simple strategies, one is defensive and the other offensive. It is not hard at first to learn how to tie games when playing an opponent. And then the next stage in development comes after you learn how to beat an opponent. You really can only employ either strategy when you get to make the first move, and your opponent will quickly learn what you are doing...
45
4534
by: Gaijinco | last post by:
Hi my name is Carlos Obregón and I'm currently a profesor of C/C++ programming at the CUMD in Bogotá Colombia. This last term I ask my students to develop an implementation of the minesweeper game with ASCII graphics and input via keyboard. I'm trying to look for other games suitable to those restrictions. Does anyone knows a good candidate?
4
1692
by: viper888 | last post by:
Hi to all, I'm the newly appointed network administrator in our office, and upon scanning all the PCs that are connected to the network, (by the way we're using a windows 2000 server) almost all of them have games. It was the department policy that no games must be installed in each PC. Can you guys help me with this? or can you modify this VBscript? dim strExcludedPC ServerFileSave="\\S1-admin-06\User Area\Save\" strComputer = "."...
0
8445
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8871
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8781
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8551
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8640
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
5664
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4198
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4369
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
2011
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.