amiga.org
     
iconAll times are GMT -6. The time now is 09:18 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-05-2011, 07:15 AM   #91
bloodline
Master Sock Abuser
Points: 37,161, Level: 100 Points: 37,161, Level: 100 Points: 37,161, Level: 100
Activity: 8% Activity: 8% Activity: 8%
 
bloodline's Avatar
 
Join Date: Mar 2002
Location: London, UK
Posts: 11,657
Blog Entries: 3
Default Re: creating a text adventure, but with what programming language?

Quote:
Originally Posted by Karlos View Post
No, just thinking pragmatically.

All the implementations I saw turn your Obj-J into regular javascript. Hence there's nothing it can actually do that can't be done in JS directly. Probably with a greater degree of efficiency too.

There's nothing stopping your browser (and it's plugins) or any other javascript host application exposing any API it likes to javascript, irrespective of what language the API itself was written in. You don't need to change any syntax of JS for this. In fact, I can remember using and controlling java applets from javascript. You simply instantiate (or embed) the applet, get a DOM reference to it in JS, and then all the public methods of it are visible to javascript. All the webkit classes are written in C++ but you don't see someone creating a JS implementation of C++ to get at HTML5
What Objective-J gives you is the NeXTStep frameworks (called cappuccino), and all the benefits which that brings for use in your web browser. It is rather easy to rapidly build an app using it, that runs in your browser, I think that's cool
__________________
My iPhone Game: Puny Humans -
http://itunes.apple.com/gb/app/puny-...362230281?mt=8
bloodline is offline   Reply With Quote
Old 01-05-2011, 07:24 AM   #92
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 bloodline View Post
What Objective-J gives you is the NeXTStep frameworks (called cappuccino), and all the benefits which that brings for use in your web browser. It is rather easy to rapidly build an app using it, that runs in your browser, I think that's cool
I don't doubt it, it's just that it is completely unnecessary to change JS syntax in any way to introduce access to this API or any other.
__________________
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-05-2011, 08:54 AM   #93
bloodline
Master Sock Abuser
Points: 37,161, Level: 100 Points: 37,161, Level: 100 Points: 37,161, Level: 100
Activity: 8% Activity: 8% Activity: 8%
 
bloodline's Avatar
 
Join Date: Mar 2002
Location: London, UK
Posts: 11,657
Blog Entries: 3
Default Re: creating a text adventure, but with what programming language?

Quote:
Originally Posted by Karlos View Post
I don't doubt it, it's just that it is completely unnecessary to change JS syntax in any way to introduce access to this API or any other.
Imagine you are a NeXTStep coder, or an iPhone coder or even an MacOSX coder... Now you want to write an app that anyone with a JavaScript browser can use... Bingo! Obj-j is here! All the classes you are used to, with the correct syntax and all those little features you've grown to love, all there at your fingertips ready to allow you full expression... Or you could use it as a teaching tool, a gateway from JavaScript to Obj-C as I plan to
__________________
My iPhone Game: Puny Humans -
http://itunes.apple.com/gb/app/puny-...362230281?mt=8
bloodline is offline   Reply With Quote
Old 01-05-2011, 06:03 PM   #94
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?

Quote:
Originally Posted by nicholas View Post
I still have re-occurring nightmares of being forced to write code with an Informix back end in the mid 90's!
Heh. I've never worked with Informix -- Oracle, SQLServer and a little MySQL, yes, but not Informix -- so I have no idea how bad it is... but you know, if it had a natural language parser, like Inform7, that'd be pretty impressive.

But my point is pretty pointless...
__________________
Ed.
EDanaII is offline   Reply With Quote
Old 01-06-2011, 03:08 AM   #95
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 bloodline View Post
Imagine you are a NeXTStep coder, or an iPhone coder or even an MacOSX coder...
First up against the wall come the revolution.

Quote:
Now you want to write an app that anyone with a JavaScript browser can use... Bingo! Obj-j is here! All the classes you are used to, with the correct syntax
Objective-C syntax is never correct except when it is vanilla C

Quote:
and all those little features you've grown to love, all there at your fingertips ready to allow you full expression... Or you could use it as a teaching tool, a gateway from JavaScript to Obj-C as I plan to
An evil plan. I almost approve
__________________
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-06-2011, 03:44 AM   #96
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?

Anyhow, back to the original question: Pick any well-supported language that is good with strings and data collections.
__________________
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-06-2011, 06:13 AM   #97
bloodline
Master Sock Abuser
Points: 37,161, Level: 100 Points: 37,161, Level: 100 Points: 37,161, Level: 100
Activity: 8% Activity: 8% Activity: 8%
 
bloodline's Avatar
 
Join Date: Mar 2002
Location: London, UK
Posts: 11,657
Blog Entries: 3
Default Re: creating a text adventure, but with what programming language?

Quote:
Originally Posted by Karlos View Post
First up against the wall come the revolution.
Hmmm, so I'll put you down as "undecided" about joining the resistance then

Quote:
Objective-C syntax is never correct except when it is vanilla C
Well, I'm going to argue with you about that, as I've said before, it took a while for the syntax to "click" with me too

Quote:
An evil plan. I almost approve
Lol, I'm not actually being evil, my little brother has his heart set on writing a game for his iPod touch... And this seems to be the least painful way to get him started in programming!

On topic, I don't see why a simple HTML based hypertext adventure is out of the question... It would be VERY quick to implement and deploy
__________________
My iPhone Game: Puny Humans -
http://itunes.apple.com/gb/app/puny-...362230281?mt=8
bloodline is offline   Reply With Quote
Old 01-06-2011, 06:29 AM   #98
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 bloodline View Post
Hmmm, so I'll put you down as "undecided" about joining the resistance then
ROFL! Wait, resistance against what? Decent language syntax?

Quote:
Well, I'm going to argue with you about that, as I've said before, it took a while for the syntax to "click" with me too
There's no need, I "get" the syntax used in Objective-C, I have even written Objective-C and I even appreciate some of the design aims and features of the language. I just find it horrible to look at and to write. It's as if Smalltalk was experimenting with a teleporter device and after a few successful trials, on it's first attempt at teleporting itself from one pod to the other, noticed a copy of the K&R bible had fallen in with it but couldn't get out in time...

Any promotion of Obj-J to me is like witnessing the metastasis of this hideous abomination into other language areas. Don't expect me to like it
__________________
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
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