Total Posts:28|Showing Posts:1-28
Jump to topic:

Choicescript

Zaradi
Posts: 14,127
Add as Friend
Challenge to a Debate
Send a Message
12/20/2012 9:09:03 PM
Posted: 3 years ago
Has anyone ever used choicescript before? I'm thinking about designing a choose-your-own-adventure game using it but I've never used it before. Couple that with I'm relatively new to code and stuff like that and I'm over my head even with a fairly simple walk-through of the stuff. If anyone can help me through it and help me figure it out I'd be really appreciative.
Want to debate? Pick a topic and hit me up! - http://www.debate.org...
SarcasticIndeed
Posts: 2,215
Add as Friend
Challenge to a Debate
Send a Message
12/21/2012 7:14:17 AM
Posted: 3 years ago
At 12/20/2012 9:09:03 PM, Zaradi wrote:
Has anyone ever used choicescript before? I'm thinking about designing a choose-your-own-adventure game using it but I've never used it before. Couple that with I'm relatively new to code and stuff like that and I'm over my head even with a fairly simple walk-through of the stuff. If anyone can help me through it and help me figure it out I'd be really appreciative.

Hmm, I don't know how o use it, but this looks like something I'd spend days on. Thanks for sharing.
<SIGNATURE CENSORED> nac
Niwsa
Posts: 161
Add as Friend
Challenge to a Debate
Send a Message
12/21/2012 8:55:34 AM
Posted: 3 years ago
I've programmed extensively in C++, Choicescript looks like a really easy to use script just for Choose your own Adventures.

What kind of help would you need?
http://debate.org... <--- please vote!
Niwsa
Posts: 161
Add as Friend
Challenge to a Debate
Send a Message
12/21/2012 8:58:44 AM
Posted: 3 years ago
I'm looking more into it and its testing features seem very well designed and it does have some more advanced code and statements in general.

I think the only help you would need is manpower or help with the story or other aspects of the game, I don't think Choicescript is meant to be a struggle.

I'd love to help with any of that.
http://debate.org... <--- please vote!
Zaradi
Posts: 14,127
Add as Friend
Challenge to a Debate
Send a Message
12/21/2012 10:46:58 AM
Posted: 3 years ago
XD well I think I just got everyone hooked onto it lol.

@Niwsa:

I have the story part knocked down but it's the actual coding part that is giving me trouble. I was trying to test it out with a sample that the choice script people provided but it wasn't working and I couldn't figure out what was wrong. I get the basics of making the choices and all that but how do I code the thing to actually start?
Want to debate? Pick a topic and hit me up! - http://www.debate.org...
Niwsa
Posts: 161
Add as Friend
Challenge to a Debate
Send a Message
12/21/2012 1:30:02 PM
Posted: 3 years ago
Yeah post it. It looks like the syntax is really important from what I've read on the sit.
http://debate.org... <--- please vote!
Zaradi
Posts: 14,127
Add as Friend
Challenge to a Debate
Send a Message
12/21/2012 8:23:01 PM
Posted: 3 years ago
*comment Copyright 2010 by Dan Fabulich.
*comment
*comment Dan Fabulich licenses this file to you under the
*comment ChoiceScript License, Version 1.0 (the "License"); you may
*comment not use this file except in compliance with the License.
*comment You may obtain a copy of the License at
*comment
*comment http://www.choiceofgames.com...
*comment
*comment See the License for the specific language governing
*comment permissions and limitations under the License.
*comment
*comment Unless required by applicable law or agreed to in writing,
*comment software distributed under the License is distributed on an
*comment "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
*comment either express or implied.

Welcome to your very first ChoiceScript game!

Copyright 2010 by Dan Fabulich.

Dan Fabulich licenses this file to you under the
ChoiceScript License, Version 1.0 (the "License"); you may
not use this file except in compliance with the License.
You may obtain a copy of the License at

*link http://www.choiceofgames.com...

See the License for the specific language governing
permissions and limitations under the License.

Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
either express or implied.

*page_break

Your majesty, your people are starving in the streets, and threaten revolution.
Our enemies to the west are weak, but they threaten soon to invade. What will you do?

*choice
#Make pre-emptive war on the western lands.
If you can seize their territory, your kingdom will flourish. But your army's
morale is low and the kingdom's armory is empty. How will you win the war?
*choice
#Drive the peasants like slaves; if we work hard enough, we'll win.
Unfortunately, morale doesn't work like that. Your army soon turns against you
and the kingdom falls to the western barbarians.
*finish
#Appoint charismatic knights and give them land, peasants, and resources.
Your majesty's people are eminently resourceful. Your knights win the day,
but take care: they may soon demand a convention of parliament.
*finish
#Steal food and weapons from the enemy in the dead of night.
A cunning plan. Soon your army is a match for the westerners; they choose
not to invade for now, but how long can your majesty postpone the inevitable?
*finish

That's just the sample code to screw around with so that you can get familiar with how it works, yet I can't get it to actually load up. If someone can tell me what's wrong, because that's just straight from the download I didn't mess with it at all, that'd be much appreciated.

And, of course, there's the indenting for the different layers of choices it just didn't C/P well.
Want to debate? Pick a topic and hit me up! - http://www.debate.org...
Niwsa
Posts: 161
Add as Friend
Challenge to a Debate
Send a Message
12/22/2012 8:14:11 AM
Posted: 3 years ago
What did you do to get the game running? I just downloaded the zip, and opened the file in Internet Explorer (can't use Chrome) to get the example up and running.
http://debate.org... <--- please vote!
Zaradi
Posts: 14,127
Add as Friend
Challenge to a Debate
Send a Message
12/22/2012 11:39:05 AM
Posted: 3 years ago
At 12/22/2012 8:14:11 AM, Niwsa wrote:
What did you do to get the game running? I just downloaded the zip, and opened the file in Internet Explorer (can't use Chrome) to get the example up and running.

There's my problem.
Want to debate? Pick a topic and hit me up! - http://www.debate.org...
Niwsa
Posts: 161
Add as Friend
Challenge to a Debate
Send a Message
12/22/2012 11:45:03 AM
Posted: 3 years ago
Does that mean it's working now?

The error dialogue was a little obscure I noticed since I started out in Chrome too.

It looks like it's a fault with Chrome too which is unexpected.
http://debate.org... <--- please vote!
Zaradi
Posts: 14,127
Add as Friend
Challenge to a Debate
Send a Message
12/22/2012 11:59:07 AM
Posted: 3 years ago
At 12/22/2012 11:45:03 AM, Niwsa wrote:
Does that mean it's working now?

Not yet. Opening it in IE made the spacing crap and I have to try to fix it before I can properly run the test on it. Still working on that.

The error dialogue was a little obscure I noticed since I started out in Chrome too.

It looks like it's a fault with Chrome too which is unexpected.
Want to debate? Pick a topic and hit me up! - http://www.debate.org...
Lordknukle
Posts: 12,788
Add as Friend
Challenge to a Debate
Send a Message
12/23/2012 10:04:53 AM
Posted: 3 years ago
Just do it in Python. It's really simple and you get some programming experience.
"Easy is the descent to Avernus, for the door to the Underworld lies upon both day and night. But to retrace your steps and return to the breezes above- that's the task, that's the toil."
RationalMadman
Posts: 354
Add as Friend
Challenge to a Debate
Send a Message
12/23/2012 10:18:29 AM
Posted: 3 years ago
Everyone feel free to send me links to your games when done. I'll tell you if I won :)
The early bird might get the worm, but the second mouse gets the cheese.

We didn't fight our way to the top of the food chain to be f***ng vegetarians.
Zaradi
Posts: 14,127
Add as Friend
Challenge to a Debate
Send a Message
12/23/2012 11:35:28 AM
Posted: 3 years ago
At 12/23/2012 10:04:53 AM, Lordknukle wrote:
Just do it in Python. It's really simple and you get some programming experience.

What's python?
Want to debate? Pick a topic and hit me up! - http://www.debate.org...
drafterman
Posts: 18,870
Add as Friend
Challenge to a Debate
Send a Message
12/23/2012 11:57:15 AM
Posted: 3 years ago
It looks like what you posted is the sample given with the program. Yeah, it apparently doesn't work in Chrome, but fine in IE, but the spacing/indentation is crucial for the program to work properly.
Niwsa
Posts: 161
Add as Friend
Challenge to a Debate
Send a Message
12/23/2012 12:08:46 PM
Posted: 3 years ago
At 12/23/2012 11:35:28 AM, Zaradi wrote:
At 12/23/2012 10:04:53 AM, Lordknukle wrote:
Just do it in Python. It's really simple and you get some programming experience.

What's python?

Programming language, the syntax is really clear and easy to understand (IMO) compared to C++.
http://debate.org... <--- please vote!
Zaradi
Posts: 14,127
Add as Friend
Challenge to a Debate
Send a Message
12/23/2012 3:26:30 PM
Posted: 3 years ago
At 12/23/2012 12:08:46 PM, Niwsa wrote:
At 12/23/2012 11:35:28 AM, Zaradi wrote:
At 12/23/2012 10:04:53 AM, Lordknukle wrote:
Just do it in Python. It's really simple and you get some programming experience.

What's python?

Programming language, the syntax is really clear and easy to understand (IMO) compared to C++.

Would someone with no programming experience be able to use it?
Want to debate? Pick a topic and hit me up! - http://www.debate.org...
SarcasticIndeed
Posts: 2,215
Add as Friend
Challenge to a Debate
Send a Message
12/23/2012 3:33:37 PM
Posted: 3 years ago
At 12/23/2012 3:26:30 PM, Zaradi wrote:
At 12/23/2012 12:08:46 PM, Niwsa wrote:
At 12/23/2012 11:35:28 AM, Zaradi wrote:
At 12/23/2012 10:04:53 AM, Lordknukle wrote:
Just do it in Python. It's really simple and you get some programming experience.

What's python?

Programming language, the syntax is really clear and easy to understand (IMO) compared to C++.

Would someone with no programming experience be able to use it?

I'd say yes, it's easy to learn, and you can easily understand what a python code means just by reading it.
<SIGNATURE CENSORED> nac
Zaradi
Posts: 14,127
Add as Friend
Challenge to a Debate
Send a Message
12/23/2012 6:23:09 PM
Posted: 3 years ago
At 12/23/2012 3:33:37 PM, SarcasticIndeed wrote:
At 12/23/2012 3:26:30 PM, Zaradi wrote:
At 12/23/2012 12:08:46 PM, Niwsa wrote:
At 12/23/2012 11:35:28 AM, Zaradi wrote:
At 12/23/2012 10:04:53 AM, Lordknukle wrote:
Just do it in Python. It's really simple and you get some programming experience.

What's python?

Programming language, the syntax is really clear and easy to understand (IMO) compared to C++.

Would someone with no programming experience be able to use it?

I'd say yes, it's easy to learn, and you can easily understand what a python code means just by reading it.

Can I just google it and download it or is there somewhere specific I have to go?
Want to debate? Pick a topic and hit me up! - http://www.debate.org...
Niwsa
Posts: 161
Add as Friend
Challenge to a Debate
Send a Message
12/23/2012 6:55:57 PM
Posted: 3 years ago
At 12/23/2012 3:33:37 PM, SarcasticIndeed wrote:
At 12/23/2012 3:26:30 PM, Zaradi wrote:
At 12/23/2012 12:08:46 PM, Niwsa wrote:
At 12/23/2012 11:35:28 AM, Zaradi wrote:
At 12/23/2012 10:04:53 AM, Lordknukle wrote:
Just do it in Python. It's really simple and you get some programming experience.

What's python?

Programming language, the syntax is really clear and easy to understand (IMO) compared to C++.

Would someone with no programming experience be able to use it?

I'd say yes, it's easy to learn, and you can easily understand what a python code means just by reading it.

Where's the thread Danielle said what's in your signature? :O

And here Zaradi, this should set you down the right path:

http://wiki.python.org...
http://debate.org... <--- please vote!
SarcasticIndeed
Posts: 2,215
Add as Friend
Challenge to a Debate
Send a Message
12/23/2012 6:57:53 PM
Posted: 3 years ago
At 12/23/2012 6:55:57 PM, Niwsa wrote:
At 12/23/2012 3:33:37 PM, SarcasticIndeed wrote:
At 12/23/2012 3:26:30 PM, Zaradi wrote:
At 12/23/2012 12:08:46 PM, Niwsa wrote:
At 12/23/2012 11:35:28 AM, Zaradi wrote:
At 12/23/2012 10:04:53 AM, Lordknukle wrote:
Just do it in Python. It's really simple and you get some programming experience.

What's python?

Programming language, the syntax is really clear and easy to understand (IMO) compared to C++.

Would someone with no programming experience be able to use it?

I'd say yes, it's easy to learn, and you can easily understand what a python code means just by reading it.

Where's the thread Danielle said what's in your signature? :O

And here Zaradi, this should set you down the right path:

http://wiki.python.org...

I think it was the thread by Mouthwash on the unfair treatment on DDO.
<SIGNATURE CENSORED> nac
Niwsa
Posts: 161
Add as Friend
Challenge to a Debate
Send a Message
12/23/2012 7:01:06 PM
Posted: 3 years ago
At 12/23/2012 6:57:53 PM, SarcasticIndeed wrote:
At 12/23/2012 6:55:57 PM, Niwsa wrote:
At 12/23/2012 3:33:37 PM, SarcasticIndeed wrote:
At 12/23/2012 3:26:30 PM, Zaradi wrote:
At 12/23/2012 12:08:46 PM, Niwsa wrote:
At 12/23/2012 11:35:28 AM, Zaradi wrote:
At 12/23/2012 10:04:53 AM, Lordknukle wrote:
Just do it in Python. It's really simple and you get some programming experience.

What's python?

Programming language, the syntax is really clear and easy to understand (IMO) compared to C++.

Would someone with no programming experience be able to use it?

I'd say yes, it's easy to learn, and you can easily understand what a python code means just by reading it.

Where's the thread Danielle said what's in your signature? :O

And here Zaradi, this should set you down the right path:

http://wiki.python.org...

I think it was the thread by Mouthwash on the unfair treatment on DDO.

Link? :)
http://debate.org... <--- please vote!
SarcasticIndeed
Posts: 2,215
Add as Friend
Challenge to a Debate
Send a Message
12/23/2012 7:05:10 PM
Posted: 3 years ago
At 12/23/2012 7:01:06 PM, Niwsa wrote:
At 12/23/2012 6:57:53 PM, SarcasticIndeed wrote:
At 12/23/2012 6:55:57 PM, Niwsa wrote:
At 12/23/2012 3:33:37 PM, SarcasticIndeed wrote:
At 12/23/2012 3:26:30 PM, Zaradi wrote:
At 12/23/2012 12:08:46 PM, Niwsa wrote:
At 12/23/2012 11:35:28 AM, Zaradi wrote:
At 12/23/2012 10:04:53 AM, Lordknukle wrote:
Just do it in Python. It's really simple and you get some programming experience.

What's python?

Programming language, the syntax is really clear and easy to understand (IMO) compared to C++.

Would someone with no programming experience be able to use it?

I'd say yes, it's easy to learn, and you can easily understand what a python code means just by reading it.

Where's the thread Danielle said what's in your signature? :O

And here Zaradi, this should set you down the right path:

http://wiki.python.org...

I think it was the thread by Mouthwash on the unfair treatment on DDO.

Link? :)

http://www.debate.org... that's it, I think
<SIGNATURE CENSORED> nac
daytonanerd
Posts: 6,769
Add as Friend
Challenge to a Debate
Send a Message
12/23/2012 9:42:27 PM
Posted: 3 years ago
While we're on the subject of C++, I picked up C++ for Dummies a few days ago. I am a few chapters in, and have made 2 programs. The first is a Celsius to Fahrenheit converter, which the book told me the source code to in the first chapter, then the book explained it. The second is an inches to centimeters converter, which I made using the knowledge of doing the Celsius to Fahrenheit converter and other concepts explained a little later on.
#FeeltheFreezerBern
Lordknukle
Posts: 12,788
Add as Friend
Challenge to a Debate
Send a Message
12/23/2012 11:24:36 PM
Posted: 3 years ago
Is there really a major difference between any of the programming languages? Can't they all do pretty much the same thing (with the exception of specialized languages like HTML)?
"Easy is the descent to Avernus, for the door to the Underworld lies upon both day and night. But to retrace your steps and return to the breezes above- that's the task, that's the toil."