in your game text. The * is important, and all variables must be created in startup.
You don’t need to use *set name, it’s not actually doing anything in your example.
Also, I generally suggest not having your actual game text in the startup file, to avoid confusion.
*cside_theme_set { TOKEN } { ATTRIBUTE } { VALUE }
The values for which are:
*comment ## VALID TOKENS:
*comment 1. labels ( and related: *gosubs, *gotos - etc. )
*comment 2. comments
*comment 3. variables
*comment 4. options ( #Option lines )
*comment 5. csplus ( CSIDE specific commands )
*comment 6. commands
*comment 7. page ( editor background and the standard text )
*comment 8. spell-errors ( any words that are tagged as incorrect by spell-check )
*comment 9. indentation ( a line's preceding whitespace )
*comment 10. gutter ( editor sidebar )
*comment 11. gutter-numbers ( line numbers )
*comment 12. error-lines ( lines that have caused an issue to be logged )
*comment 12. cursor
*comment 13. matches ( word that match the currently selected word )
*comment ## VALID ATTRIBUTES + VALUES:
*comment 1. color ( rgb(x,x,x), colorname, #HEXCODE )
*comment 2. background ( rgb(x,x,x), colorname, #HEXCODE )
*comment 3. weight ( normal, bold )
*comment 4. style ( normal, italic )
*comment 5. bottom-border ( dotted/dashed/solid | color (as above) | 1-5px )
*comment 5. left-border ( dotted/dashed/solid | color (as above) | 1-5px )
Examples:
*cside_theme_set commands color red would make your commands red. *cside_theme_set comments background #FFF would make your comments have a white background.
Hi, I’m sorry ;; but is there a way to connect the dropbox account to the desktop version of CSIDE instead of the web version? I’m a bit confused with this kind of syncing stuff T_T
Would it work if you put the project files in a Dropbox folder (do you have a local synced folder?) and open it (and work there) from the desktop CSIDE?
As @brushmen suggests, the recommendation here is to use CSIDE in conjunction with the Dropbox desktop application. This should allow you to specify folder syncing, and thus automatically have file changes uploaded to Dropbox (regardless of the app you’re using: CSIDE or others).
Worth noting the same applies to Google Drive, OneDrive, etc.
What are the differences between this and the Notepad ++ usage? Which is better?
Student programmer about to graduate with a bachelor but I have not messed around with choice script or IDEs too much.
CSIDE is specifically built for ChoiceScript, so it has syntax highlighting and can run test directly in it that’s not affected by browser updates (which caused running CS no longer easy without needing Node.js virtual server). CSIDE web-version may be at the mercy of DropBox and internet connection, but at least it’s cross-platform. For most users, CSIDE local install would probably be better.
For any other text editor, the most you can get to help with the coding is some kind of syntax highlighting (VSCode already has a fan-made add-on for that, not sure about others). But you have the freedom and comfort of a text editor that you might already be familiar with.
It doesn’t cost you anything to go with either choice, and you can switch at any time, so why not try both and decide for yourself?
New to scripting and/or ChoiceScript and just want to get to making a game? Use CSIDE.
Familiar with ChoiceScript and/or hacking/scripting about? You’ll probably prefer taking the time to set up your own environment/pick your own editor.
But then I’ve had people from both camps swing the other way. Many people use both, for example they’ll edit in a text editor and do all their testing/debugging in CSIDE.
Beyond that I should also add that CSIDE is a community tool made by a sole developer on his off-time (make of that what you will).
I’m trying to program a game with CSIDE. I have three projects. Two of these show up on CSIDE, but there is an exclamation point beside each file, and CSIDE says that they “do not exist” when I try to run them.
The active project that I have will not export any files. Even if I wanted to move them offline (or anywhere) I couldn’t.
Can someone give me any advice on what may be happening and how to fix it?
Are you using the web version of CSIDE, perchance? If so, best way to get them on your computer is by installing the Dropbox app (or logging into the Dropbox website and downloading them via its web UI).
If you’re using the desktop version, then your files are already on your computer.
So now the active game I have that I am working on is frozen. I try to click on the files, but the computer says “path not found.” And when I clicked on the exclamation marks next to the files, they began to disappear! Did I accidentally download a virus or something?