amiga.org
     
iconAll times are GMT -6. The time now is 12:46 AM. | Welcome to Forum, please register to access all of our features.

» Amiga.org » Amiga computer related discussion » General chat about Amiga topics » creating a text adventure, but with what programming language?

General chat about Amiga topics This forum is for conversations which are specifically "Amiga" related, but don't fit into other categories. Contents of this forum do appear on the main page, unlike Talk About. If a subject appears to be non-related, it will be moved to Talk About.

Reply
 
Thread Tools Display Modes
Old 01-03-2011, 03:01 PM   #16
ChaosLord
Premium Member
Points: 14,695, Level: 78 Points: 14,695, Level: 78 Points: 14,695, Level: 78
Activity: 28% Activity: 28% Activity: 28%
 
ChaosLord's Avatar
 
Join Date: Nov 2003
Location: Houston, Texas
Posts: 2,257
Default Re: creating a text adventure, but with what programming language?

Quote:
Originally Posted by Karlos View Post
I would rank Perl and PHP as far above any BASIC dialect in terms of string processing capability
But then you would be wrong.
__________________
Wanna try a wonderfull strategy game with lots of handdrawn anims,
Magic Spells and Monsters, Incredible playability and lastability,
English speech, etc. Total Chaos AGA
ChaosLord is offline   Reply With Quote
Old 01-03-2011, 03:04 PM   #17
Karlos
Sockologist
Points: 48,752, Level: 100 Points: 48,752, Level: 100 Points: 48,752, Level: 100
Activity: 8% Activity: 8% Activity: 8%
 
Karlos's Avatar
 
Join Date: Nov 2002
Location: I solve practical problems...
Posts: 16,606
Blog Entries: 18
Default Re: creating a text adventure, but with what programming language?

Quote:
Originally Posted by ChaosLord View Post
But then you would be wrong.


Sure. BASIC is better at string manipulation than Perl/PHP.

Thanks, that made my day!
__________________
OCA
This isn't SCSI... This is SATA!!!
I have CDO. It's like OCD except all the letters are in ascending order. The way they should be.
Core2 Quad Q9450 2.66GHz / X48T / 4GB DDR3 / nVidia GTX275 / Linux x64, AROS, Win64
A1XE 800MHz / 512MB / Radeon 9200 / OS4.1
A1200T BPPC 240MHz / 256MB / Permedia 2 / OS 3.1 - OS3.9, OS4
A1200T Apollo 1240 28MHz / 32MB / Mediator1200 / Voodoo 3000 / OS3.9
A1200D Apollo 1240 25MHz (ejector seat ROM edition) / 32MB
Karlos is offline   Reply With Quote
Old 01-03-2011, 03:13 PM   #18
nicholas
Guru Meditator
Points: 16,230, Level: 81 Points: 16,230, Level: 81 Points: 16,230, Level: 81
Activity: 99% Activity: 99% Activity: 99%
 
nicholas's Avatar
 
Join Date: Feb 2003
Location: Englistan
Posts: 6,827
Default Re: creating a text adventure, but with what programming language?

How about PureBasic?

The full version is free for Amigas.

http://www.purebasic.com/
__________________
http://www.commodore.gen.tr/forum/in...38089#msg38089
http://sf.net/projects/amithlon/files/

“Socialism" is no more an evil word than "Christianity." Socialism no more prescribed Joseph Stalin and his secret police and shuttered churches than Christianity prescribed the Spanish Inquisition. Christianity and socialism alike, in fact, prescribe a society dedicated to the proposition that all men, women, and children are created equal and shall not starve.” - Kurt Vonnegut
nicholas is offline   Reply With Quote
Old 01-03-2011, 03:15 PM   #19
runequester
It's Amiga time!
Points: 25,611, Level: 96 Points: 25,611, Level: 96 Points: 25,611, Level: 96
Activity: 96% Activity: 96% Activity: 96%
 
runequester's Avatar
 
Join Date: Oct 2009
Location: Portland OR
Posts: 3,695
Blog Entries: 7
Default Re: creating a text adventure, but with what programming language?

No fighting guys
__________________
Amiga AND Linux fan. Zealots are people that lack faith

I blog..a lot.
http://doctorwhoretrospec.blogspot.com/
http://redleftperspective.blogspot.com/
http://theamigablog.blogspot.com/
runequester is offline   Reply With Quote
Old 01-03-2011, 03:44 PM   #20
Karlos
Sockologist
Points: 48,752, Level: 100 Points: 48,752, Level: 100 Points: 48,752, Level: 100
Activity: 8% Activity: 8% Activity: 8%
 
Karlos's Avatar
 
Join Date: Nov 2002
Location: I solve practical problems...
Posts: 16,606
Blog Entries: 18
Default Re: creating a text adventure, but with what programming language?

Quote:
Originally Posted by runequester View Post
No fighting guys
I'm not advocating the writing of text adventure games in languages like Perl (though I am sure it has been done), but the point has to be made that manipulation of text was one of the main motivations of Perl in the first place. It may be old and it may be a beast but every language has it's milieu and chewing on textual data is Perl's.
__________________
OCA
This isn't SCSI... This is SATA!!!
I have CDO. It's like OCD except all the letters are in ascending order. The way they should be.
Core2 Quad Q9450 2.66GHz / X48T / 4GB DDR3 / nVidia GTX275 / Linux x64, AROS, Win64
A1XE 800MHz / 512MB / Radeon 9200 / OS4.1
A1200T BPPC 240MHz / 256MB / Permedia 2 / OS 3.1 - OS3.9, OS4
A1200T Apollo 1240 28MHz / 32MB / Mediator1200 / Voodoo 3000 / OS3.9
A1200D Apollo 1240 25MHz (ejector seat ROM edition) / 32MB
Karlos is offline   Reply With Quote
Old 01-03-2011, 03:51 PM   #21
EDanaII
Cult Member
Points: 7,148, Level: 55 Points: 7,148, Level: 55 Points: 7,148, Level: 55
Activity: 17% Activity: 17% Activity: 17%
 
EDanaII's Avatar
 
Join Date: Dec 2006
Location: Phoenix, AZ
Posts: 536
Default Re: creating a text adventure, but with what programming language?

But let's not forget that manipulation of strings is only one small aspect of a text adventure. Modeling and interacting with the environment is the major aspect of any adventure game.


@ yakumo9275

Actually, Inform7 is out. I've been playing with it a little bit. It's an interesting approach for an (effectively) dead art form.
__________________
Ed.
EDanaII is offline   Reply With Quote
Old 01-03-2011, 03:57 PM   #22
Holmes
Beginner
Points: 4,504, Level: 42 Points: 4,504, Level: 42 Points: 4,504, Level: 42
Activity: 14% Activity: 14% Activity: 14%
 
Holmes's Avatar
 
Join Date: Oct 2006
Location: Staffordshire
Posts: 41
Default Re: creating a text adventure, but with what programming language?

Lisp !!!!!
__________________
Started with a zx81,
wanted a c64
Ended up with an Electron with plus 3
Traded up to an Amiga 500
Traded up with a Amiga 1200
now in a ICS tower(Amigo+ppc240 with blizz+128ram)
Holmes is offline   Reply With Quote
Old 01-03-2011, 04:16 PM   #23
ChaosLord
Premium Member
Points: 14,695, Level: 78 Points: 14,695, Level: 78 Points: 14,695, Level: 78
Activity: 28% Activity: 28% Activity: 28%
 
ChaosLord's Avatar
 
Join Date: Nov 2003
Location: Houston, Texas
Posts: 2,257
Default Re: creating a text adventure, but with what programming language?

@Karlos
Ok go ahead. Show me in Perl how to extract a 3 characters string from another string starting at the 5th character and then insert that extracted string into another string starting at the 20th character.
__________________
Wanna try a wonderfull strategy game with lots of handdrawn anims,
Magic Spells and Monsters, Incredible playability and lastability,
English speech, etc. Total Chaos AGA
ChaosLord is offline   Reply With Quote
Old 01-03-2011, 04:36 PM   #24
Karlos
Sockologist
Points: 48,752, Level: 100 Points: 48,752, Level: 100 Points: 48,752, Level: 100
Activity: 8% Activity: 8% Activity: 8%
 
