7 Replies - 8797 Views - Last Post: 13 October 2007 - 10:54 AM Rate Topic: -----

#1 Smart Boy  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 11
  • Joined: 08-October 07

How can I use C++ 2 make a game?

Post icon  Posted 10 October 2007 - 02:52 AM

Hi every 1,
i'm a beginner @ c++ , and I know how 2 programme diff. progrmms by using [Visual Basic c++]
but I don't know how 2 use the language 2 make a game!!
should I use another programme or what?? :rolleyes:
THNX ALOT :)

Is This A Good Question/Topic? 0
  • +

Replies To: How can I use C++ 2 make a game?

#2 Martyr2  Icon User is offline

  • Programming Theoretician
  • member icon

Reputation: 4333
  • View blog
  • Posts: 12,128
  • Joined: 18-April 07

Re: How can I use C++ 2 make a game?

Posted 10 October 2007 - 03:42 PM

Well to start making games you could use VC++ like you are. Remember that games are just a bunch of graphics, pictures, sound etc. So you are going to need to use functions and graphics you make to put the game together. I would suggest you first write out what your games is on a piece of paper and how it all works. Write out all the details you could possibly think of with regards to how the game would work. What are the characters? What is the plot? What does it take place and when? How does money or an economy work? Stuff like that.

Once you got all that put together then you will have an idea of how you might want to layout the project. Then you can start coding. Use functions to draw on a background, perhaps draw some objects that a sprite can move around and write hit collision.

Do remember that a game can be an advanced project for someone just learning the language. So make sure you read up all you can on the language and during that reading you will see functions that you know you could use in your game.

If you want more resources on C++ like tutorials and such, you can check out the following thread:

Free ebooks here on DIC

Remember to take baby steps learning the language, develop a few small applications and build your way up to the game.

Enjoy! :)
Was This Post Helpful? 0
  • +
  • -

#3 Smart Boy  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 11
  • Joined: 08-October 07

Re: How can I use C++ 2 make a game?

Posted 11 October 2007 - 08:48 AM

hello Martyr2,
thnx 4 ur reply.. it's help me of cours
but I want 2 know how 2 connect with the charecters (pics of my game) and c++
let say that I draw a pic1.jpg ..how I will name it & control it by c++??!!
my last line in c++ in programming was showing the programme in the dark screen of vb c++ !!
PLZ:
can u list 4 me the programs that I need 2 mak my 1stgame & the use of each of them??!!
sorry 4 bothering u ..and thnx alot :wub:

This post has been edited by Smart Boy: 11 October 2007 - 10:14 AM

Was This Post Helpful? 0
  • +
  • -

#4 _net  Icon User is offline

  • D.I.C Head

Reputation: 1
  • View blog
  • Posts: 147
  • Joined: 23-September 07

Re: How can I use C++ 2 make a game?

Posted 11 October 2007 - 11:02 AM

Dude whats with the PLZ, 2 or 4 :/ how hard is it to type to or for.

You have a long way to go. C++ isn't a kiddie material.
Was This Post Helpful? 0
  • +
  • -

#5 Smart Boy  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 11
  • Joined: 08-October 07

Re: How can I use C++ 2 make a game?

Posted 12 October 2007 - 03:40 AM

Hello net,
it's just (to) save the time ( for ) other things that are more important
and how hard (for ) you (to ) reply (to) my Question??!!
Was This Post Helpful? 0
  • +
  • -

#6 Jrodan  Icon User is offline

  • New D.I.C Head

Reputation: 1
  • View blog
  • Posts: 2
  • Joined: 13-October 07

Re: How can I use C++ 2 make a game?

Posted 13 October 2007 - 01:25 AM

First off, Basic would be, by far, an easier language to program a game in. But C++ is still quite possible, if you don't mind spending some extra time. First off, are you planning on 2D or 3D? That will make a huge difference. Here are some websites that should help you deside:

http://www.riemers.n...eries1/tut1.php
//This is the best tutorial I have seen on DirectX C++ 3D game programming, although it does not go very far, it SHOULD get you start. This is probably the lengthiest way to program a game, but you *could* do anything you want (motion blur, HDR, etc).

http://alleg.sourceforge.net/
//For a less involved approach. I definatly recommend looking into it.

http://www.ultimateg...rogramming.com/
//I have not looked into OpenGl much or 2D programming, but this site has everything.

There are tons of way to program games, but not all are free, and there is a time-control corallation in programming methods. Little time = little control. (Ex: a map editor)

After reading through those websites you will probably know what you are looking for and what specific questions to ask.
Was This Post Helpful? 1

#7 Smart Boy  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 11
  • Joined: 08-October 07

Re: How can I use C++ 2 make a game?

Posted 13 October 2007 - 06:48 AM

thnx jordan,
I will try 2 loook up @ these sites & i will tell u the result
thnx alot..
Was This Post Helpful? 0
  • +
  • -

#8 Jrodan  Icon User is offline

  • New D.I.C Head

Reputation: 1
  • View blog
  • Posts: 2
  • Joined: 13-October 07

Re: How can I use C++ 2 make a game?

Posted 13 October 2007 - 10:54 AM

Sure, good luck! Here are a few other websites:

http://www.retrorema...hread.php?t=266
//Definately read this forum, it will describe many of your options.

http://www.freeprogr...es.com/cppgraph
http://www.google.co...gramming/Games/
http://msdn.microsof...cs_tut_1icz.asp
//You may be able to use these resources.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1