Game Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming LanguagesGame Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
  #1  
Old March 14th, 2008, 01:11 PM
Mikhail Rahl Mikhail Rahl is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2007
Posts: 2 Mikhail Rahl User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 22 m 16 sec
Reputation Power: 0
Text-Based game question (C++)

Hello. I'm in the early learning and planning stages of a series of very small text-based D&D like games. I plan to write them in C++ and have them run in the command line window. I made a couple different searches and didn't find what I was looking for so I chose to make a post.

I have learned some techniques in C++ such as loops, several functions, and I'm currently studying dll's. However, I have no clue how they would be useful for my purposes. (I understand what they do, but I'm a little slow when it comes to thinking of ways to utilize them.)

For example, one specific question I have is how to set it up so that game characters can gain and lose objects from their inventory? Not to mention how can they gain experience and character levels, adding and improving skills and abilities? I think there must be some way to do this without making insanely long IF THEN ELSE type statements, which would just be retarded.

By the way, I am keenly aware of the fact that this is a lot of work, and luckily I have the patience and determination of erosion. So a detailed answer would be very nice, but it would also be great if someone could just point me in the right direction or refer me to some good resources that are specific to text-based game programming. I have money and I'm willing to spend it.

Thanks in advance!
Mikhail

Reply With Quote
  #2  
Old March 17th, 2008, 09:07 AM
etienne141's Avatar
etienne141 etienne141 is offline
Paris est magique!
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2004
Location: France!
Posts: 345 etienne141 User rank is Sergeant Major (2000 - 5000 Reputation Level)etienne141 User rank is Sergeant Major (2000 - 5000 Reputation Level)etienne141 User rank is Sergeant Major (2000 - 5000 Reputation Level)etienne141 User rank is Sergeant Major (2000 - 5000 Reputation Level)etienne141 User rank is Sergeant Major (2000 - 5000 Reputation Level)etienne141 User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 4 Days 23 h 7 m 25 sec
Reputation Power: 41
Send a message via ICQ to etienne141 Send a message via MSN to etienne141
Have you ever heard of 'classes' ('objects'), or at least data 'structures'?

If not, you'll have to practice a bit more before throwing yourself into this.
Otherwise, the answer seems quite clear...
__________________
UNIX shells are so cool!
etienne:~ > %blow
fg: %blow: no such job


There are 10 kind of people:
- those who know binary
- those who don't.

Reply With Quote
  #3  
Old March 17th, 2008, 09:51 AM
Mikhail Rahl Mikhail Rahl is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2007
Posts: 2 Mikhail Rahl User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 22 m 16 sec
Reputation Power: 0
Yes, I have

Yes I have heard of these things. However, I'm not the sharpest tool in the shed, and while I can write out the examples I've studied and make new ones on my own, I haven't the silghtest clue on what to actually use them for-- or how to actually use them for what I want to accomplish.

Thanks anyway.

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming LanguagesGame Development > Text-Based game question (C++)


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

 Free IT White Papers!
 
Accelerating Trading Partner Performance
One in five. That's how many partner transactions have at least one error. That is an amazing statistic, particularly given the extraordinary leaps in innovation across the global supply chain during the past two decades. Download this white paper to learn more.

 
Competing on Analytics
This Tech Analysis is designed to help identify characteristics shared by analytics competitors, and includes information about 32 organizations that have made a commitment to quantitative, fact-based analysis.

 
Cost Effective Scaling with Virtualization and Coyote Point Systems
An overview of the industry trend toward virtualization, how server consolidation has increased the importance of application uptime and the steps being taken to integrate load balancing technology with virtualized servers.

 
Five Checkpoints to Implementing IP Telephony
Implementation planning for IP PBX software and IP telephony has become vital as businesses replace discontinued legacy PBX phone systems. This informative whitepaper outlines five "checkpoints" for any implementation plan that will help make IP communications a successful proposition.

 
Hosted Email Security: Staying Ahead of New Threats
In the last two years, email has become a fierce battleground between the nefarious forces of spam and malware, and the heroes of messaging protection. The spam volumes increased alarmingly every month, bringing clever new forms of phishing and virus propagation attacks.

 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway