Open IdrilK opened 1 year ago
Does this refer to syntax highlighting? I think it's a great idea to implement.
Does this refer to syntax highlighting? I think it's a great idea to implement.
The main idea was to make the graphical mode more readable by coloring the major functions and highlighting the story text. But this could also be applied to the text mode by highlighting the key functions ("label, jumplabel, changeScene, end, choose, callScene"), just like I do in my application. We need to discuss this.
I write my code using my remarkable2 application. I quickly realized that with 12 pages (A4 format) of code just for the first day (which isn't even finished yet), everything was unreadable and hard to go through. I had trouble finding anything! So, I implemented this formatting to emphasize the main functions and differentiate between plain text and functions. I soon noticed that it became much more readable and practical to navigate.
In parallel with WebGAL, I'm adapting the exact same code I write for WebGAL to "Tyranobuilder." The graphical mode of "Tyranobuilder" becomes completely unreadable when there are too many colored blocks (due to the profusion of colors), which led to this reflection for WebGAL.
By the way, the same applies to Tyranoscript code, even with the color formatting in Visual Studio Code. The code I write on my remarkable2 is more readable (especially with the code written for WebGAL and this formatting). So yes, considering a better formatting for the text mode with a highlight for key functions ("label, jumplabel, changeScene, end, choose, callScene") could be discussed. Because even though WebGAL's text mode is more readable than Tyranoscript, it's still not as clear as my formatting on my RM2.
PS: Writing code with WebGAL and simultaneously adapting it for Tyranobuilder helps me come up with ideas/suggestions for WebGAL :).
主要的想法是通过给主要功能着色,使图形模式更易读,并使故事文本更明显可见。 但这也完全适用于文本模式,可以用高亮显示主要功能("label, jumplabel, changeScene, end, choose, callScene"),就像我在我的应用程序中所做的那样。我们需要讨论一下。
我用remarkable2应用程序写代码。很快我就意识到,仅仅为了第一天(尚未完成)的12页(A4格式)的代码,一切都变得难以阅读。我很难找到任何内容!因此,我对代码进行了格式化,以强调主要功能,并在普通文本和函数之间使用不同的格式。我很快意识到这样更易读,对于找到某些内容非常方便。
与WebGAL并行进行时,我正在为"Tyranobuilder"精确地调整我为WebGAL编写的相同代码。如果有太多颜色块(由于颜色过多)"Tyranobuilder"的图形模式完全难以辨认,这也引发了对WebGAL的思考。
另外,尽管在Visual Studio Code中对Tyranoscript代码进行着色,但在我的remarkable2上编写的代码更易读(特别是使用WebGAL的代码和这种格式化)。因此,是的,考虑改进文本模式的格式化,并用高亮显示主要功能("label, jumplabel, changeScene, end, choose, callScene")可能值得讨论。因为即使WebGAL的文本模式比Tyranoscript更易读,但仍然不及我在我的remarkable2上的格式化效果明显。
附言:使用WebGAL编写代码,然后同时调整为Tyranobuilder,让我找到了一些WebGAL的建议:)。
That sounds a good idea.
I was think that it's nice to add color to the WebGAL editor ("graphical", not for text like my example) for better visibility, but if you've tried "tyranobuilder" or "Visual Novel Maker," you may have noticed that too much color can quickly become overwhelming. So, why not use color only for the main functions: label, choose, jumplabel, changeScene, end?
(我认为在WebGAL编辑器[“图形”,不适用于像我的例子这样的文本]中加入颜色可以增加可见性,但如果您尝试过"tyranobuilder"或"Visual Novel Maker",您可能会注意到太多颜色会使可见性减弱。因此,为什么不仅将主要功能标记为彩色:label,choose,jumplabel,changeScene, end?)