Qbasicnews.com

QbasicNews.Com => Challenges => Topic started by: Liquid Snake on September 29, 2005, 11:37:45 PM



Title: Anyone interested in making a text adventure as a group?
Post by: Liquid Snake on September 29, 2005, 11:37:45 PM
I'd like to make a text adventure with some of you guys.  If you're interested let me know.  I like making them but I don't have the time anymore.  Besides, a game made by more than one person is usually better.  So, let me know if you're interested.  I don't care what it's based on.


Title: Anyone interested in making a text adventure as a group?
Post by: speedlemon on September 30, 2005, 06:46:19 PM
If you need some help. I would want to.  Even though im not that good at programming. I could probably do some of the other stuff besides programming and maybe a little programming.

heres this email address you can use to contact me
speedlemon@gmail.com


Title: Anyone interested in making a text adventure as a group?
Post by: j2krei08 on October 01, 2005, 01:32:34 PM
Sounds great!  I've attempted many times myself, but it's just too complicated with one person coding every single possibility.

Shouldn't this be a project, though?


Title: Anyone interested in making a text adventure as a group?
Post by: speedlemon on October 01, 2005, 04:10:47 PM
j2krei- i really hope you're not serious... im not going to spend one second trying to make a text game like that. if i was going to help, i would at least try to make it better quality then that. something a bit more like na_th_an's tutorials.


Title: Anyone interested in making a text adventure as a group?
Post by: Oz on October 01, 2005, 06:08:09 PM
i might be intrested in helping out

and we don't have to do "every possibility".there is a much easier way of doing things....

list possible commands, and possible objects, and cross reference...jsut make sure we know what is in which scene

oz~


Title: Anyone interested in making a text adventure as a group?
Post by: Liquid Snake on October 02, 2005, 06:49:32 PM
Sweet. And speedlemon, why not?  Graphical games usually become too complicated, and if you try to add a story it becomes even harder.  Remember, this isn't Flash or Java where you can easily make or import a graphic and make it move or whatnot.  This is QBASIC.  To be honest in my opinion, if a game has a good story to it, then that's all that truly matters.

Anyway, I agree that a text adventure takes too long to make by one person.  So what should we make one on?  Any ideas?


Title: Anyone interested in making a text adventure as a group?
Post by: Liquid Snake on October 02, 2005, 06:51:43 PM
Quote from: "j2krei08"
Shouldn't this be a project, though?


Feel free to move it if you can.


Title: Anyone interested in making a text adventure as a group?
Post by: rpgfan3233 on October 02, 2005, 09:51:55 PM
Quote from: "Liquid Snake"
This is QBASIC.

Hint: There is also FreeBasic. . .


Title: Anyone interested in making a text adventure as a group?
Post by: Liquid Snake on October 03, 2005, 11:46:48 AM
Quote from: "rpgfan3233"
Quote from: "Liquid Snake"
This is QBASIC.

Hint: There is also FreeBasic. . .



ummm, ok.  In any case I'd like to start a game with you guys.  If you don't want to do a text-based game, then make suggestions and/or ideas for games.


Title: Anyone interested in making a text adventure as a group?
Post by: rpgfan3233 on October 03, 2005, 11:55:48 AM
Quote from: "Liquid Snake"
Quote from: "rpgfan3233"
Quote from: "Liquid Snake"
This is QBASIC.

Hint: There is also FreeBasic. . .



ummm, ok.  In any case I'd like to start a game with you guys.  If you don't want to do a text-based game, then make suggestions and/or ideas for games.

QUOTE PYRAMID!!!!!!!!!!!! j/k :lol:

By that comment, I was referring to the fact that FreeBasic allows BMP loading. People could design great 2D figures, which could then be saved as BMPs and BLOADed when necessary.


Title: Anyone interested in making a text adventure as a group?
Post by: Liquid Snake on October 03, 2005, 01:57:49 PM
ha, I didn't know that.  I simply am not familiar with freebasic, but hey, if you want to use it then knock yourself out.  

Would you guys rather hear suggestions from me and then you guys pick and choose?  Or do you want to post ideas and/or code?


Title: Anyone interested in making a text adventure as a group?
Post by: speedlemon on October 03, 2005, 05:28:59 PM
Quote from: "Liquid Snake"
Sweet. And speedlemon, why not?  Graphical games usually become too complicated, and if you try to add a story it becomes even harder.  Remember, this isn't Flash or Java where you can easily make or import a graphic and make it move or whatnot.  This is QBASIC.  To be honest in my opinion, if a game has a good story to it, then that's all that truly matters.


liquid snake-im fine with making it a text game. i was referring to the fact that j2krei plans on making all the choices the player can do by hand. at least i think thats what he meant when he said this:

Quote
but it's just too complicated with one person coding every single possibility.


and i guess the game would end up like something like this:

Code:
print "You are in your house"
print "1) go upstairs"
print "2) pick up the key"
print "3) talk to the gnome"
input choice$
if choice$ = "1" then goto upstairs
if choice$ = "2" then goto pickupkeys
if choice$ = "3" then goto talktognome


that would be a very bad idea to make a text game like that.

this is what i meant, but i guess i just said it bad.
Quote
and we don't have to do "every possibility".there is a much easier way of doing things....

list possible commands, and possible objects, and cross reference...jsut make sure we know what is in which scene



Quote

Anyway, I agree that a text adventure takes too long to make by one person.  So what should we make one on?  Any ideas?

once you have the engine done, all you need to do is design rooms. so its actually same amount of work as a regular game if not less work.


Title: Anyone interested in making a text adventure as a group?
Post by: Liquid Snake on October 03, 2005, 08:58:03 PM
I see what you mean, and I agree, those games really do get boring if the options are presented  to you.  I've got some ideas, but I have already made threads for them a while back including a Resident Evil based text game.


Title: Anyone interested in making a text adventure as a group?
Post by: speedlemon on October 04, 2005, 06:02:14 PM
resident evil sounds cool. but i dont know much about it other than its about zombies.


Title: Anyone interested in making a text adventure as a group?
Post by: Oz on October 04, 2005, 06:07:27 PM
may i also suggest FreeBASIC to make commands in teh game 20 times easier

you could easily create a command hook to text:

Code:
TYPE command
    cname as string ' what command?  "get, take, grab" for example
    hook as function(this as command, associatation as string)
END TYPE


you could just reference the function for each command seperately, if you really wanted, eliminating the "this as command" OOP emulation.

I am more than happy to help, and even more if it's fb

email me alex _DOT_ barry _AT_ gmail _DOT_ com if you want to do this, and i'll do something....whatever

oz~


Title: Anyone interested in making a text adventure as a group?
Post by: Liquid Snake on October 04, 2005, 10:32:59 PM
Seems like its alot different from qbasic, but I could catch on by looking at the code.  I learn better through lots of examples.  Anyway, it doesn't matter to me what code we use as long as it's FREE.  

Do you want me to tell you the plot of at least the movie?  Or would you rather I didn't (spoilers).


Title: Anyone interested in making a text adventure as a group?
Post by: speedlemon on October 05, 2005, 08:25:09 AM
go ahead. i guess ill need to know the story a little bit anyways considering if we make a game of it.


Title: Anyone interested in making a text adventure as a group?
Post by: Liquid Snake on October 05, 2005, 11:53:59 AM
OK, Resident Evil starts out with the main character waking up in a shower and not remembering anything, a special ops team arrives and finds her (the main character; Alice) and another person in the building.  they enter what's called, the Hive, which is a secret underground facility which contains the Umbrella Corporation's (An extremely large entity which supposedly makes products used all over the world) most secret experiments, by an underground train.  Alice begins to remember some things.  She's told that she works for the Umbrella Corporation and was supposed to help keep the entrance to the Hive secret.  The main reason why the special ops team arrived was to disable the Red Queen(The facility's AI) which went homicidal killing all of the workers inside.  Most of the special ops team is killed by Red Queen's defenses.  They eventually shut down Red Queen and the power is lost in the facility. The power is rebooted and all the doors open automatically.  With all the doors open, Zombies and stuff start appearing.  Later on she find that someone had broken a tube containing a new biological weapon, a virus....called the T-Virus, which is causing all of this.  When everyone became infected, Red Queen killed them all to prevent an epidemic.  The workers came back to life due to the virus as zombies.  That's the basic story, if you want, I'll give you more details like the ending.

What I was going to use was Market Basket instead of the Umbrella Corporation (I hate Market Basket) with more or less the same kind of story, maybe with a humorous twist or whatever.  But I'll let you guys decide.


Title: Anyone interested in making a text adventure as a group?
Post by: MystikShadows on October 05, 2005, 02:41:59 PM
Hmm a beter corporation name is need huh? :-).  Let's see now.

The Facade Corportation?


Title: Anyone interested in making a text adventure as a group?
Post by: Oz on October 05, 2005, 03:03:18 PM
i think it should be a secret Microsoft island......lol

oz~


Title: Anyone interested in making a text adventure as a group?
Post by: rpgfan3233 on October 05, 2005, 03:16:48 PM
Quote from: "Oz"
i think it should be a secret Microsoft island......lol

oz~

lol
Maybe Washmond, Reddington. . .


Title: Anyone interested in making a text adventure as a group?
Post by: Liquid Snake on October 05, 2005, 05:22:15 PM
Microsoft Island sounds good, but keep coming up with them..., these are good...


Title: Anyone interested in making a text adventure as a group?
Post by: MystikShadows on October 05, 2005, 05:32:14 PM
Use the Robocop alternative.

Online Consumer Products.


Title: Anyone interested in making a text adventure as a group?
Post by: rpgfan3233 on October 05, 2005, 07:29:57 PM
I know! Windows RG would be perfect!


Title: Anyone interested in making a text adventure as a group?
Post by: Liquid Snake on October 05, 2005, 11:04:46 PM
Well, maybe we should go with that then.  Anyone disagree?


Title: Anyone interested in making a text adventure as a group?
Post by: Liquid Snake on October 07, 2005, 12:41:49 PM
Alright let's start with a basic story, so we all know what we want to do.


Title: Anyone interested in making a text adventure as a group?
Post by: Oz on October 08, 2005, 03:52:21 PM
Well, it may be good to design a system, then base a story on the limitations of the system - so if we can't, for instance, open a door, then if the story requires it, we're sunk (yes, that was a bad example)

but if we devise what you can and cannot do, it would be very helpful

oz~


Title: Anyone interested in making a text adventure as a group?
Post by: Liquid Snake on October 09, 2005, 09:30:16 PM
I like to start and see where it goes from there.  That way if a sudden idea comes, you don't have to worry about limitations and such.  Like if you allow yourself only 5 options per room or whatever and you have say, 4 different directions you can go and 4 items to view or pick up....... then what?  I don't know, is that what you mean?  Space is not a problem, I know how to save and load variables if we run out of space on the document we're using.  

Well, anyway, lets start out with at least a basic story, ok?


Title: Anyone interested in making a text adventure as a group?
Post by: Oz on October 10, 2005, 06:06:33 PM
ok - i don't have alot of strength in story lines (Even though, suprisingly i'm a good english student)

oz~


Title: Anyone interested in making a text adventure as a group?
Post by: Liquid Snake on October 10, 2005, 08:50:22 PM
OK, so maybe we could start the story as you starting out as a programmer for Apple.... or maybe a spy for Apple and your jet is shot down over an island owned by Microsoft....
How does that sound?


Title: Anyone interested in making a text adventure as a group?
Post by: Liquid Snake on October 10, 2005, 09:07:43 PM
If at all possible, I could make an intro animation in Flash for the text adventure, but I don't know how to add it to the game.


Title: Anyone interested in making a text adventure as a group?
Post by: speedlemon on October 10, 2005, 10:17:25 PM
instead of apple how about you're just a professional c# programmer. :-?

edit- flash movie sounds cool. 8)


Title: Anyone interested in making a text adventure as a group?
Post by: Liquid Snake on October 10, 2005, 10:30:13 PM
OK, that's fine.

Do you mean a full animated movie of this?  I could if you want, but it won't get finished for a LONG time.  I've got like 2 or 3 other animations to finish...


Title: Anyone interested in making a text adventure as a group?
Post by: speedlemon on October 11, 2005, 10:44:38 AM
well it probably wouldnt have to be done until the game is done + if it's just an intro, then id say between 30seconds and 60 seconds. or is that too long or too short?


Title: Anyone interested in making a text adventure as a group?
Post by: Liquid Snake on October 11, 2005, 11:36:01 AM
umm, I don't know, how much time it takes up doesn't really have a limit.  It could be an hour intro, but it would take a VERY long time.  The question I'd be more concerned about is how you're going to play the intro through QB?  

Again, we just need a good story to begin with, then I could probably make a good intro.


Title: Anyone interested in making a text adventure as a group?
Post by: speedlemon on October 11, 2005, 05:54:34 PM
Quote
Do you mean a full animated movie of this? I could if you want, but it won't get finished for a LONG time. I've got like 2 or 3 other animations to finish...


ok, i guess i shouldve just said 'its a game, not a movie'

and the only way i could think to have the intro playing in qb is

instead of loading it, just make a starter program or just build it into the game itself, when it starts, it loads the flash movie in the flash player. once its done, close it, and continue. if someone else knows how to do this, that would be good.

 :rotfl: [/quote]


Title: Anyone interested in making a text adventure as a group?
Post by: Oz on October 11, 2005, 07:11:25 PM
heres a good story line:

you were fired from a microsoft branch, so apple hires you and you go to microsoft's secret island (you have to "hack" into microsoft's computers to get the location), and you then play "james bond" and do some hard core espianage......may want to include something about Windows Vista (since it copies apple's OSs so bad).....then you have to kill Bill Gates (but he gets a nose job, so you don't recognize him, and he ends up helping you throughout the game, then you kill him)

lol

oz~


Title: Anyone interested in making a text adventure as a group?
Post by: j2krei08 on October 11, 2005, 07:12:59 PM
A while back I was programming a freebasic version of Clue, but it was called QuickClue, for Quicktime.

The main premise: someone stole the new apple x version: chinchila.  There were multiple suspects (including Bill Gates).

Maybe you're some scientist who helped work on chinchila who was kidnapped, but you escape and have to find your way off the island.

btw, do we dare put any type of graphics, maybe ASCII?


Title: Anyone interested in making a text adventure as a group?
Post by: Liquid Snake on October 11, 2005, 09:23:36 PM
Whatever you want to do, I don't want to make all of the calls.  I don't know ASCII.


Title: Anyone interested in making a text adventure as a group?
Post by: Oz on October 12, 2005, 08:46:39 AM
probably should just keep it as text right now......i suppose we can always add in ascii later

oz~


Title: Anyone interested in making a text adventure as a group?
Post by: Liquid Snake on October 12, 2005, 05:18:25 PM
OK, anyone want the honors of writing the intro?


Title: Anyone interested in making a text adventure as a group?
Post by: Mr Match on October 12, 2005, 06:30:16 PM
ASCII could always be added for cut scenes   :)


Title: Anyone interested in making a text adventure as a group?
Post by: j2krei08 on October 13, 2005, 04:18:50 PM
I'll come up with a few startup screens and we'll go from there, if there are no objections...

We also need to choose btwn these types:

1. Choose Your Own adv., where you choose a number to do

2. Or, type in the command you want, like ZORK.


Title: Anyone interested in making a text adventure as a group?
Post by: Liquid Snake on October 13, 2005, 04:39:50 PM
I'd definetly go with #2.  It's alot more fun.


Title: Anyone interested in making a text adventure as a group?
Post by: Mr Match on October 13, 2005, 11:44:56 PM
Quote from: "j2krei08"
ZORK


aaahhhh, i remember back to when the only game i had when i was like 10 was Zork Nemises...good game, never beat it, but still a good game...

(one of the only games i've never beaten!, hey, 4 cd's means its a pretty hard game, ok?...)  :wink:


Title: Anyone interested in making a text adventure as a group?
Post by: j2krei08 on October 14, 2005, 10:14:20 AM
Alrighty, I wrote these short intros last night.  We can choose which one we want, or see if others want to submit.

Introduction #1:
   You wake suddenly, jumping from your resting place - or at least, you wiggle, since you’re strapped down to a table.  As you open your eyes, you realize you are stripped of your clothes and in some sort of laboratory.  As you lift your head, it gets pulled back down by sensors attached to your scalp.  Over your left shoulder, you see a door crack open slightly.  A voice whispers, “Press the red button...” and the door slams shut.  As it does, you look down at your feet and see a large panel of buttons, switches, and levers.  Your toe can barely reach the red, green, and blue buttons that are each stretched off to the side.  Even though you were given a suggestion, you seem compelled to press the blue button.  What do you do?

Introduction #2:
   A light blinds you as you start running.  You don’t know why you’re running, but you remember it being important.  As you slow down and start absorbing your surroundings, you realize you’re in a jungle.  Even though you don’t remember being in a forest, you have a vague recollection of your location.  You walk to a sign in the path that reads, “ALL HACKERS WILL BE SHOT!”, and you suddenly realize why you ran so fast.  Time is now a problem, and you also have three ways to go.  The sign reads “WEST: GATES TOWER”, “EAST: SHIPPING AND RECEIVING”, and “NORTH: SCHEMES AND DASTARDLY PLANS DEPT.”  You know you can’t go back.
(Make Shipping and receiving unavailable until later (with overgrown trees))


Title: Anyone interested in making a text adventure as a group?
Post by: Liquid Snake on October 14, 2005, 11:38:29 AM
The first one sounds good, kind of reminds me of the end of the first resident evil movie and the beginning of the second....


Title: Anyone interested in making a text adventure as a group?
Post by: speedlemon on October 14, 2005, 05:44:33 PM
j2krei-
after reading those intros, they're both good stories, but the 'What do you do?' part is practically the only part I wouldnt put in there. that makes it seem like a choose your own adventure book. and like liquid snake said, something more like zork would be much funner. :wink:


Title: Anyone interested in making a text adventure as a group?
Post by: Oz on October 14, 2005, 06:50:22 PM
i think it would be cool to be able to input something like this in a scene:

> take gold from bag
you take the gold from the bag
> count gold
you find 100 gold coins
> drop 5 gold
you drop 5 gold coins
> drop 5 gold coins
you drop 5 gold coins

and on top of that, we could allow (semi)complex sentences:

>Take gold from the bag then drop 5 gold coins then drop 5 gold
you take the gold from the bad
you drop 5 gold coins
you drop 5 gold coins

oz~


Title: Anyone interested in making a text adventure as a group?
Post by: Liquid Snake on October 16, 2005, 01:56:34 PM
That's going out of my league.  I don't know how to make those complex ones work.  You also need to make it user friendly.... For example:

Code:


IF ((CHOICE$="PICK UP KEY") OR (CHOICE$="GRAB KEY") OR (CHOICE$="TAKE KEY") THEN
KEY =1
PRINT "YOU NOW HAVE A KEY"
END IF



Title: Anyone interested in making a text adventure as a group?
Post by: speedlemon on October 16, 2005, 05:50:26 PM
so... when will begin actually working on the game? :???:  :roll:


Title: Anyone interested in making a text adventure as a group?
Post by: Liquid Snake on October 16, 2005, 07:23:28 PM
Good question...We need to decide on an introduction then work on from there.


Title: Anyone interested in making a text adventure as a group?
Post by: speedlemon on October 16, 2005, 07:33:24 PM
3
Quote
You wake suddenly, jumping from your resting place - or at least, you wiggle, since you’re strapped down to a table. As you open your eyes, you realize you are stripped of your clothes and in some sort of laboratory. As you lift your head, it gets pulled back down by sensors attached to your scalp. Over your left shoulder, you see a door       open slightly. A voice whispers, “Press the red button...” and the door slams shut. As it does, you look down at your feet and see a large panel of buttons, switches, and levers. Your toe can barely reach the red, green, and blue buttons that are each stretched off to the side. Even though you were given a suggestion, you seem compelled to press the blue button. What do you do?



2
Quote
A light blinds you as you start running. You don’t know why you’re running, but you remember it being important. As you slow down and start absorbing your surroundings, you realize you’re in a jungle. Even though you don’t remember being in a forest, you have a vague recollection of your location. You walk to a sign in the path that reads, “ALL       S WILL BE SHOT!”, and you suddenly realize why you ran so fast. Time is now a problem, and you also have three ways to go. The sign reads “WEST: GATES TOWER”, “EAST: SHIPPING AND RECEIVING”, and “NORTH: SCHEMES AND DASTARDLY PLANS DEPT.” You know you can’t go back.
(Make Shipping and receiving unavailable until later (with overgrown trees))



3
Quote

you were fired from a microsoft branch, so apple hires you and you go to microsoft's secret island (you have to "hack" into microsoft's computers to get the location), and you then play "james bond" and do some hard core espianage......may want to include something about Windows Vista (since it copies apple's OSs so bad).....then you have to kill Bill Gates (but he gets a nose job, so you don't recognize him, and he ends up helping you throughout the game, then you kill him)




ok. theres the options.. unless someone has a new idea? but i guess if we are voting... i vote for #3


Title: Anyone interested in making a text adventure as a group?
Post by: Liquid Snake on October 16, 2005, 07:53:21 PM
Fine with me.  Anyone want something different? (I want to get this show on the road!)

Now we just need to make options and/or a room or whatever to start out in.


Title: Anyone interested in making a text adventure as a group?
Post by: speedlemon on October 16, 2005, 08:02:49 PM
so let me get this straight. we're making a choose-your-own adventure book/game, or a game kind of like oz and I said?


Title: Anyone interested in making a text adventure as a group?
Post by: Liquid Snake on October 16, 2005, 08:13:57 PM
WE ARE NOT MAKING A CHOOSE YOUR OWN ADVENTURE GAME!  Definetly the ones you guys suggested.


Title: Anyone interested in making a text adventure as a group?
Post by: speedlemon on October 16, 2005, 08:18:09 PM
oh. i thought that because when you said this

Quote
That's going out of my league. I don't know how to make those complex ones work.


well i think Alex knows what the hell he's doing.  I mean, he wrote a 3d program in qb!!! :o


Title: Anyone interested in making a text adventure as a group?
Post by: Liquid Snake on October 16, 2005, 08:45:55 PM
What I meant by complex was...

Quote
and on top of that, we could allow (semi)complex sentences


3D in QB, that's amazing.


Title: Anyone interested in making a text adventure as a group?
Post by: j2krei08 on October 17, 2005, 10:57:43 AM
I've seen this before.  This is all we really need to do:

Let's say the player inputs a command.  Let's make that command "TAKE SWORD".

Alphabetize the command pool DATA.
Code:
DATA "eat", "sleep", "TAKE"


