View all by brushmen
brushmen
Follow brushmen
Follow
Following brushmen
Following
Add To Collection
Collection
Comments
Devlog
Related games
Related
SugarCube code collection to emulate the look of ChoiceScript
←
Return to SugarCube code collection to emulate the look of ChoiceScript
Devlog
some quirks with wrapping strings inside quotation marks
April 24, 2023
by
brushmen
<<choice_shown '"You know what, I\'m just going to write something vague. Ten bucks."' _next>> You may notice in some choice text that I had to add in backslash ( \ ) to “escape” a single quote, b...
Continue reading
variable types and string Template
April 23, 2023
by
brushmen
Global variables ($fname, $money, etc.) can be “set” (created) anywhere, and then they exist until they are “unset”. Depending on how many level of undo/rewind you allow for the game, they wil...
Continue reading
storyinit.tw
April 23, 2023
by
brushmen
located: src/twee/meta/storyinit.tw :: StoryInit [illumeIgnore] ... Think of this like the *create variables section in startup.txt of ChoiceScript. It’s not as strict as in ChoiceScript, and in fac...
Continue reading
storydata.tw
April 23, 2023
by
brushmen
located: src/twee/meta/storydata.tw :: StoryData [illumeIgnore] { "ifid": "", "format": "SugarCube", "format-version": "2.36.1", "start": "Start" } :: StoryTitle [illumeIgnore] ChoiceScript-like Sugar...
Continue reading
config.js
April 23, 2023
by
brushmen
located: src/js/config.js It’s like a configuration file for programs, if you have ever needed to make changes to .ini files in Windows. Regardless, you can change a few things here to fit your proj...
Continue reading
"compile.bat", task automation for compiling
April 23, 2023
by
brushmen
@ECHO OFF Rem Below variables should be changed to fit your setup Rem example zip tool: https://www.7-zip.org/ set COMPILER="C:\Users\yourname\Desktop\tweego\tweego" set ZIPTOOL="C:\Program Files\7-Zi...
Continue reading
Preparation Steps
April 23, 2023
by
brushmen
Prepare a code editor (technically notepad will work fine). I recommend Visual Studio Code. Check that you have the useful extensions installed for it: In the Extensions section, search for “sugarcu...
Continue reading