Karlos's Avatar
 
Join Date: Nov 2002
Location: I solve practical problems...
Posts: 16,606
Blog Entries: 18
Default Re: creating a text adventure, but with what programming language?

Quote:
Originally Posted by ChaosLord View Post
@Karlos
Ok go ahead. Show me in Perl how to extract a 3 characters string from another string starting at the 5th character and then insert that extracted string into another string starting at the 20th character.
Well, I'm more of a C/C++ guy but I am at least aware that the substr() function in Perl can also be an lvalue, which allows all kinds of useful manipulation of the type you are asking for:

http://perldoc.perl.org/functions/substr.html

And that's not even using regular expressions, for which I'm sure the next PCRE expert will produce some 8 character expression to do your task.

But of course, nobody would be using absolute string positions, right? Terribly bad form if you want to support minor things like alternative character sets and foreign languages.
__________________
OCA
This isn't SCSI... This is SATA!!!
I have CDO. It's like OCD except all the letters are in ascending order. The way they should be.
Core2 Quad Q9450 2.66GHz / X48T / 4GB DDR3 / nVidia GTX275 / Linux x64, AROS, Win64
A1XE 800MHz / 512MB / Radeon 9200 / OS4.1
A1200T BPPC 240MHz / 256MB / Permedia 2 / OS 3.1 - OS3.9, OS4
A1200T Apollo 1240 28MHz / 32MB / Mediator1200 / Voodoo 3000 / OS3.9
A1200D Apollo 1240 25MHz (ejector seat ROM edition) / 32MB
Karlos is offline   Reply With Quote
Old 01-03-2011, 04:44 PM   #25
Franko
Banned
Points: 22,799, Level: 93 Points: 22,799, Level: 93 Points: 22,799, Level: 93
Activity: 8% Activity: 8% Activity: 8%
 
Join Date: Jun 2010
Posts: 5,707
Blog Entries: 33
Default Re: creating a text adventure, but with what programming language?

Way back around 82 when I got my very first VIC 20 the only game I had for it in the first couple of weeks was a plain text adventure called Mission Impossible on a cartridge the store threw in for free...

I always remember switching it on and me and the brother in law sitting there with hugely disappointed faces and asking each other "is this it..."

Boy were we wrong... within an hour we were both arguing should we go east, should we go west, open that door, no don't open that one...

Suffice to say from that moment on we were hooked...

Hopefully, when you've completed your game you'll release it for all us old adventurers to enjoy, best of luck...

(Strange... just writing this post I can still conjure up the images in my mind of all the locations described in that game... )

Last edited by Franko; 01-09-2011 at 05:23 PM.. Reason: Restored Post For Continuity...
Franko is offline   Reply With Quote
Old 01-03-2011, 04:53 PM   #26
ErrethAkbe
Beginner
Points: 4,230, Level: 41 Points: 4,230, Level: 41 Points: 4,230, Level: 41
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Nov 2005
Posts: 36
Default Re: creating a text adventure, but with what programming language?

Quote:
Originally Posted by yakumo9275 View Post
write it in inform6 and then use any infocom interpreter on the amiga... that would be pretty traidtional, you can do pics + music but I dont know the formats...
This is the best suggestion so far. It's a proper programming environment that is designed specifically for the task, has compilers for lots of systems and the resulting code is 100% portable to other platforms. You could run the resulting adventure as easily on an iPhone as on an Amiga or even a TRS-80.

If you're unfamiliar, it's an evolved version of the same language that games like Zork, Enchanter and Starcross were written in. There is still an active community of people who write adventures in "Z Code" so getting support would be easy.

If this approach interests you, start searching with "Z-machine" and "Inform" as search terms.

Hope this helps!
__________________
._ __/|
\`O,o\'
=(___)=
...U
ErrethAkbe is offline   Reply With Quote
Old 01-03-2011, 04:58 PM   #27
Franko
Banned
Points: 22,799, Level: 93 Points: 22,799, Level: 93 Points: 22,799, Level: 93
Activity: 8% Activity: 8% Activity: 8%
 
Join Date: Jun 2010
Posts: 5,707
Blog Entries: 33
Default Re: creating a text adventure, but with what programming language?

Quote:
Originally Posted by Holmes View Post
Lisp !!!!!
No... I althwayss tsalkss like thissss...

Last edited by Franko; 01-09-2011 at 05:24 PM.. Reason: Restored Post For Continuity...
Franko is offline   Reply With Quote
Old 01-03-2011, 05:05 PM   #28
Nameless
Merely Curious
Points: 6,138, Level: 50 Points: 6,138, Level: 50 Points: 6,138, Level: 50
Activity: 4% Activity: 4% Activity: 4%
 
Join Date: Nov 2003
Posts: 4
Default Re: creating a text adventure, but with what programming language?

Like others have mentioned, I'd recommend either Tads or Inform over coding from scratch.

I also like Alan --
http://www.welcome.to/alan-if

The Amiga version is rather out of date, however. If interested, I think the source code is available for Alan v. 3, so it may be an interesting option to port it to 3.1, 4, AROS, MorphOS, etc.

I did a bit of coding in Alan years ago, and although it's a little underpowered compared to Inform, it's a fun language.

I also wrote several text adventures using TACL and Visionary for the Amiga ages ago, and although they are pretty easy to use, they aren't up to par with modern day IF languages.
Nameless is offline   Reply With Quote
Old 01-03-2011, 05:13 PM   #29
runequester
It's Amiga time!
Points: 25,611, Level: 96 Points: 25,611, Level: 96 Points: 25,611, Level: 96
Activity: 96% Activity: 96% Activity: 96%
 
runequester's Avatar
 
Join Date: Oct 2009
Location: Portland OR
Posts: 3,695
Blog Entries: 7
Default Re: creating a text adventure, but with what programming language?

I appreciate all the suggestions guys

I am keen on using something that can later be used to develop other applications or games too, rather than a tool that purely does text adventure, as I want this to be a starting point.

But its a brave new world out there, and I'll have to get my feet wet anyways
__________________
Amiga AND Linux fan. Zealots are people that lack faith

I blog..a lot.
http://doctorwhoretrospec.blogspot.com/
http://redleftperspective.blogspot.com/
http://theamigablog.blogspot.com/
runequester is offline   Reply With Quote
Old 01-03-2011, 06:08 PM   #30
nicholas
Guru Meditator
Points: 16,230, Level: 81 Points: 16,230, Level: 81 Points: 16,230, Level: 81
Activity: 99% Activity: 99% Activity: 99%
 
nicholas's Avatar
 
Join Date: Feb 2003
Location: Englistan
Posts: 6,827
Default Re: creating a text adventure, but with what programming language?

Quote:
Originally Posted by runequester View Post
I appreciate all the suggestions guys

I am keen on using something that can later be used to develop other applications or games too, rather than a tool that purely does text adventure, as I want this to be a starting point.

But its a brave new world out there, and I'll have to get my feet wet anyways
My Amiga resolution is to master 68k assembly, perhaps you could code your game in assembly and we could help each other with the learning process?
__________________
http://www.commodore.gen.tr/forum/in...38089#msg38089
http://sf.net/projects/amithlon/files/

“Socialism" is no more an evil word than "Christianity." Socialism no more prescribed Joseph Stalin and his secret police and shuttered churches than Christianity prescribed the Spanish Inquisition. Christianity and socialism alike, in fact, prescribe a society dedicated to the proposition that all men, women, and children are created equal and shall not starve.” - Kurt Vonnegut
nicholas is offline   Reply With Quote
Reply

Bookmarks

Tags
programming , adventure , language , creating , text

Thread Tools
Display Modes

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump