Noob problems


#1

Hi everyone. So, I’ve downloaded the ChoiceScript stuff and have started playing around with the example game it gives you to see what it can do. The problem is, I can only edit the existing game and have no idea how to make a game from scratch. I’ve been reading through the introduction page and can’t find any information about making a new game. It’s probably really simple, but I can’t figure it out.


#2

Hey @Briar_Rose. If you want to make your own game, it is quite simple. You can start by replacing the existing text files in your scenes folder (except for startup.txt and choicescript_stats.txt). Follow the guides for startup.txt and then create new text files for each new scene you want to include. Make sure to keep them in the scenes folder and include them in the *scene_list in startup.txt.

You can make each text file as big or as small as you want, but for simplicity’s sake, I make a new text file for each significantly separate scene, usually when the game transitions between locations.

Does that make sense? The only files you need to change/add are those in the scenes folder.


#3

That makes sense, but what if you make your first game, finish it, and then want to start work on a new game? How would you go about making a new game without effecting your first one?


#4

@Briar_Rose Download ChoiceScript again and do the same thing with the files.


#5

Lol. Okay :stuck_out_tongue:


#6

Or just copypaste the old files and delete the old .txt files. Downloading it again is probably better if you want to make sure you have the latest version of CS at all times, but it seems there’s rarely that many big changes so it doesn’t matter that much in the grand scheme of things.


#7

@Goshman

New versions tend to fix bugs some also add new commands too.


#8

New noob problems. I’m having trouble with paragraphs. I’ve written the text out with paragraphs, but for some reason it’s all grouped together, with no paragraph separating the text. For instance, if I type:
“This is the first paragraph.
This is the second paragraph.”
It’ll show up as:
“This is the first paragraph. This is the second paragraph.”
I can make a new paragraph start if I put an extra space between the two, but if I do that, the two paragraphs will show up with a space between them, just like I typed it. So if I type:
"This is the first paragraph.

This is the second paragraph."
It’ll show up as:
"This is the first paragraph.

This is the second paragraph."
I know it’s possible to divide text into paragraphs without spaces between them, since I’ve seen it done in other games, but I don’t know how. Does anybody know how to make the text show up as:
“This is the first paragraph.
This is the second paragraph.”
Without any gaps between them?


#9

@Briar_Rose Check this out: http://choicescriptdev.wikia.com/wiki/Line_break


#10

Blahblahblah
*line_break
Blahblahblah

It shows as:

Blahblahblah
Blahblahblah

ninja’d by aetheria


#11

Thank you! :slight_smile:


#12

Also, every time I open the game it keeps saying “The main is not defined.” What does that mean and how do I fix it? :stuck_out_tongue: