Re: Text-Based RPG: Survival
Is there a question there?
Re: Text-Based RPG: Survival
Sorry, fixed. What I'm really wanting to know is if I can simply continue my work with Visual Basic 6 and expect to accomplish something along the lines I drew out in the OP.
Also, suggestions like "[x] would probably work well for the map." or "[z] would make your variable wildlife easier to program." are helpful.
So far, the table of contents in my VB6 guide has given me little to work with, and I've investigated most of the pages looking for something that seems like it would fit into the picture,
Re: Text-Based RPG: Survival
Re: Text-Based RPG: Survival
Sounds a little like the re-invention of the Text-Adventure to me. Perhaps with a more sophisticated player character.
You should be aware, that there exist programming languages specially for writing text based adventure-like games like ACode or MUDL (i think it was).
ACode makes writing maps and moves easy and will compile a C Source code for ANSI C which will then compile the final game. ACode is available under Unix/Linux. But it offers no user interface except console input. Maybe some more research reveals some newer or more contemporary game-developing languages...
In general I'd say VB6 is as good a choice as VB.NET or C#.NET.
Any language provides the means for a programmer to express himself, writing any program. VB always seemed to me an easy to learn language. There is no reason why you should not use it for your game project, like structuring data, creating objects with properties from classes, even accessing databases. It has every means and possibility you would possibly need. A user interface can easily be clicked together. So why not using VB?
Re: Text-Based RPG: Survival
WoF -
Thanks for the input. The only reason I didn't know if I could use VB is that, to a beginner, VB seems like a limited sort of language. Apparently your idea is that it is not, at least not limited enough to hinder the inclusion of some of my ideas.
I'll be looking up creating objects with properties from classes, and accessing databases with VB6 now. The kind of reply WoF made is exactly the kind I was hoping for, because it gave me a take-off point. Now, if I have trouble putting a part of my game into one of the suggested "possibilities" I have this thread for the questions/problems with that.
And any more suggestions are very welcome.
Re: Text-Based RPG: Survival
Also, I looked into MUDL and tried to find similar languages, but I'm coming up short. If anyone has any information pertaining to M$ languages that are used mainly for console gaming, feel free to share. I can't connect with Red Hat, fax modems suck.
Re: Text-Based RPG: Survival
Quote:
Originally Posted by wall_fall_down
Sorry, fixed. What I'm really wanting to know is if I can simply continue my work with Visual Basic 6 and expect to accomplish something along the lines I drew out in the OP.
Also, suggestions like "[x] would probably work well for the map." or "[z] would make your variable wildlife easier to program." are helpful.
So far, the table of contents in my VB6 guide has given me little to work with, and I've investigated most of the pages looking for something that seems like it would fit into the picture,
The main thing you should determine is if function pointers are going to make things easier for you. For example, if you have lots of different types of actions that the player (or critters) can take, then function pointers would make actions a lot easier to code. Also, if everything in the game shares certain attributes (such as heath, movement types, attacks, etc.), then a true class framework with inheritance would help a lot. That said, if what you have planned isn't that robust, VB6 will work fine.
Re: Text-Based RPG: Survival
You might want to consider one of the dot.net languages. The Express Edition of the compilers is free!
Re: Text-Based RPG: Survival
Quote:
Originally Posted by dglienna
You might want to consider one of the dot.net languages. The Express Edition of the compilers is free!
Any of them? Or a specific one? I'm willing to try just about a nything, and I've been looking up some "cheater" applications' (text adventure builders') source codes to see how some of them handle the elements of the games.
I looked up function pointers and found that VB6 is not made for them but -can- handle them, yet it still sounds silly that I'd be using something that my language was not built to do well.
I really am open to any suggestions, and would not mind trying out another language for this undertaking.
Re: Text-Based RPG: Survival
C# and VB.Net are good, although most prefer one or the other.
http://www.microsoft.com/express/
The have a Game Creator GDK but it's for C++.
Re: Text-Based RPG: Survival
Quote:
Originally Posted by dglienna
C# and VB.Net are good, although most prefer one or the other.
The C# version is a total of 827MB, and just the .NET framework seems to be 57 MB. Doing about 2 KB per second on local dialup means it'd take nearly 8 hours just for the framework. The entire setup for C# would take a little over 4 & 3/4 days.
My understanding says that I'd have to download the 8-hour .NET framework for both VB and C#. And then there's no telling what else comes with the respective languages.
I do have Dev C++, so I guess I'll be trying to make this in either VB6 or C++. If anyone has any suggestions for languages that require little downloading (<20 MB total is ideal) feel free to share, but otherwise I'm going to be trying things in VB6 for now.
Re: Text-Based RPG: Survival
Usually when you buy a computer language related book, you get an express version of that language. That's gone on for a long time. I had C# Express with one book, and VB6 in another.
Re: Text-Based RPG: Survival
Quote:
Originally Posted by dglienna
Usually when you buy a computer language related book, you get an express version of that language. That's gone on for a long time. I had C# Express with one book, and VB6 in another.
Guess this one comes down to making a trip to Barnes & Noble sometime soon. Or Half.com, who knows.
dglienna - Was the C# book helpful as you learned? If so, what was it called? Did the book remain valuable to you for only a short time in your learning?
I don't think that has anything to do with VB6... Nope, sure doesn't. Better balance that out by talking about VB some.
I've begun programming a time-of-day situation in which TimeOfDay is a string. Based on the value of the string, I have a lot of If TimeOfDay = "X" Then... / Else If etc. statements going on. The time of day/night is to be updated in-game every 10 minutes (1 game hour) and dawn/dusk both happen in three closely-timed stages (i.e. dawnEarly, dawn, and dawnLate.)
I've also considered trying to shift what hour of the day dawn and dusk occur, based on seasons. And yeah, I'm laughing at myself as well, because I' mreally making this more complex than it should be. But maybe I'm bored or something.
To sum that up, that's a TON of If-Thens inside more If-Thens. Are there any obvious alternatives that I'm missing here? Anything to make the time schedule seem like less of a mess?
This is all set up in notepad for now anyhow, and I'm just going to make the individually labeled "pieces" of programming (sorta like an outline of each major function) before I try fitting any of it together.
Re: Text-Based RPG: Survival
The book was Teach Yourself C# in 24 hours, so, yes, it was helpful. I also had been using VB.Net before, and wanted to check out the C# syntax.
I already had the compiler, but had never used it.
You need to look up the SELECT CASE statement:
Code:
SELECT CASE pennies
case 1
s="One Cent"
case 2
s="Two Cents"
case 3
s="Three Cents"
case 4
s="Four Cents"
case => 5
s="5+"
end select
msgbox s