943,498 Members | Top Members by Rank

Ad:
  • C++ Discussion Thread
  • Unsolved
  • Views: 57207
  • C++ RSS
You are currently viewing page 1 of this multi-page discussion thread
May 18th, 2004
-2

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

Expand Post »
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.
Similar Threads
Reputation Points: 14
Solved Threads: 0
Newbie Poster
ze_viru$ is offline Offline
21 posts
since May 2004
May 18th, 2004
0

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

check this link
C++ Syntax (Toggle Plain Text)
  1. <a rel="nofollow" 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" href="http://www.cpp-home.com/tutorial.php?17_1" target="_blank">
  2. </a>
Team Colleague
Reputation Points: 55
Solved Threads: 3
Junior Poster
meabed is offline Offline
139 posts
since May 2004
May 21st, 2004
0

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

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...
Reputation Points: 45
Solved Threads: 0
Light Poster
Bleek is offline Offline
28 posts
since Mar 2004
May 23rd, 2004
1

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

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.
Reputation Points: 108
Solved Threads: 7
Posting Whiz in Training
FireNet is offline Offline
256 posts
since May 2004
May 27th, 2004
1

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

maybe it's a nonsense,but do accumulate step by step
wondering which type do ya like?
Reputation Points: 12
Solved Threads: 0
Newbie Poster
Blood Night is offline Offline
3 posts
since May 2004
May 28th, 2004
0

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

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"
Reputation Points: 113
Solved Threads: 3
Posting Whiz
Asif_NSU is offline Offline
353 posts
since Apr 2004
May 29th, 2004
0

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

Quote 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
Reputation Points: 13
Solved Threads: 0
Posting Whiz in Training
marceta is offline Offline
217 posts
since May 2004
May 30th, 2004
0

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

Quote 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.
Reputation Points: 108
Solved Threads: 7
Posting Whiz in Training
FireNet is offline Offline
256 posts
since May 2004
May 30th, 2004
0

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

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!
Reputation Points: 13
Solved Threads: 0
Posting Whiz in Training
marceta is offline Offline
217 posts
since May 2004
May 30th, 2004
0

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

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.
Reputation Points: 108
Solved Threads: 7
Posting Whiz in Training
FireNet is offline Offline
256 posts
since May 2004

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in C++ Forum Timeline: How to calculate using numbers and letters in equations?
Next Thread in C++ Forum Timeline: Dining Philosopher Problem





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC