I have finished reading the beginners guild for Choice Script. Sad to say, but it didn’t help me much at all.
It lacks details on what is what. I am really confused at what everything does.
So if anyone have time, please tell me what each of the .txts are for in the Scenes folder.
Also it would be nice if there was a video for making these. it’s really hard to understand
what is what and how they work.
No. The coding happens in all of the scene files. Startup.txt is where things start. In startup it can then *goto_scene to move on to another scene file.
do you have an example of it? I cant make heads or tails of how each thing leads to another >.< If possible is there a way to see a complete game folder? This https://www.choiceofgames.com/dragon/scenes/startup.txt just confuses me >.<
(thanks for your trouble, never coded before lol)
https://www.choiceofgames.com/dragon/scenes/ is a folder if you’re looking on the main site. Ignore the files with .js and .json at the end, they’re something server side and you won’t have those in your game. You’ll just have the .txt ones.
Tells the game which order to read the files in if there’s a *finish command it will go onto the next file listed until it reaches the end. But you don’t need to use *finish you can also use *goto_scene SCENENAME as long as SCENENAME is the name of a text file in the folder. Does that make sense?
There are 3 categories - the ones you want to look at first are Commands/Functions, but the whole wiki should help you with the basics of Choicescript.
I used to read CoG’s own tutorial before the wiki was up and running. Examples are short, spot-on and presented in layman’s terms. Tricks you into thinking that coding is easy. Which is good.