Then, take the first letter of the command and store it.
Code:
FLCOM$ = UCASE$(MID$(INP$,1,1)


Next, find all the DATA that starts with that letter.
Code:

DIM COMMANDS(*however many we have*) AS STRING * *length of biggest string*

RESTORE CommandStart
FOR I = 1 TO *however many commands we have availible*
   READ cominp$
   cominp1$ = UCASE$(MID$(cominp$, 1, 1)
   IF cominp1$ = FLCOM$ THEN COMMANDS(I) = cominp$
NEXT I


So, now we have all the commands that start with T.
Now, we have to narrow it down to our command.


First, find all the letters of the first word.  Just in case, add a space to the end.
Code:

FOR I = 1 TO LEN(IN$)
WHILE ALLETT$ <> CHR$(32)
   ALLETT$ = UCASE$(MID$(IN$,I,1)
   a = a + 1
WEND
NEXT I
a = a - 1


That gave us the number of text symbols before the space.

Then,

I'll finish this later...[/code]


Title: Anyone interested in making a text adventure as a group?
Post by: Oz on October 17, 2005, 03:36:16 PM
This is a very brief example of how things could work:

[syntax="qbasic"]#DEFINE Obj_NotHere 1
#DEFINE Obj_None      2
#DEFINE Obj_Unable   3

#DEFINE Scene_Invalid 1

DECLARE FUNCTION SceneValid(sceneID as integer) AS INTEGER
DECLARE FUNCTION ObjectValid(obj as string) AS INTEGER
DECLARE FUNCTION Obj_in_Scene(sceneID as integer, obj as string) as integer
DECLARE FUNCTION Obj_Act(obj as string, act as string) as integer
DECLARE FUNCTION Get_Root_Action(u_command as string) as string

DECLARE SUB Parse(action as string)

' lots of jibberish

INPUT "> ", action$
Parse(action$)

' lots more jibberish

FUNCTION SceneValid(sceneID as integer) AS INTEGER
  ' How-ever we save and load scenes will take care of this.
  ' This will be more of a shortcut...

  SceneValid = 1 'By default, it is assumed valid....
 
  DIM f as integer = FreeFile
  open "scene" + str$(sceneID) + ".scn" for input as #f
  if(lof(f) = 0) then SceneValid = Scene_Invalid

' If the file is empty, then it's not
' valid.  I assume we'll use a different
' system to save/load...this is just
' an example

  close #f

END FUNCTION

FUNCTION ObjectValid(obj as string) AS INTEGER

  ObjectValid = 1 'By default, it is assumed valid....
 
  DIM f as integer = FreeFile
  open "obj_" + trim$(obj) + ".obj" for input as #f

  if(lof(f) = 0) then ObjectValid = -1

  close #f

END FUNCTION

FUNCTION Obj_in_Scene(sceneID as integer, obj as string) as integer
  'We have some sort of header to determine what is where...
  ' For no, i'll leave this empty, as i'm not even sure how we'd
  ' save/load scenes.....
END FUNCTION

FUNCTION Get_Root_Action(u_command as string) as string
  ' This would be a "smart" function that would do something like this:
  ' The user inputs: "grab the microphone"
  ' This will get the "grab" part, and check to see what that means
  ' and will translate it into something like "take"
 
  ' We'd have to do some sort of database search.....
  ' this would also be good for language translations

  ' This isn't done :P
END FUNCTION

FUNCTION Obj_Act(obj as string, act as string) as integer
  ' Are you able to do <act> to the <obj> ?
  ' This will determine this (probably through headers)

  ' Again, dependant on how we load/save things
END FUNCTION

SUB Parse(action as string)
  DIM position AS INTEGER = 0, oldpos AS INTEGER = 1
  DIM AS STRING Chunk, Action, Object
 
  ' Loop through all the commands we have...
  while(position = instr(lcase$(action), "then", oldpos + 1) > 0)
    chunk = MID$(lcase$(action), oldpos, position)
    action = "move" ' seee below for reasoning
    ' Seperate the chunk
    ' Probably use " " to seperate...more instr.......too lazy right now
    ' If there is no command, assume "move"...such as input "north"
    ' really is move north
   

    ' Do some validation checks

    ' If it's valid, then initiate it
    oldpos = position
  wend
END SUB[/syntax]

[syntax="qbasic"]TYPE cmdType
  act   AS STRING
  assoc AS FUNCTION() as any
END TYPE

DECLARE FUNCTION Take(obj as string)

DIM commands(999) AS cmdType

commands(1).act = "take"
commands(1).assoc = @Take()

' Now, if we call commands(1).assoc, it will go to Take(obj as string)

commands(1).assoc("example")

FUNCTION Take(obj as string)
  ' This should check for valid object, and Obj_Act() should be checked
  '  If it goes through put into inventory, and take away from scene
  '  may do respawns, too.....
END FUNCTION[/syntax]

i hope that clears up some ideas.....may even spawn some new ones, i hope

oz~


Title: Anyone interested in making a text adventure as a group?
Post by: Oz on October 17, 2005, 03:40:53 PM
Quote from: "speedlemon"
oh. i thought that because when you said this

Quote
That's going out of my league. I don't know how to make those complex ones work.


well i think Alex knows what the hell he's doing.  I mean, he wrote a 3d program in qb!!! :o


the 3d QB can do is...very crappy, so don't give me any credit there...
and i'm no super-genius....
just another programmer with different ideas

Oz~


Title: Anyone interested in making a text adventure as a group?
Post by: speedlemon on October 17, 2005, 06:19:36 PM
Quote from: "j2krei08"
I've seen this before.  This is all we really need to do:

Let's say the player inputs a command.  Let's make that command "TAKE SWORD".

Alphabetize the command pool DATA.
Code:
DATA "eat", "sleep", "TAKE"


Then, take the first letter of the command and store it.
Code:
FLCOM$ = UCASE$(MID$(INP$,1,1)


Next, find all the DATA that starts with that letter.
Code:

DIM COMMANDS(*however many we have*) AS STRING * *length of biggest string*

RESTORE CommandStart
FOR I = 1 TO *however many commands we have availible*
   READ cominp$
   cominp1$ = UCASE$(MID$(cominp$, 1, 1)
   IF cominp1$ = FLCOM$ THEN COMMANDS(I) = cominp$
NEXT I


So, now we have all the commands that start with T.
Now, we have to narrow it down to our command.


First, find all the letters of the first word.  Just in case, add a space to the end.
Code:

FOR I = 1 TO LEN(IN$)
WHILE ALLETT$ <> CHR$(32)
   ALLETT$ = UCASE$(MID$(IN$,I,1)
   a = a + 1
WEND
NEXT I
a = a - 1


That gave us the number of text symbols before the space.

Then,

I'll finish this later...[/code]



would you care to explain what's the point of this? :roll:


Title: Anyone interested in making a text adventure as a group?
Post by: Oz on October 17, 2005, 07:50:13 PM
it's a way of seeing what command is being done.....but that only relies on the fact that the user inputs like this:
"action object"

we need a system that could work very dynamically, but quickly, so if the user was being a bit of a tool, he could write:
"ya....ummm.... take t3h 1337 disk",
the program would parse to see

illegit terms = "ya....ummm.... ", "t3h",  "1337" (unless we had to specify)
action = "take"
object = "disk"

we could do alphabit checks on each one to optimize search time....
just check the beginning of each word, and compare it to the list of commands and objects....if it doesn't exist, then it's of no consequence....

oz~

:: I should put an example :P ::

[syntax="qbasic"]OPTION EXPLICIT
OPTION ESCAPE

#DEFINE alph_start 1
#DEFINE alph_entries 2

DIM commands(400) AS what_ever_type_we_choose ' this is just an example....

' We'll sort the commands into alphabetical order....
' Then setup another array to have starts and beginnings of letters

DIM alphabit_cmd(ASC("a") TO ASC("z"), 1 to 2) AS INTEGER

alphabit_cmd(ASC("a"), alph_start) = 0
alphabit_cmd(ASC("a"), alph_entries) = 5 ' 5 entries, offset of 0 in the array
albabit_cmd(ASC("b"), alph_start) = 5 ' we know it ends at five, because 0+5=5
alphabit_cmd(ASC("b"), alph_entries) = 5 ' now we ave 10 of 400 covered......
'obviously when loading the commands, we can easily do
'this through a recrusive algorithm


DIM user_command AS STRING

user_command = "This is just a check"

' Lots of jibberish inbetween

DIM i as integer, old_i as integer, word as string

i = 0

WHILE (i = INSTR(user_command, " ", old_i + 1)
  if(i < 1) then exit while

  word = trim$(mid$(user_command, old_i, i))
  print mid$(word, 1, 1) ' First letter....
  ' do a comparison test here.....

  old_i = i
WEND[/syntax]


Title: Anyone interested in making a text adventure as a group?
Post by: Mr Match on October 17, 2005, 07:52:55 PM
i think its putting stuff in the Inventory/main option screen?  :???: :lol: :roll:


Title: Anyone interested in making a text adventure as a group?
Post by: j2krei08 on October 18, 2005, 10:15:18 AM
No, it's reading the command that was entered.

K, I left off adding the space to the end.

Code:
FOR I = 1 TO LEN(IN$)
WHILE ALLETT$ <> CHR$(32)
   ALLETT$ = UCASE$(MID$(IN$,I,1)
   a = a + 1
WEND
NEXT I
a = a - 1


Here's what I was going for:
You type in what you want to do.  Then, the computer searches through the command bank and takes out the command you typed.  If the phrase after the command is recognised, then print out the appropriate command.  Theoretically, it should work.  It's kinda hard to explain when using a computer without QB/FB (I don't have internet at home)...

But, we should create a list of general commands that can be used through the game.


Title: Anyone interested in making a text adventure as a group?
Post by: speedlemon on October 18, 2005, 05:49:35 PM
no offense, but if it's just checking to see what the user entered, there's probably much easier ways to do it.... or am i confused?


Title: Anyone interested in making a text adventure as a group?
Post by: Liquid Snake on October 18, 2005, 06:25:33 PM
I think in the long run it would shorten it if I'm following this right.  instead of

Code:
IF (X="TAKE KEY") OR (X="TAKE THE KEY") OR (X="GRAB KEY") THEN


You could search the data for those words.  The problem I see though is...what if the user says "take and throw the key", then it would still accept it as "take key" right?


Title: Anyone interested in making a text adventure as a group?
Post by: speedlemon on October 18, 2005, 06:28:46 PM
Tom, I think that would take too long.  I think Alex had a pretty good start going.  So let me get one thing straight.  This is going to be a QB game? or an FB game?  :P


Title: Anyone interested in making a text adventure as a group?
Post by: Liquid Snake on October 18, 2005, 06:31:36 PM
I don't have FB and I've never used it, so QB.  I've never experimented with that whole data thing...Just try to see what works best seeing how you guys probably know the better ways...


Title: Anyone interested in making a text adventure as a group?
Post by: speedlemon on October 18, 2005, 06:34:22 PM
Huh?  It's going to be made in QB?
*Backs away slowly considering he doesnt even own a copy of that program let alone if it worked*

Don't worry, I'll still be able to do some things... :wink:


Title: Anyone interested in making a text adventure as a group?
Post by: Liquid Snake on October 18, 2005, 06:38:55 PM
I don't see any difference in the programming...


Title: Anyone interested in making a text adventure as a group?
Post by: speedlemon on October 18, 2005, 06:40:47 PM
I just dont care for qb that much.  Considering why would I use it if there's a better program out there that (like you said) is the same to program in.


Title: Anyone interested in making a text adventure as a group?
Post by: Liquid Snake on October 18, 2005, 06:47:09 PM
True, what makes it better though, graphics?(just wondering).


Title: Anyone interested in making a text adventure as a group?
Post by: Oz on October 18, 2005, 10:40:50 PM
i don't mind whether it's qb or FB...FB would be more portable, and it would have a few shortcuts, but QB would be a joyful challenge that I wouldn't mind tackling either

oz~


Title: Anyone interested in making a text adventure as a group?
Post by: j2krei08 on October 19, 2005, 03:40:16 PM
Why not make it *compatible* for both?  Only use keywords availible in both QB & FB, and syntax should work out.


Title: Anyone interested in making a text adventure as a group?
Post by: speedlemon on October 19, 2005, 05:52:05 PM
Quote from: "Liquid Snake"
True, what makes it better though, graphics?(just wondering).

that... and the fact that it doesnt have to be a dos window. I like being able to use fbide.


Title: Anyone interested in making a text adventure as a group?
Post by: Liquid Snake on October 19, 2005, 11:48:00 PM
I don't care what we use. If you want to use FB, just tell me a site where I can download it.


Title: Anyone interested in making a text adventure as a group?
Post by: Oz on October 20, 2005, 09:13:17 AM
www.freebasic.net

If you have any problems with it, I'm *fairly* profficent in it (some libs I ahven't used yet, so i don't know), but it's almost exactly like QB, noly win compatible.....shouldn't be any problems whatsoever

Oz~


Title: been thinkin
Post by: zoasterboy on October 22, 2005, 02:54:40 AM
ive been thinkin about making one of those but havent goten around to it.


Title: Anyone interested in making a text adventure as a group?
Post by: Oz on October 22, 2005, 09:02:19 AM
then join in on the project.

i have no idea what anyone else is doing, but i'm sure we can figure things out.

another person working on it will make things nice

oz~

* a few minutes later *

Ok, well, since i don't know what's going on, I decided to start coding a FB core for the program...

what commands would we implement?
Right now i have: Take, Break, Push
I know that there's many different things we could add..

any suggestions or comments would be good

oz~


Title: Anyone interested in making a text adventure as a group?
Post by: speedlemon on October 22, 2005, 10:28:20 AM
heres some possible commands
probe/examine
open
close
equip
unequip
drop
throw (for example 'throw ball north')

all for now, probably i will think of more later.


Title: Anyone interested in making a text adventure as a group?
Post by: Torahteen on October 22, 2005, 12:39:10 PM
I very much like the way Na_th_an implemented the commands for his IF. Make a file like this:

Jump, 1, 1
Swing, 1, 2
Hit, 1, 3
North, 3, 4
N, 3, 4
South, 3, 5
S, 3, 5
Car, 2, 6
Swing, 2, 7

First you have a word. Any word that might be typed into your program goes here. Then you have the word type. This can be: 1 - Verb, 2 - Noun, 3 - Direction, 4 - Adjective, etc. Then you have a unique word ID. What's nice about this is that you can then have words like North and N both have the same ID. They're are afterall the same word. Then you can parse these into seperate arrays.


Title: Anyone interested in making a text adventure as a group?
Post by: speedlemon on October 22, 2005, 01:37:23 PM
That sounds like a good idea, but IMO, i think Oz knows what he's doing. 8)  Hell, maybe he's already doing it that way. :roll:


Title: Anyone interested in making a text adventure as a group?
Post by: j2krei08 on October 22, 2005, 04:08:48 PM
I think we need a leader for the project.  I posted a poll under General, titled "We need a leader!"  BBcode isn't working on this computer, for some reason...  Please vote!  We need someone who can keep us on the right path.  The poll is set for 10 days.


Title: Anyone interested in making a text adventure as a group?
Post by: phycowelder on October 23, 2005, 04:08:36 AM
Well lets see im new here!
so im just getting in to the swing of things
A text adventure sounds great
but may i pop an idea out in to space for any one to hear
how about a 2d picture map game like Kings quest!
SIERRA did wonders with that type
Its more like a typing txt game with pictures!
you could get two teams or three teams going!

Graphic team
Text/Plot team
Core Code team

if im over stepping boundries or saying something stupid
just let me know so i know how to reply to threads
properly!
oh, by the by! id love to help out!


Title: sorry!
Post by: phycowelder on October 23, 2005, 04:13:35 AM
sorry! like i said im new and i didnt
realize this thread was 4 pages long
you guys are well established on your idea
so forget anthing i said!


Title: Anyone interested in making a text adventure as a group?
Post by: na_th_an on October 23, 2005, 10:36:47 AM
Just droppin' by to say that if you need any assistance gimme a call.

I like Oz's idea, but I suggest you take a layered approach i.e. first parse then identify then act.

As I wrote in my tutes, that's just a way to do stuff, and there's a lot more. The good think about my techniques is that they are easily expandable. In fact, the engine I had half-finished for OpaOpa2 allows for much more than the tut's.

Finally, go for fB. If you want to make a good, long, deep adventure QB will not be enough. The first version of OpaOpa (which I wrote in 1998 - the current one is just a port-rework-correction-add music-translate kind of thing) ran in QBasic but couldn't be compiled in QB :P

Anyway I have a ready to use engine written in QB which work much in the fashion of what I describe in the tutes. If you want it to take a glance, just drop me a line.


Title: Anyone interested in making a text adventure as a group?
Post by: Liquid Snake on October 23, 2005, 11:24:23 PM
I installed FB, but I haven't been able to get it running.  I extracted it and hit the "install" icon, installed all of the libraries, but when I double click FBC nothing happens.


Title: Anyone interested in making a text adventure as a group?
Post by: Deleter on October 23, 2005, 11:35:08 PM
Quote from: "Liquid Snake"
I installed FB, but I haven't been able to get it running.  I extracted it and hit the "install" icon, installed all of the libraries, but when I double click FBC nothing happens.

download fbide, fbc is just a compiler. fbide is what you are looking for.


Title: Anyone interested in making a text adventure as a group?
Post by: Torahteen on October 23, 2005, 11:37:45 PM
FBC is the compiler. You'd have to type out a program in notepad first. I have no clue how to use the compiler program. I just use FBIde. Go to the "Downloads" page at the freebasic site.

Edit: Darn you Deleter! :P


Title: before...
Post by: zoasterboy on October 23, 2005, 11:43:57 PM
before everyone starts coding we should write a storyline.

someone start it and people add on to it. keep the good stuff.


Title: Anyone interested in making a text adventure as a group?
Post by: Liquid Snake on October 24, 2005, 10:11:31 AM
Alright, I've got it up and running.  That would be a good idea, to come up with a storyline.  We already have an intro I think.


Title: story line
Post by: zoasterboy on October 24, 2005, 08:47:51 PM
for the story we should do somthing spacey, where you start as a lowley pawn in some space fleet and during the game you can rise up to captian status. or maybe you could join different teams or be a mercenary. I dont think we should do a medevil or oldage one. those are too over used. sombody add somthing.


Title: Anyone interested in making a text adventure as a group?
Post by: Liquid Snake on October 24, 2005, 10:47:20 PM
have you read any of our past posts?


Title: yah
Post by: zoasterboy on October 24, 2005, 11:26:14 PM
yah but i read the already writen storyline seconds after i wrote my last post. forget i said anything.


Title: Anyone interested in making a text adventure as a group?
Post by: Liquid Snake on October 25, 2005, 12:45:01 AM
It's alright, but lets get back on task....What should we have as the first room?


Title: Anyone interested in making a text adventure as a group?
Post by: j2krei08 on October 25, 2005, 04:16:53 PM
I'll start on the main storyline, or the "correct way" through the story.  We can add diversions and puzzles later.


Title: Anyone interested in making a text adventure as a group?
Post by: speedlemon on October 25, 2005, 05:22:42 PM
Quote from: "j2krei08"
I'll start on the main storyline, or the "correct way" through the story.  We can add diversions and puzzles later.


um.. j2krei, you do understand that this isn't going to be a choose your own adventure book right?   :-?


Title: main menu
Post by: zoasterboy on October 25, 2005, 09:13:32 PM
i could make a main menu where you could open new games save ect.ill post up the code when im done with it.


Title: joining
Post by: phycowelder on October 25, 2005, 09:25:34 PM
is there room for another member on the team?
id love to join the action!


Title: ^^
Post by: zoasterboy on October 25, 2005, 09:27:29 PM
everyones welcome!!!!^^ then again im not the starter of this thread dont sk me.


Title: Anyone interested in making a text adventure as a group?
Post by: Anonymous on October 25, 2005, 09:34:09 PM
good luck guys. making a game is a ton of work.


Title: Re: ^^
Post by: Liquid Snake on October 25, 2005, 10:18:59 PM
Quote from: "zoasterboy"
everyones welcome!!!!^^ then again im not the starter of this thread dont sk me.


Doesn't matter to me how many people work on this, as long as it gets done.


Title: cool!
Post by: phycowelder on October 25, 2005, 10:56:18 PM
ok! so what can i do! were do we stand?


Title: Anyone interested in making a text adventure as a group?
Post by: Liquid Snake on October 26, 2005, 12:40:38 AM
So far we have an intro....that's all.


Title: Anyone interested in making a text adventure as a group?
Post by: j2krei08 on October 26, 2005, 10:07:14 AM
Yes, speedlemon, for the last time, I KNOW IT'S NOT A CHOOSE YOUR OWN ADVENTURE.  I was just planning on writing a main story and we can build from there.


Title: Anyone interested in making a text adventure as a group?
Post by: Oz on October 26, 2005, 03:11:45 PM
i've been really busy with school, but i managed a few minutes of coding

here's some code (FreeBASIC .14):
[syntax="qbasic"]'
' Text Adventure game...thing...Oz style :)
'

ENUM Boolean
    True = -1, False = 0
END ENUM

TYPE World
    fname       as string
   
    lumps       as integer
END TYPE

TYPE Scene
    offset      as integer
    length      as integer
END TYPE

TYPE Object
    ' Where are we loading this from?
    fname       as string
   
    name        as string
   
    num_c       as integer              ' How many associated commands?
    assoc_c     as any ptr              ' Associated command function reference
   
    assoc_f     as function() as any    ' This will be determined by assoc_c
   
    ' We could add attributes such as weight here if we want to...
END TYPE

TYPE ObjCommands
    name        as string               ' Main name of the command ex: "Kick"
   
    aliases     as string ptr           ' Aliases of the main name, ex: "Take"->"Get", "Steal"
   
    assoc_f     as function() as any    ' The function (from pointers)
END TYPE


DECLARE FUNCTION Valid_Command(command_ as any ptr) as integer                       ' Returns index of the command
DECLARE FUNCTION Valid_Obj_Command(this as Object, command as any ptr) as integer   ' Returns -1 if the command is not accepted, otherwise it returns the command index

' Our actions to objects
DECLARE FUNCTION Take(this as Object) as Boolean
DECLARE FUNCTION Break(this as Object) as Boolean
DECLARE FUNCTION Push(this as Object) as Boolean

' This controls our world
DECLARE FUNCTION Move(direction as string) as Boolean

' Here are our initializers
DECLARE SUB Init_Commands()

' ***
'  Lets make some variables
' ***
REDIM SHARED cmdlst(0) as ObjCommands

Init_Commands()


' ***
'  Our code for the main game goes here
' ***

' These are just some tests and examples
dim i as integer
i = Valid_Command(cptr(any ptr, @cmdlst(0).assoc_f)) ' @Take ;)
print i

sleep

end

' ***
'  Initializes commands (to make code less messy)
' ***
SUB Init_Commands()
    ' We have 3 commands:
    '   Take(), Break(), Push()
   
    REDIM cmdlst(0 to 2) as ObjCommands
    cmdlst(0).name = "take"
    cmdlst(0).aliases = Callocate(2) ' The number of aliases...right now we have 2 (0, 1)
    cmdlst(0).aliases[0] = "grab"
    cmdlst(0).aliases[1] = "steal"
    cmdlst(0).assoc_f = @Take
   
    cmdlst(1).name = "break"
    cmdlst(1).aliases = Callocate(2) ' The number of aliases...right now we have 2 (0, 1)
    cmdlst(1).aliases[0] = "smash"
    cmdlst(1).aliases[1] = "destroy"
    cmdlst(1).assoc_f = @Break
   
    cmdlst(2).name = "push"
    cmdlst(2).aliases = Callocate(0) ' The number of aliases...right now, we have 0 (i couldn't think of any)
    cmdlst(2).assoc_f = @Push
END SUB

FUNCTION Valid_Command(command_ as any ptr) as integer
    dim cmdi as integer ' command index
    for cmdi = lbound(cmdlst) to ubound(cmdlst)
        if(command_ = @cmdlst(cmdi).assoc_f) then
            return 1
        end if
    next
   
    return 0
END FUNCTION

FUNCTION Take(this as Object) as Boolean
    return False
END FUNCTION

FUNCTION Break(this as Object) as Boolean
    return False
END FUNCTION

FUNCTION Push(this as Object) as Boolean
    return False
END FUNCTION[/syntax]

Oz~

:: Edit ::
I should explain the World and Scene types

If you've ever looked at quake code, you'd see how they save and load levels....through "lumps"

basically, a lump is a chunk of data....it has a starting point, and it has a length

here's a good example:
Code:
mynick$ = "Ozwald Smooth"
lump(1).offset = 1
lump(1).length = 6
' Lump(1) = "Ozwald"
lump(2).offset = 7
lump(2).length = 6
' Lump(2) = "Smooth"


It's jsut a quicker way of organizing multiple forms of data in one file

Here's how it would work in a file format (each line is a pseudo line in the file):
Quote from: ""
num_lumps%
lump_1_offset%
lump_2_offset%
(...)

Length_of_Lump_one%
data$

Length_of_Lump_two%
data$
(...)


So, in one file, we could have multiple rooms, with multiple mini-lumps inside, if we wanted

i hope that helps explain how it could work

if there are any other thoughts, please contribute...you can completely trash that base code if you have another idea...

if you don't feel like coding it, i probably can if i have a better idea of what I'm doing

Oz~


Title: Anyone interested in making a text adventure as a group?
Post by: Liquid Snake on October 26, 2005, 05:05:37 PM
Because I'm new to FB, I am clueless to what you just did.(Been using QB too long)


Title: Anyone interested in making a text adventure as a group?
Post by: Torahteen on October 26, 2005, 08:40:49 PM
The only thing non QB that he did is use pointers. With CAllocate, he allocated memory on the free store. Then, using pointer arithmetic, gave them a value. It's difficult to understand at first. You should read rdc's Introduction to Pointers. Here is the link: http://www.freebasic.net/wiki/wikka.php?wakka=TutPointers


Title: Anyone interested in making a text adventure as a group?
Post by: speedlemon on October 26, 2005, 08:53:08 PM
gottabej2krei: chill out ok? ill stop asking you. but i thought there would at least be a couple big quests in the game and theres a couple different stories that are possible that you have to play the game a couple times to get to see.

oz: that lump idea sounds cool.


Title: Anyone interested in making a text adventure as a group?
Post by: Liquid Snake on October 28, 2005, 05:44:58 PM
Quote from: "Torahteen"
The only thing non QB that he did is use pointers. With CAllocate, he allocated memory on the free store. Then, using pointer arithmetic, gave them a value. It's difficult to understand at first. You should read rdc's Introduction to Pointers. Here is the link: http://www.freebasic.net/wiki/wikka.php?wakka=TutPointers


I don't really understand what you can do with them....Points to data...well what kind of data? And where are you bringing it in from?


Title: Anyone interested in making a text adventure as a group?
Post by: Oz on October 29, 2005, 07:54:08 AM
I never really understood pointers until I started using them

i'll try my best to explain them, though

basically, everything in the computer memory has an address of some sort, yes?
Well, a pointer is used to find that address.

So, instead of moving a chunk of memory from place to place, we can just send the address, and any variable can use this address

for example
Code:
DIM example AS INTEGER


Ah-ha....we have a variable....not comes the fun part:

Code:
example = 123456

now we have data in the variable.......instead of tranporting the 123456 value, we can transfere the address:
Code:
PRINT example, @example


The '@' symbol retrieves the pointer address of the variable....so note that example and @example are two completely different numbers

How is this helpful?

you can use this for a few different things:
copying a variable
Code:
DIM example2 AS INTEGER
example2 = @example ' Now, when example changes, example2 will change, because it uses the same memory


this comes in handy, severly, when you have huge amounts of data in a UDT (user defined type)
Code:
TYPE some_example
a as string * 50
b as long
c(100) as integer
END TYPE

DIM example3 as some_example
dim cnt as integer
example3.a = string$(50, chr$(int(rnd * 255)))
example3.b = 329465084765447
for cnt = 1 to 100
  example3.c(cnt) = int(rnd * 100)
next

'(...)
SUB test(exptr as some_example ptr)
  print exptr->a
  print exptr->b
  print exptr->c
END SUB


If you are dealing with pointers of a UDT, instead of using a period to use a sub-variable, use the -> sign (minus + greater-than)

Pointers are mainly used because with addresses, you can do some 'fun' things when you really get a handle on them ( cptr().... :rotfl:  )

hope that helps the explaination

oz~


Title: Anyone interested in making a text adventure as a group?
Post by: speedlemon on October 29, 2005, 05:05:20 PM
Thanks for that information Alex.  I don't much about pointers yet either.  I was wondering, what kind of fun stuff can you do with it that you mentioned? :???:


Title: Anyone interested in making a text adventure as a group?
Post by: Liquid Snake on October 30, 2005, 12:05:02 AM
What is it like....GOTO or GOSUB?  The data it retrieves is from within the program right?  Sorry, I still don't see the full picture.


Title: Anyone interested in making a text adventure as a group?
Post by: Oz on October 31, 2005, 12:39:56 PM
a pointer only points to a memory address.

when two or more variables use the same memory, they are both the same.

there isn't much more I can really do to explain pointers....

i don't know any good tuts on them...particularily for FB (but any language would do).....

best bet is to google "pointer tutorials, c", which will give yo probably lots of fun stuff

oz~


Title: Anyone interested in making a text adventure as a group?
Post by: Torahteen on October 31, 2005, 12:56:56 PM
Pointers also allow you to use memory on the Free Store. Think of your normal Dimmed variables as cubbyholes. When you DIM a variable, you put a label on a cubbyhole. So I have cubbyhole with a label on it now. You can do anything using that label.

The Free Store is a bunch of cubbyholes already made by the computer. However, you can not label these. Instead, you can access it through its address. Take this as an example.

Code:
Dim myptr As Integer Ptr        'A pointer to an Integer.

myptr = Allocate(len(Integer))          'Allocates 4 cubbyholes on the
                                                         'Free Store, then puts the
                                                         'Address in myptr.


Now you really can't do anything with myptr. It's just a Pointer to a cubbyhole on the Free Store. However, now you can put anything you want in that cubbyhole using your pointer. Things done directly on the free store tend to be faster than regular variables. The way to put the number 256 in the cubbyhole, is to use the DeReference operator (*). Like this:

Code:

*myptr = 256


Notice the asterisk (*). This is very important. The asterisk means "The cubbyhole at". So this would be read as "The cubbyhole at myptr gets 256". You see?

This is only one of the many uses of pointers. They don't seem very useful at first (and truthfully I haven't used them much either) but they are one of those tricks of the trade, that you will learn as you go along.[/code]


Title: Anyone interested in making a text adventure as a group?
Post by: Liquid Snake on October 31, 2005, 02:09:35 PM
OK, it's starting to make sense, but until I see them in action( to see and understand), I probably won't be able to use them.


Title: Anyone interested in making a text adventure as a group?
Post by: Torahteen on October 31, 2005, 06:27:41 PM
Another VERY useful thing they are used for is linked lists. Linked lists are pretty much dynamic arrays. But they allow more functionality, and easier to sort.


Title: Anyone interested in making a text adventure as a group?
Post by: stylin on November 03, 2005, 08:47:53 PM
Linked lists have a few advantages over an array, and also a few disadvantages.

Arrays:
Arrays are (in most implementations) contiguous areas of memory. That means all of the elements of the array from the first to the last are stored in memory sequentially, side-by-side, one after the other. This is how you can have O(1) random access to any element, iow, it doesn't matter how many elements are in the array, the time it takes to retrieve one of those elements will be the same (because we can simply do some pointer arithmetic).

This contiguous storage brings up a problem when we need to insert or remove an element in the array, because all of the elements after it will have to be moved accordingly - that is, when inserting, the elements following the insertion point must be moved further in memory (to the right) to make space for the new element. Similarly, when deleting, the elements following the deletion point must be moved earlier in memory (to the left) to fill in the space caused by the deleted element.

As you can imagine, the larger the array is, the more time it will take to perform these operations. An alternative is to use a linked list, which itself has an O(1) insertion/deletion complexity, but suffers from its own drawbacks as we'll see in a moment.

Linked Lists:
Linked Lists are containers similar to arrays, in the fact that they contain elements. Linked lists implement this storage differently than arrays, however.

A linked list is composed of one or more nodes. These nodes are objects which contain an element, and a pointer to another node. In a singly-linked list, these nodes point to the next node in the list, thus, one can only iterate forward in such a list. In a doubly-linked list, each node points to the next and previous node, making forward and reverse iteration possible.

You may be able to guess how we can have constant insertion/deletion into a linked list - and the answer is with pointers. Since each node (or element) merely points another node, these nodes don't have to be contiguous, ie. they can be stored in memory wherever the compiler sees fit to put them.  This means that it's not necessary to move elements when inserting or deleting. All we do is change the pointer!

Although linked lists can be efficient if you need to add and remove alot of elements from the middle of a container, they are incredibly inefficient when it comes to random-access. Since elements are stored at arbitrary locations in memory, the only way to access an element via an index is to start from the beginning of the list and make your way forward (via the nodes pointers). As you can see, this is the same problem with insertion/deletion for arrays, where on the average, half the elements must be dealt with.

Summary:
Arrays are good when you need efficient random access (like a screen buffer) and when you only need to insert/remove elements from the ends of the array.

Linked lists are very efficient in insertion/removal from the middle of the list (like a task list for a kernel), but horribly slow with random access.

Conclusion
For basic object storage, prefer arrays, and use linked lists when you specifically need to take advantage of its features, and are not concerned with its downfalls. For any programmer not using C++, making your own linked list can be fun, and it is a good way to get introduced to working with pointers (C++ has a built-in linked list, as well as numerous other container types).


Title: Anyone interested in making a text adventure as a group?
Post by: Liquid Snake on November 03, 2005, 08:48:01 PM
OK, lets use them then.  Should we start making rooms and stuff? Or do you think we should start with pointers?


Title: Anyone interested in making a text adventure as a group?
Post by: stylin on November 03, 2005, 09:09:07 PM
Quote from: "Liquid Snake"
OK, lets use them then.  Should we start making rooms and stuff? Or do you think we should start with pointers?

In my opinion, you should start with a story. Then you should write a Game Idea Document, a one-page summary of plot, major characters, setting, genre, demographic.

After some research and alot of communication with your technical and artistic teams, you can start working on your Game Design Document, or "Bible". This document is a complete description and tear-down of your game, including menu screens, environmental drawings, character backgrounds, gameplay elements (such as specific things that occur when selecting items, battling, equipping, travelling, interacting, etc.).

This will literally be your Bible. Every person on the various teams (programming, art/animation, sound) should be able to consult this document and have a concrete answer as to how something is to be done. If it's not in the Bible, it doesn't get into the game (generally speaking this is true, but there are always exceptions). In short, the Game Design Document is your game - on paper (many, many, many, many pieces of paper :)).

After you have finished with your Design Document, then you can start coding, drawing and animating. You need a foundation before you can build a house :)




But that's just my opinion.


Title: Anyone interested in making a text adventure as a group?
Post by: Liquid Snake on November 04, 2005, 11:04:14 AM
True.  Alright, lets do that then.


Title: Anyone interested in making a text adventure as a group?
Post by: Torahteen on November 04, 2005, 01:08:27 PM
IMO, a Wiki is perfect for such a document. Preferably one that requires a password.


Title: Anyone interested in making a text adventure as a group?
Post by: Oz on November 04, 2005, 04:37:43 PM
i could make a webpage for story/plot dev.

i'd be setup so we can add, delete, and insert story lines

oz~


Title: Anyone interested in making a text adventure as a group?
Post by: Mr Match on November 04, 2005, 06:15:50 PM
Quote from: "Oz"
i could make a webpage for story/plot dev.

i'd be setup so we can add, delete, and insert story lines

oz~


sounds good, i could set up a chatroom site so we dont have to keep posting, how does that sound?  :-?


Title: Anyone interested in making a text adventure as a group?
Post by: speedlemon on November 04, 2005, 07:01:49 PM
I think using this is fine because most of us are never online at the same time. ( well i dont think we've all been online at all yet at the same time)


Title: Anyone interested in making a text adventure as a group?
Post by: Liquid Snake on November 06, 2005, 10:13:35 PM
It may be good to just keep posting anyway so that this thread isn't tossed.


Title: Anyone interested in making a text adventure as a group?
Post by: Oz on November 07, 2005, 05:33:08 PM
so, has anyone worked on any code?

anything?  even if it has nothing to do with mine whatsoever

oz~


Title: Anyone interested in making a text adventure as a group?
Post by: Oz on November 11, 2005, 10:15:05 PM
progress?


Title: Anyone interested in making a text adventure as a group?
Post by: Mr Match on November 12, 2005, 12:54:54 AM
:o ...(que crickets)...




 :lol:


Title: Anyone interested in making a text adventure as a group?
Post by: Liquid Snake on November 12, 2005, 10:23:52 PM
Which intro did we decide on again?  If no one will start this show, then I may as well.


Title: Anyone interested in making a text adventure as a group?
Post by: Torahteen on November 14, 2005, 08:40:18 PM
Hey guys. I was wondering how your project is goin'? Any progress?


Title: Anyone interested in making a text adventure as a group?
Post by: speedlemon on November 14, 2005, 09:10:05 PM
nope, not much progress torahteen.. I guess everyone was busy lately? Personally, I'd like to see this game get completed.  Only Alex is the only the one that actually worked on it as far as i know. (Good job btw Alex)


Title: Anyone interested in making a text adventure as a group?
Post by: Torahteen on November 14, 2005, 11:54:34 PM
Sorry to hear that. I would help, but I'm busy with our (syn9, SSC, Ryan, Rattrap, Eclipzer, and me) project. But tell me if you need any small help. I can lend a small hand.


Title: Anyone interested in making a text adventure as a group?
Post by: Liquid Snake on November 15, 2005, 01:49:24 AM
OK, the start was that you were an ex programmer for Microsoft or something like that and end up being a spy of some sort working for.....?  You start out in front of the "Base".  Correct?


Title: Anyone interested in making a text adventure as a group?
Post by: Oz on November 15, 2005, 10:02:22 AM
well, we could be infront of a secret linux of mac base on a secret island (thought that was how it goes)

oz~


Title: Anyone interested in making a text adventure as a group?
Post by: Liquid Snake on November 15, 2005, 11:04:32 AM
Fine.  So you're in front of the base, what options should we allow?


Title: Anyone interested in making a text adventure as a group?
Post by: speedlemon on November 15, 2005, 06:30:22 PM
from earlier in the thread:

take
break
push
probe/examine
open
close
equip
unequip
drop
throw


Title: Anyone interested in making a text adventure as a group?
Post by: Liquid Snake on November 15, 2005, 09:12:22 PM
I meant specifically.... suck as "Look at building....Open Door, smoke your stash, fire gun, stuff like that...specific to the beginning.


Title: Anyone interested in making a text adventure as a group?
Post by: Torahteen on November 16, 2005, 12:09:03 PM
Remember guys, you aren't going to want to program each specific command. You guys need a parser. Then find what the user wanted to do, see if it is a valid choice, then do the appropriate action.

So what you'll want to make is a list of items in the room. Such as Building, table, guard, etc.


Title: Anyone interested in making a text adventure as a group?
Post by: Liquid Snake on November 16, 2005, 01:49:50 PM
Sorry, I just don't really know how to do that.  Anyway, we could find stuff specific to each room or whatever and parse it in later.... or something.


Title: Anyone interested in making a text adventure as a group?
Post by: Oz on November 21, 2005, 03:35:10 PM
Quote from: "Mr Match"
:o ...(que crickets)...


Title: Anyone interested in making a text adventure as a group?
Post by: Torahteen on November 24, 2005, 02:06:15 PM
Well, you should get someone who can make a parser. Parsing a sentence is the easy part. If you want, I can make one. I don't have anything to do on my other project.


Title: Anyone interested in making a text adventure as a group?
Post by: Oz on November 30, 2005, 07:32:35 PM
should we declare this another dead project?


Title: Anyone interested in making a text adventure as a group?
Post by: speedlemon on November 30, 2005, 08:31:36 PM
id say if no one wants to work on it, then by all means i declare this a      project. but it officially up to the rest of the people on the team


Title: Anyone interested in making a text adventure as a group?
Post by: Liquid Snake on November 30, 2005, 09:37:59 PM
Do it....I really don't have time...sorry.  I've been in work up to my ears.


Title: Anyone interested in making a text adventure as a group?
Post by: Torahteen on December 01, 2005, 12:41:20 PM
I'm sorry to hear that :( . I was rather interested in the project. Oh well.


Title: Anyone interested in making a text adventure as a group?
Post by: axipher on December 05, 2005, 12:29:56 PM
maybe i can help, not like i have much to do, dedicate 1 hour a nite or sumtin maybe


Title: Anyone interested in making a text adventure as a group?
Post by: Torahteen on December 05, 2005, 02:36:30 PM
I don't think they're doing it anymore. 'Tis a dead project.


Title: Anyone interested in making a text adventure as a group?
Post by: Liquid Snake on December 06, 2005, 12:47:51 AM
It's up to you, I simply can't, due to a lack of time.


Title: Anyone interested in making a text adventure as a group?
Post by: axipher on December 06, 2005, 06:02:18 PM
well im just wastin time on a paint program gettin invaluable experience but if it succeeds will be a big hit, but besides that, im good with text RPG's, i have a how u say, creative lingo when it comes to adding text to games


Title: Anyone interested in making a text adventure as a group?
Post by: j2krei08 on December 06, 2005, 06:55:36 PM
Your use of grammar is uncanny!  I pick him! :-?

My programming skills are somewhat weak, and I don't usually have time to use the internet, but I say we still go on with this.

If only a few people could write ZORK I for DOS back in the 80's without even half the technology we have now, I say a large forum of people could easily pull it off. :D


Title: Anyone interested in making a text adventure as a group?
Post by: speedlemon on December 06, 2005, 07:57:25 PM
ok, well count me out.. way to busy with school, other projects, etc.


Title: Anyone interested in making a text adventure as a group?
Post by: axipher on December 06, 2005, 11:51:08 PM
cmon speedlemon, im ni highschool and i find lotsa time, i have physics, chemistry, drafting and drama and i still find enough time between school, friends, and work, if ur in elementary school, u have less work, if ur in college, well mayben u have more work, but u also have more time and probably not dial-up which takes like 3 minutes to post a dam reply, well to see it anyway, it probably shows up before the confirmation appears for me


Title: Anyone interested in making a text adventure as a group?
Post by: speedlemon on December 07, 2005, 08:51:15 PM
i have dial up. and I'm being serious when I say I dont really have the time to work on a game much (especially with an online team-mate)


Title: Anyone interested in making a text adventure as a group?
Post by: Kevin_theprogrammer on December 07, 2005, 09:00:35 PM
Fact: some DSL services charge less than dial up services... Just find the right one...


Title: Anyone interested in making a text adventure as a group?
Post by: axipher on December 07, 2005, 11:06:10 PM
i live 15 min from DSL, and my dial-up only connects at 26.4 kps, now tell me a solution, i use FireFox, so thats a start, but all i get frmio connection enhancers, is an added 2.4 makin it 28.8.  so as you can see, i dont have much of an option here, unless i convince my parents to go satelite, then i get a free satelite card for my laptop, yay, and air cards dont work where i liv either, im on the lake


Title: Anyone interested in making a text adventure as a group?
Post by: Z!re on December 07, 2005, 11:11:50 PM
Quote from: "axipher"
i live 15 min from DSL, and my dial-up only connects at 26.4 kps, now tell me a solution, i use FireFox, so thats a start, but all i get frmio connection enhancers, is an added 2.4 makin it 28.8.  so as you can see, i dont have much of an option here, unless i convince my parents to go satelite, then i get a free satelite card for my laptop, yay, and air cards dont work where i liv either, im on the lake
Ya, sucks to be you.. moving on.. :P
Quote from: "axipher"
cmon speedlemon, im ni highschool and i find lotsa time, i have physics, chemistry, drafting and drama and i still find enough time between school, friends, and work, if ur in elementary school, u have less work, if ur in college, well mayben u have more work, but u also have more time and probably not dial-up which takes like 3 minutes to post a dam reply, well to see it anyway, it probably shows up before the confirmation appears for me
If he says he doesent have time, he doesent have time..


Title: Anyone interested in making a text adventure as a group?
Post by: axipher on December 08, 2005, 12:05:12 AM
lol, you must really hate me lol, that or u like to joke around alot, either or im over it, but anyway bak to the topic, is the project still up or not


Title: Anyone interested in making a text adventure as a group?
Post by: thegrogen on December 08, 2005, 12:27:20 AM
Quote from: "axipher"
lol, you must really hate me lol, that or u like to joke around alot, either or im over it, but anyway bak to the topic, is the project still up or not


Here are the problems I think she has with you:
1) Your grammar sucks ass.
2) Your spelling sucks ass.
3) You have posted in every topic that you could, even if you knew nothing about the subject, which suggests that you are attempting to rack up a high number of posts.
4) You use AOL-er chat speak on a forum, which makes your posts difficult to understand to people who are not native English speakers. See 1) and 2).
5) You are constantly moaning about your problems (like the post Z!re just commented on). I'm a teenager, so I definitely know something about teen angst, but this is going too far.

That's all I can think of off the top of my head, but without a doubt, there are more.


Title: Anyone interested in making a text adventure as a group?
Post by: axipher on December 08, 2005, 11:11:35 AM
Please may you kindly tell me how the posting of opinions is in any way wrong and punishable by law or any other source for that matter.  There is nothing wrong with my grammar or spelling, I just prefer to type fast and using "internet lingo" is a fast way of diong so.  On another note, I hate AOL with a passion, it gives me a worst connection then I get normally even when using the FireFox web browser.  Now if you can tell me I'm doing anything illegal I'll stop, but other than that, I think I'm just an ordianry teenager, getting involved in BASIC and enjpying life, and racking up posts is not my goal, I want to have the topic in my list so I can check when it is updated rather then have 20 emails a day saying that a reply has been posted, I simply and giving my thoughts in a topic, you don't have to read them if you don't want to.


Title: Anyone interested in making a text adventure as a group?
Post by: Sumo Jo on December 08, 2005, 11:24:21 AM
Quote from: "axipher"
On another note, I hate AOL with a passion, it gives me a worst connection then I get normally even when using the FireFox web browser.


You completely missed thegrogen's point with that.

Anyway, there is a lot wrong with your grammar and spelling.  It seems that actually you haven't created one post without spelling errors (due to your hurrying to post maybe) and that annoys some folks (myself included).  Take the extra time if necessary to spell check your posts or to go back over them so you can see if you've made mistakes.  Stay away from using "u" instead of "you" as I'm pretty sure that's against one of the internet commandments now.  If not, it should be.

Also, the rate you're post it does appear to many people that you're trying to increase your post count (you attempted to explain it in your last post but I have no idea what you said as you threw words in some crazy formation that made no sense at all grammatically).  If you're going to speak on a topic, don't just add some thought that isn't really relevent or doesn't fit with the topic, actually contribute something meaningful to it.  Please.


Title: Anyone interested in making a text adventure as a group?
Post by: axipher on December 08, 2005, 11:30:31 AM
what is up with you people and flaming, half the time my posts are "irrevelant" or "unmeaningful" so people who aren't fluent in english don't need to concern themselves with my posts, last time I checked, I talked to people not fluent in english fine using shortcuts and grammatical errors and they can understand me, but the "u" thing I can understand and I dont think "I" always has to be capital but for you sake I'll try and keep "i" capitalized and I will try and use "you" instead of "u", and maybe I'll try and go over my posts before I post them while at school when I only have 1 hour on the computer and work to do.


Title: Anyone interested in making a text adventure as a group?
Post by: Kylemc on December 08, 2005, 12:58:42 PM
Quote from: "axipher"
half the time my posts are "irrevelant" or "unmeaningful"


You got that right.


Title: Anyone interested in making a text adventure as a group?
Post by: Sumo Jo on December 08, 2005, 02:36:27 PM
Quote from: "axipher"
what is up with you people and flaming, half the time my posts are "irrevelant" or "unmeaningful" so people who aren't fluent in english don't need to concern themselves with my posts, last time I checked, I talked to people not fluent in english fine using shortcuts and grammatical errors and they can understand me, but the "u" thing I can understand and I dont think "I" always has to be capital but for you sake I'll try and keep "i" capitalized and I will try and use "you" instead of "u", and maybe I'll try and go over my posts before I post them while at school when I only have 1 hour on the computer and work to do.


Maybe learn how to say more in less words?


Title: Anyone interested in making a text adventure as a group?
Post by: Z!re on December 08, 2005, 02:46:24 PM
Quote from: "axipher"
I only have 1 hour on the computer and work to do.
It's not like anyone is forcing you to post in 15 topis/day..
To quote some random guy who you probably dont remember:
Quote from: "whitetiger0990"
I dont really have the time


Title: Anyone interested in making a text adventure as a group?
Post by: axipher on December 08, 2005, 06:30:26 PM
well last time i chked, my posts nvr hurt anyone


Title: Anyone interested in making a text adventure as a group?
Post by: Z!re on December 08, 2005, 06:58:36 PM
Quote from: "axipher"
well last time i chked, my posts nvr hurt anyone
dey hurtz me eys


Title: Anyone interested in making a text adventure as a group?
Post by: axipher on December 08, 2005, 07:18:46 PM
you dont have too styare at them, u can just pas over them, cant you


Title: Anyone interested in making a text adventure as a group?
Post by: Z!re on December 08, 2005, 07:45:08 PM
Quote from: "axipher"
you dont have too styare at them, u can just pas over them, cant you
No.. my imaginary green goblin forces me to read your random unicode characters..


Title: Anyone interested in making a text adventure as a group?
Post by: axipher on December 08, 2005, 07:56:30 PM
then have your cow kill the goblin and then ill give him a chicken burger


Title: Anyone interested in making a text adventure as a group?
Post by: Liquid Snake on December 08, 2005, 09:51:31 PM
How much more random can this thread become?


Title: Anyone interested in making a text adventure as a group?
Post by: axipher on December 08, 2005, 09:56:23 PM
im not sur, i guess its up to us


Title: Anyone interested in making a text adventure as a group?
Post by: Sumo Jo on December 08, 2005, 10:51:49 PM
Quote from: "axipher"
im not sur, i guess its up to us


Axipher, this is the last time I'm going to mention it.  Do whatever you have to do to spell check and use grammar in your posts.  I'm not going to watch you spam around the forums spelling 1-2 words wrong in each post (not because you don't know how to spell them either, but because you are too lazy to read what you just wrote).  If it were an occassional thing, I'd be more understanding, but you make no effort at all to pay any attention at what you're typing.

I don't care if you only have an hour to be on the internet.  I doesn't take more than two seconds to realize "sure" has an "e".  I realize not adding any punctuation or apostrophes (so that your contractions make sense) saves you time, and I'm not mentioning those.  But at least read your post and see what you've wrote.

If you do not start doing this, things will turn out badly for you here.


Title: Anyone interested in making a text adventure as a group?
Post by: axipher on December 08, 2005, 10:55:53 PM
well sorry, but of the hundreds of forums i visit, this is the first one to actually care about spelling, i guess that having more then just english programmers does give you reason to flame me, but i am so used to just typing away, and people getting what i type, not flame me on every grammar and spelling mistake, sorry


Title: Anyone interested in making a text adventure as a group?
Post by: Sumo Jo on December 08, 2005, 11:01:17 PM
Quote from: "axipher"
well sorry, but of the hundreds of forums i visit, this is the first one to actually care about spelling, i guess that having more then just english programmers does give you reason to flame me, but i am so used to just typing away, and people getting what i type, not flame me on every grammar and spelling mistake, sorry


It's not that you make a few grammar mistakes here and there.  Your posts present an "I don't care" attitude and with that people take you less seriously and take your posts as spam.  Especially when I look at the index page and all I see is your name as the newest post in each forum.

Fix it up and people will respect you and not jump down your throat after every post.


Title: Anyone interested in making a text adventure as a group?
Post by: axipher on December 08, 2005, 11:16:02 PM
well if you were to go and check my "paint program, help needed" topic, which is my most serious topic, you will see that i just spent about 5 minutes fixing spelling mistakes on the 1st post which is the main post that contains my code, again i am sorry for any disrespect i have caused or people i have offended in any way, oh and also, about my name being in every topic as the newest post, sorry, but once i see a new post in a topic i've posted in, i urge to see the new post and get a post in, it's an instinct i guess, but i could be like some people and ask a question, then never check back for answers


Title: Anyone interested in making a text adventure as a group?
Post by: Torahteen on December 09, 2005, 12:06:46 AM
Quote from: "axipher"
Well if you were to go and check my "paint program, help needed" topic, which is my most serious topic, you will see that I just spent about 5 minutes fixing spelling mistakes on the 1st post which is the main post that contains my code. Again I am sorry for any disrespect I have caused, or people I have offended in any way. Oh and also, about my name being in every topic as the newest post, sorry. But once I see a new post in a topic I've posted in, I urge to see the new post and get a post in. It's an instinct I guess, but I could be like some people and ask a question, then never check back for answers


We don't care if you don't check back for answers. Our problem is you posting in a thread, just to post. Not to give feedback or to help. By the way, is it so hard to press the SHIFT key?

Congrats on spending the whole 5 minutes to fix your spelling errors. But wouldn't it have been nice to just pay attention to what you are writing, and spelled everything right in the first place? Is it too hard on your fingers or what? If you only have an hour, then only post in the topics that you have time to write an organized, helpful response in. Alright? We are not asking you to chop off your arm.

Oh, and I'm not buying this BS that you only have "like an hour to be on the internet", considering the amount of posts you make a day. I bet I'm on twice as much as Sumo, and I always see your posts. I'm on 8 to 10 times a day.


Title: Anyone interested in making a text adventure as a group?
Post by: axipher on December 09, 2005, 12:24:08 AM
Well I come on during my drafting class which is 1 hour long and it rotates every morning, then at night from about 8:30 to 10 I am normally on and if I see a post in my list without mine being the last post, that's when I pay that topic a visit, today was different thought, I got on the computer at around 4:30 and have been on since, it was snowing hard so I had to shovel, then I was back on acceptong people's flames about my post's grammar and spelling.  If you want it again, I am sorry, I doubt I will go and correct each one of my previous posts, but I will try and keep spelling and grammar mistakes to the lowest I can, I can't garuantie all this capitalization and punctuation though, but I will try


Title: Anyone interested in making a text adventure as a group?
Post by: Torahteen on December 09, 2005, 12:24:10 AM
Living proof that he spends more time. I looked at his most recent posts, and here are the times that he had been on just today.

  • 7:00-7:30AM
  • 2:27-2:43PM
  • 3:03-4:10PM
  • 5:06-5:25PM
  • 5:47-5:58PM
  • 6:55-7:49PM


Maybe I'm adding incorrectly, but that looks like WAY over an hour to me. Need I go to yesterday? Ah... Why not!

  • 8:08-8:14AM
  • 3:49-4:07PM
  • 7:00-8:05


Still over an hour. Hmm...
You also have contradicted yourself.
Quote
im ni highschool and i find lotsa time

Quote
I post them while at school when I only have 1 hour on the computer and work to do


He finds all the time in the world, but he ONLY gets 1 hour to post, so he has to post quickly. Aye aye aye. Highschool must be so hard (I'm in highschool, btw).

Edit: Thank you for pressing that shift key. Keep it up.


Title: Anyone interested in making a text adventure as a group?
Post by: axipher on December 09, 2005, 12:37:43 AM
I said that I was on alot today did I not, and I didn't mean I only find time at highschool, I meant I just find time period to work on Basic, I have a Palm Pilot which I can transfer my .txt files to and work on.  On another note, here is another good saying: "Only geniuses contradict themselves", laugh out loud.  I don't care if your in highschool to and enjoy tracking people's times online down just to prove a useless point. Well I'm off for the night.  Good night everyone.


Title: Anyone interested in making a text adventure as a group?
Post by: na_th_an on December 09, 2005, 06:14:24 AM
Axipher, if you consider that "flaming", that means you were never truely flamed in this forum ;)

C'mon, take it easy. I can guarantee that reading "u" instead of "you" it's quite annoying. Really quite annoying, specially for us, non English speakers, 'cause we see a letter "U" which doesn't sound like "you" in most of our languages.

Spelling and grammar are important, really important, at least for me. And this time the main reason is not that there are many non English speakers around, but just that spelling and grammar have been ruled for something. It's easier to read, among other things.

You say you have very little time to spend in the forums. I'll tell you something: if you spend more time double-reading your posts to make sure they are correctly written, you'll refrain us from interpreting your post incorrectly. If you write it bad and we don't get it and reply something you don't need/you were not asking, you'll have to post again explaining yourself, and that will take way more time than just reviewing your original post for clarity.

I'm nobody to speak for grammar, as I tend to make lots of mistakes, but in my case it's understandable 'cause I began learning English when I was 10, and I haven't practiced much except from written stuff in forums and IM. But you are using your native language, so you should take care :)


Title: Anyone interested in making a text adventure as a group?
Post by: Z!re on December 09, 2005, 07:20:49 AM
Quote from: "na_th_an"
But you are using your native language, so you should take care :)
Sad fact is that native english speakers often talk worse than non-native english speakers..



For example, my 10" Scan Sound speakers speak pretty good, whereas my 5"  Roland speakers can only produce a faint tap on bass hits..




What?


Title: Anyone interested in making a text adventure as a group?
Post by: Deleter on December 09, 2005, 08:42:26 AM
Well, the axis of the frustum inclination tends to overachieve the unrequired tube veolocity of an unladen swallow on a coconut binge.


Title: Anyone interested in making a text adventure as a group?
Post by: na_th_an on December 09, 2005, 08:56:43 AM
I guess not, I'm afraid.


Title: Anyone interested in making a text adventure as a group?
Post by: Torahteen on December 09, 2005, 11:32:43 AM
African or European swallow?


Title: Anyone interested in making a text adventure as a group?
Post by: axipher on December 09, 2005, 12:03:34 PM
But what if the swallow were to grip it...

It's not a matter of where he grips it, it's simple weight ratio, a 5 ounce bird cannot carry a 1 pound coconut.

What if there were 2 swallows?

King Arthur and company walk off

Anyway, I've said sorry before, and its "especially", not "specially", and if you are so worried about non-English speakers, then using "because" would be better then " 'cause ".


Title: Anyone interested in making a text adventure as a group?
Post by: Z!re on December 09, 2005, 12:05:49 PM
Quote from: "axipher"
Anyway, I've said sorry before, and its "especially", not "specially", and if you are so worried about non-English speakers, then using "because" would be better then " 'cause ".
What?


Title: Anyone interested in making a text adventure as a group?
Post by: axipher on December 09, 2005, 12:40:28 PM
Well someone made a few mistakes in their post, so if people correct me, I should be allowed to correct others.


Title: Anyone interested in making a text adventure as a group?
Post by: Sumo Jo on December 09, 2005, 12:43:03 PM
Quote from: "axipher"

Anyway, I've said sorry before, and its "especially", not "specially", and if you are so worried about non-English speakers, then using "because" would be better then " 'cause ".


Did you read at all where he said he was a non-native English speaker?  Or maybe look at his location?

Either way, he used the word " 'cause" which would confuse someone, but the apostrophe at the beginning of a word usually tends to indicate that something normally should be there.  This is not a very  uncommon word structure for the English language.
I'm sure you've seen the show "punk'd" or heard someone say "ol' " before.


Also don't you think you should wait more than a day after you learned how to use grammar and spelling before you start jumping on the grammar nazi bandwagon?


Title: Anyone interested in making a text adventure as a group?
Post by: axipher on December 09, 2005, 12:55:42 PM
Don't you think you ever get annoying and make me think about not formatting my posts and getting worse and using leet speak.


Title: Anyone interested in making a text adventure as a group?
Post by: Liquid Snake on December 09, 2005, 01:23:57 PM
Can we act a little more grown up here?  Does anyone want to continue this text adventure or not?


Title: Anyone interested in making a text adventure as a group?
Post by: Torahteen on December 09, 2005, 03:07:12 PM
I dun wanna gwo up. No! NO!  :wink:

Axipher, how dare you go correcting someone who isn't a native English speaker. Three posts before you were saying "i don need to luk and check my gramar", now you're correcting someone else because they said 'cause instead of because? First of all, 'cause is perfectly natural English. We aren't expecting you to write an English paper on every topic you post about. We are just asking you to be more courteous in your posts, and show some respect to those that can't read english perfectly.

By the way, Nathan spelled two words "incorrectly", out of what, 150? Compared to your typical 10 words out of 20, this is perfectly acceptable. Especially since you know english better then she does.


Title: Anyone interested in making a text adventure as a group?
Post by: Liquid Snake on December 09, 2005, 03:17:19 PM
All of you know that rereading what you type is the easiest way to pick up on your own mistakes right?  Or if you're really lazy you can copy and paste into Microsoft Word and use spell check, though this won't make you any better at spelling it right in the first place.  One other thing, if you really don't have time to type 1 post just wait till later.


Title: Anyone interested in making a text adventure as a group?
Post by: Deleter on December 09, 2005, 03:26:00 PM
Quote from: "Deleter"
...an unladen swallow...


Quote from: "axipher"
But what if the swallow were to grip it...

It's not a matter of where he grips it, it's simple weight ratio, a 5 ounce bird cannot carry a 1 pound coconut.

What if there were 2 swallows?

King Arthur and company walk off

unladen=not carrying anything at all....

and @Torahteen, I believe its African, though it may be antartican.


Title: Anyone interested in making a text adventure as a group?
Post by: Liquid Snake on December 09, 2005, 03:28:34 PM
It's African...there are no swallows in Antartica


Title: Anyone interested in making a text adventure as a group?
Post by: Deleter on December 09, 2005, 03:39:52 PM
Quote from: "Liquid Snake"
It's African...there are no swallows in Antartica

You must be kidding  :o  :o  :o



 :wink:


Title: Anyone interested in making a text adventure as a group?
Post by: Liquid Snake on December 09, 2005, 03:51:36 PM
Well, to be honest I haven't heard much of the birds in Antartica besides Penguins of course, but I'm pretty sure they are talking about African Swallows in Monty Python.


Title: Anyone interested in making a text adventure as a group?
Post by: Deleter on December 09, 2005, 04:27:36 PM
i started the whole monty python bit....i was just going off on a tangent. :P


Title: Anyone interested in making a text adventure as a group?
Post by: axipher on December 09, 2005, 06:31:15 PM
We just watched the movie on Monday and Tuesday in Drama class, so I do believe it was African and European swallows, but Monty Python: Quest for the Holy Grail is just plain out hillarious, the horses own out of all and the Knights of the Round Table just kicks serious but, but the lego version on the DVD is better I find


Title: Anyone interested in making a text adventure as a group?
Post by: Deleter on December 09, 2005, 10:10:43 PM
who the axipher replaced clone him? Something right is totally elephant not no posting grammer spelling wrong!!!!!!!!!!!!


Title: Anyone interested in making a text adventure as a group?
Post by: speedlemon on December 09, 2005, 10:28:47 PM
Quote from: "Torahteen"
I dun wanna gwo up. No! NO!  :wink:

Axipher, how dare you go correcting someone who isn't a native English speaker. Three posts before you were saying "i don need to luk and check my gramar", now you're correcting someone else because they said 'cause instead of because? First of all, 'cause is perfectly natural English. We aren't expecting you to write an English paper on every topic you post about. We are just asking you to be more courteous in your posts, and show some respect to those that can't read english perfectly.

By the way, Nathan spelled two words "incorrectly", out of what, 150? Compared to your typical 10 words out of 20, this is perfectly acceptable. Especially since you know english better then she does.

Is Na_th_an really a female? (not trying to correct your grammar pal, just being serious.)


Title: Anyone interested in making a text adventure as a group?
Post by: na_th_an on December 10, 2005, 12:18:17 AM
Sorry if my avatar misguides you, but I'm a stright male who absolutely praises women :D Spiderwoman is just a favourite comic character since I was a child.

My so discussed original post was more in the fashion of "if *I* can edit a post (sometimes) up to three times when I spot a grammar/spelling mistake, *anybody* can".

And thanks for the notice, from now on I'll take care to write "especially". I always eat that e :P

Oh, and I would hardly consider "'cause" as a spelling mistake. I know that contractions are not allowed in proper, written English, but, as mentioned, we're not writing papers ;)

EDIT: I wrote "writting" in the above paragraph :lol:


Title: Anyone interested in making a text adventure as a group?
Post by: axipher on December 10, 2005, 01:16:54 PM
Quote from: "Deleter"
who the axipher replaced clone him? Something right is totally elephant not no posting grammer spelling wrong!!!!!!!!!!!!


I'm not sure if you are complimenting me, flaming me, or being sarcastic, but yes, my spelling/grammar errors are now to a minimum


Title: Anyone interested in making a text adventure as a group?
Post by: Deleter on December 10, 2005, 01:44:11 PM
:lol:


Title: Anyone interested in making a text adventure as a group?
Post by: axipher on December 10, 2005, 01:48:59 PM
If it makes you people happy, then I'll continue.


Title: Anyone interested in making a text adventure as a group?
Post by: Sumo Jo on December 10, 2005, 03:34:49 PM
Quote from: "axipher"

I'm not sure if you are complimenting me, flaming me, or being sarcastic, but yes, my spelling/grammar errors are now to a minumum


Irony.

Also, to respond to your post on the last page about me getting annoying.  I may get annoying, but it's my job.  I'm here to make sure this place doesn't turn into an incoherent AOL cesspool.  If you've got a problem with me, pm me and we'll talk and I'll explain exactly why I said what I said.  But in the end, who's the boss?


Well Tony Danza is the boss.  But when he's gone, it's me.


Title: Anyone interested in making a text adventure as a group?
Post by: axipher on December 10, 2005, 03:50:49 PM
I don't care if it is your job or not, I was just speking my mind, and I thought your were annoying.  No offence.


Title: Anyone interested in making a text adventure as a group?
Post by: Z!re on December 10, 2005, 05:24:22 PM
Quote from: "axipher"
I don't care if it is your job or not, I was just speking my mind, and I thought your were annoying.  No offence.
A tip, as you're atleast trying..
Don't argue with Sumo..

Just cut down on your posting for a while, things will calm down..

As it is now, all people see when they see your posts is the guy who posted incoherent crap in every topic on the forum..


Title: Anyone interested in making a text adventure as a group?
Post by: Liquid Snake on December 10, 2005, 06:21:14 PM
Yeah, maybe you could start this text adventure or something like that instead of posting..........Not to be complaining, just a thought to put out there.


Title: Anyone interested in making a text adventure as a group?
Post by: Kylemc on December 10, 2005, 06:29:39 PM
I think everybody owes you an apology for polluting your thread. If you have a problem with axipher start a new thread.


Title: Anyone interested in making a text adventure as a group?
Post by: axipher on December 11, 2005, 12:19:15 AM
I don't mind anyone polluting my posts, I encourage it, I just don't think he who started this thread enjoys us polluting his thread with comments about my posting.


Title: Anyone interested in making a text adventure as a group?
Post by: Torahteen on December 11, 2005, 01:10:21 AM
I apologize for polluting your thread. Sorry.


Title: Anyone interested in making a text adventure as a group?
Post by: axipher on December 11, 2005, 01:18:21 AM
I also apologize Liquid Snake, after all I am the center of this pollution.


Title: Anyone interested in making a text adventure as a group?
Post by: Liquid Snake on December 11, 2005, 04:13:33 AM
It's ok.  In fact it was pretty funny, but as someone said we're not posting just to post.  We post in order to respond to the person with the question right?  I personally don't care what you guys say on my threads as long as something relevant to the thread is getting done.

Anyway, you guys didn't really need to apologize for it.  Thanks anyway and I forgive you. :)


Title: Anyone interested in making a text adventure as a group?
Post by: axipher on December 11, 2005, 05:52:16 PM
Ok, well back to the topic then, is there still room on the development team, I'm just about finished my Paint Program so I'll be looking for my next idea.  If there still is room, PM me with all the information I need to know about the project.


Title: Anyone interested in making a text adventure as a group?
Post by: speedlemon on December 11, 2005, 08:41:31 PM
Well i don't know if there's much of a team left.. maybe Alex is still.. pretty much all info is in the 1-6 pages i'd say. good luck. :)


Title: Anyone interested in making a text adventure as a group?
Post by: axipher on December 11, 2005, 11:27:18 PM
Ok, I'll check them out later.


Title: Anyone interested in making a text adventure as a group?
Post by: Liquid Snake on December 12, 2005, 11:07:11 AM
In about 2 weeks, my first semester ends, after that I'll have quite a lot of time on my hands at least until February.  I can at least help with this project.


Title: Anyone interested in making a text adventure as a group?
Post by: axipher on December 12, 2005, 11:09:27 AM
Ok, well I checked out the pages 1-6 and I think I will help, although first I'll try and figure out what each piece of code does, then i'll try and write some of my own code that works and see how it compares.


Title: Anyone interested in making a text adventure as a group?
Post by: Liquid Snake on October 30, 2006, 12:46:58 AM
I know this thread was inactive for almost a year, but I thought...what the heck, this would be fun if we could get enough people to work on it.

There's an online adventure game or whatever you want to call it called Kingdom of Loathing.  I was thinking....how hard could it be to make something like that in qbasic, freebasic, or Flash?  I know nothing about networking or saving player data or whatever via the web, but I'm sure one of you does.  Would anyone be interested in making something like this?


Title: Re: Anyone interested in making a text adventure as a group?
Post by: Endevor on March 02, 2009, 11:38:07 PM
this is now a couple years now, lol, but I am in the process of creating and RPG using  MS paint graphics or stuff of the same sort. I have an engine that allows a character to move around the world and an editor that allows me to create maps to add to the world. I'm using the SDL library to preform my graphics and movement. It's very basic right now and the graphics aren't the best, but I have it working. If anyone wants to join, I'd be happy to have some help


Title: Re: Anyone interested in making a text adventure as a group?
Post by: Liquid Snake on March 03, 2009, 12:10:15 AM
OMG how did you even find this thread lol.  Glad you did.  I'd be happy to help.  Though I must admit I'm a senior in college and don't have a ton of time to dedicate to this till summer.  What language are you using?


Title: Re: Anyone interested in making a text adventure as a group?
Post by: Endevor on March 03, 2009, 12:21:52 AM
lol, this was actually on the top of the list when i looked. I'm in high school and have way too much time to work on this, at least according to my friends. This is actually for a school project and I have two friends who are suppose to be helping, but they don't know much of SDL. I am using freebasic with SDL libraries. it's kinda rinkidy and still basic, but for what I've learned from doing this, I'm amazed at what I've done. I plan on working on this even after its due in about a week, but I could definitely use help. I could also use a good graphic artist because as u may notice, I'm no computer artist. Anyway, Ill try send u the code and If I can access, I'll send the files with pics and data through ur email if u have that up. I look forward to seeing what u think and what u can do. Thanks :D


Title: Re: Anyone interested in making a text adventure as a group?
Post by: Liquid Snake on March 03, 2009, 08:36:38 PM
Sorry, didn't realize that I had my e-mail hidden but now it isn't.  I don't know much about SDL either, but send what you've got so far and I'll see what I can do.


Title: Re: Anyone interested in making a text adventure as a group?
Post by: Endevor on March 04, 2009, 01:23:42 AM
Aight, I'll try to send you the files when I'm back on, probably sometime tomoro after school. I actually found today some graphics and sounds that would be awesome to use. Only problem will be that if we use them, I'll need to change my layout, but it should follow the same engine, just a different grid. I'm not an expert at SDL, but I found some tutorials and manual that ill also send u. U may get multiple emails with the different parts cause it may be too big to send at once. Thanks man, this rocks.
 ;D


Title: Re: Anyone interested in making a text adventure as a group?
Post by: Endevor on March 04, 2009, 01:30:02 AM
PS: you can laugh at my graphics if u want, especially once u compare them to the ones online, lol. Yea, I know they look gay, but my art is programming, not drawing, at least not on the computer. They probably could be better, but my teacher was fine with them and we needed to move on anyway, lol. Anyway, I'll send u the files and u can tell me what u think, and don't hesitate to criticise cause I'm still a beginner and really want to be better


Title: Re: Anyone interested in making a text adventure as a group?
Post by: daryy on April 24, 2009, 03:47:58 PM
And we don't have to do "every possibility".there is a much easier way of doing things....



Title: Re: Anyone interested in making a text adventure as a group?
Post by: Endevor on April 30, 2009, 05:29:23 PM
what do you mean, "every possibility"?


Title: Re: Anyone interested in making a text adventure as a group?
Post by: RADIUM-V Interactive on March 08, 2010, 04:03:44 AM
Hey all (if anyone still exists),

I was browsing around on my webspace and found some really old files from this thread. Anybody interested in starting this up again for the fun of it? :3


Title: Re: Anyone interested in making a text adventure as a group?
Post by: Endevor on March 08, 2010, 02:25:42 PM
I am currently making a graphics based RPG using FreeBASIC and SDL libraries (image, mixer, ttf, etc). I am pretty much just starting the main image since when we first started it kinda died out. I, on my own, have started up again and if you would like to help, email me at ccabose@aol.com and let me know. I'll send you what I got. Thanks