How do i create a simple game using c++??

Please support our C++ advertiser: Intel Parallel Studio Home
Reply

Join Date: May 2004
Posts: 21
Reputation: ze_viru$ is an unknown quantity at this point 
Solved Threads: 0
ze_viru$'s Avatar
ze_viru$ ze_viru$ is offline Offline
Newbie Poster

How do i create a simple game using c++??

 
0
  #1
May 18th, 2004
I've just started learning c++,so i want to take any challenge concerning c++.My question is where do i start when drafting a game program.Please ppl help me out.
Reply With Quote Quick reply to this message  
Join Date: May 2004
Posts: 141
Reputation: meabed is on a distinguished road 
Solved Threads: 3
Team Colleague
meabed's Avatar
meabed meabed is offline Offline
Junior Poster

Re: How do i create a simple game using c++??

 
0
  #2
May 18th, 2004
check this link
  1. <a rel="nofollow" class="t" href="http://www.cpp-home.com/tutorial.php?17_1" target="_blank">http://www.cpp-home.com/tutorial.php?17_1</a><a rel="nofollow" class="t" href="http://www.cpp-home.com/tutorial.php?17_1" target="_blank">
  2. </a>
Real Eyes Realize Real Lies
My Resume
Reply With Quote Quick reply to this message  
Join Date: Mar 2004
Posts: 28
Reputation: Bleek is an unknown quantity at this point 
Solved Threads: 0
Bleek Bleek is offline Offline
Light Poster

Re: How do i create a simple game using c++??

 
0
  #3
May 21st, 2004
make a game that uses dice. you roll 2 dice and you are rolling against the computers 2 dice. make the dice random and whoever has the bigger sum wins or gets 1 point... i dunno, start with that and build up from there, if you are just starting all you will be able to do is make a number game...
Reply With Quote Quick reply to this message  
Join Date: May 2004
Posts: 256
Reputation: FireNet will become famous soon enough FireNet will become famous soon enough 
Solved Threads: 6
FireNet's Avatar
FireNet FireNet is offline Offline
Posting Whiz in Training

Re: How do i create a simple game using c++??

 
0
  #4
May 23rd, 2004
I would suggesst you first learn structures,classes and file i/o before trying games.You will just be frustrated and end up failing if you jump into games too soo.

Try www.google.com and search for c++ tutorials.
See what you can, remember what you need

Fourzon | Earn via Coding
Reply With Quote Quick reply to this message  
Join Date: May 2004
Posts: 3
Reputation: Blood Night is an unknown quantity at this point 
Solved Threads: 0
Blood Night Blood Night is offline Offline
Newbie Poster

Re: How do i create a simple game using c++??

 
0
  #5
May 27th, 2004
maybe it's a nonsense,but do accumulate step by step
wondering which type do ya like?
Reply With Quote Quick reply to this message  
Join Date: Apr 2004
Posts: 353
Reputation: Asif_NSU is on a distinguished road 
Solved Threads: 3
Asif_NSU's Avatar
Asif_NSU Asif_NSU is offline Offline
Posting Whiz

Re: How do i create a simple game using c++??

 
0
  #6
May 28th, 2004
hey, if u r interested u can check out the game I made in C. U can run it using a C++ compiler as well. Try to run it if u r using a DOS based compiler, otherwise dont bother. U can find it in code snippets "Projectile game in C"
"He who mixes with people and endures the harm they do is better than he who does not mix and endures." (Tirmidhi)
Reply With Quote Quick reply to this message  
Join Date: May 2004
Posts: 217
Reputation: marceta is an unknown quantity at this point 
Solved Threads: 0
marceta marceta is offline Offline
Posting Whiz in Training

Re: How do i create a simple game using c++??

 
0
  #7
May 29th, 2004
Originally Posted by FireNet
I would suggesst you first learn structures,classes and file i/o before trying games.You will just be frustrated and end up failing if you jump into games too soo.

Try www.google.com and search for c++ tutorials.
This is not neccessarily true! You can make decent text based RPGS (many games for that matter) in a single file using structures only, not classes! PM me for a source code of a pretty cool basic game if you want creator of thread.

later
Reply With Quote Quick reply to this message  
Join Date: May 2004
Posts: 256
Reputation: FireNet will become famous soon enough FireNet will become famous soon enough 
Solved Threads: 6
FireNet's Avatar
FireNet FireNet is offline Offline
Posting Whiz in Training

Re: How do i create a simple game using c++??

 
0
  #8
May 30th, 2004
Originally Posted by marceta
This is not neccessarily true! You can make decent text based RPGS (many games for that matter) in a single file using structures only, not classes! PM me for a source code of a pretty cool basic game if you want creator of thread.

later
I did not say anything about games, but in C++ it's best if you know classes along with file i/o because it simpilfies a lot of things.And they are the basics of C++.

Now structures and classes are complimentary it's really your choice most of the time.But usally if you have experiance using classes, for games many classes will be used.
See what you can, remember what you need

Fourzon | Earn via Coding
Reply With Quote Quick reply to this message  
Join Date: May 2004
Posts: 217
Reputation: marceta is an unknown quantity at this point 
Solved Threads: 0
marceta marceta is offline Offline
Posting Whiz in Training

Re: How do i create a simple game using c++??

 
0
  #9
May 30th, 2004
the best thing to do is make one in a single file using structs, and then remake the game using oob ie. make structs into classes!
Reply With Quote Quick reply to this message  
Join Date: May 2004
Posts: 256
Reputation: FireNet will become famous soon enough FireNet will become famous soon enough 
Solved Threads: 6
FireNet's Avatar
FireNet FireNet is offline Offline
Posting Whiz in Training

Re: How do i create a simple game using c++??

 
0
  #10
May 30th, 2004
Not neccesarly,it may be better in most cases to begin with classes.Of course you make structs in classes but with experiance you will be able to write classes directly.
See what you can, remember what you need

Fourzon | Earn via Coding
Reply With Quote Quick reply to this message  
Reply

Message:



Similar Threads
Other Threads in the C++ Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC