Hey y'all Thinking about making a game

Yep still don’t get it tho

Have a look at Choice of the Dragon’s “startup.txt.”

https://www.choiceofgames.com/dragon/scenes/startup.txt

See all those “*create” bits toward the top? Those are the variables… including “name.”

Hey yall this is what i have so far: file:///C:/Users/gates/Desktop/dfabulich-choicescript-1325fa9/web/mygame/index.html

the only thing is i cant seem to get my choices to work

Can you put the whole folder up publicly on dropbox? Then we’ll be able to (a) actually play what you’ve written so far and (b) zero in on the coding problem.

Edit: again, to do that, follow the steps here: http://choicescriptdev.wikia.com/wiki/Publishing_your_game

Hey thanks guys I will try to get around to it thanks again for being a big help

Hey guys how can i use *input_text name?

Look at BlazedStorm’s last comment on the first page of this thread. He/she gives you an example of how to use input_text in a choice option. Just don’t capitalise any variables.

Edit: You can also use input commands outside of choice options.

Hey y’all I’m having trouble again I made my title and scene list right? The I make my create your own name but when I try to go to my scenes now I get URL denied. Anyone have any ideas why this happens? And also how do i create labels and what are gosubs?

Hey guys how y’all doing sorry I haven’t back in a while busy week. So any way how do I get my scenes to work?

Didn’t this thread help you with the scenes? http://www.choiceofgames.com/forum/discussion/comment/116080#Comment_116080

Answers for your other questions:

  1. What are gosubs? At this moment, they are not important for you because you should be concentrating on learning the basics of CS.

  2. How do I create labels?

By using the *label command to create it.

*label label_name_here

You use the *goto command to display the text in a certain label.

*goto label_name_here

An example:

You are standing in front of a cave. A pair of glowing, red eyes stalk you from
the darkness inside. What do you do?

*choice
    #Enter the cave and fight the monster.
        *goto cave
    #Turn around and walk away.
        *goto walk

*label cave

You step into the beast's lair. Not being accustomed to darkness, you are defeated
quickly.

*page_break

*goto end

*label walk

Knowing there is nothing you can do to defeat the thing after all, you
decide to turn around and walk away.

*page_break

*label end

That is how your story ends. The townsfolk will have to find somebody else to solve
the quest.

There is no *goto between the last *page_break and *label end because end label comes right after walk label in the source code. CS reads things in order and will automatically go from the walk label to the end label.

https://dl-web.dropbox.com/get/index%20(1).html?_subject_uid=273436827&w=AACnmmvAvR1iwk6_KBpYSipfX8KGOokeE28iTt_0W6E0CA

@StarWarsMaster I get error 403 when I click the link. What is the link about anyways?

How do I make it to where you guys can test it out?

Also does anyone know how to get rid of the error couldn’t load URL: scenes/ch.1 The Beginning? How do I get rid of that?

http://choicescriptdev.wikia.com/wiki/Publishing_your_game Here, read the “Using Dropbox” section.

EDIT: When it comes to the error, it could be the scene name. Remove the dot, use only lower case and no spaces. Also, make sure the file name is identical to the one listed in startup.txt of your game.

Thanks buddy so now how do I get the rid of the Error?

There is an edit on my previous comment. I don’t know if you have seen it.

I can’t seem to get my first chapter to work. Every time I try it get a access deinied sort of message. Any ideas people?

My idea is in the comment where I give you the link to the publishing tutorial on wikia. That’s the best advice I can give you as I have never had that problem.