# \[Tool\] Chronicler - ChoiceScript Visual Code Editor

**URL:** <https://forum.choiceofgames.com/t/tool-chronicler-choicescript-visual-code-editor/6811>\
**Category:** Game Development\
**Created:** [January 13, 2015, 10:24pm UTC](https://forum.choiceofgames.com/t/tool-chronicler-choicescript-visual-code-editor/6811 "2015-01-13T22:24:02Z")\
**Posts on this page:** 20\
**Page:** 20

<div class="post-metadata">

**Author:** ![BenSeawalker](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/benseawalker/32/198854_2.png) [@BenSeawalker](https://forum.choiceofgames.com/u/BenSeawalker)\
**Post date:** [January 13, 2017, 4:11pm UTC](https://forum.choiceofgames.com/t/tool-chronicler-choicescript-visual-code-editor/6811/381 "2017-01-13T16:11:49Z")

</div>

@Laguz I plan on implementing an actual stats screen editor in the future, but for right now you can add a new scene to the Project view called “choicescript\_stats” -\> add a code bubble and type your stats code in it.

---

<div class="post-metadata">

**Author:** ![Laguz](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/laguz/32/90734_2.png) [@Laguz](https://forum.choiceofgames.com/u/Laguz)\
**Post date:** [January 13, 2017, 4:13pm UTC](https://forum.choiceofgames.com/t/tool-chronicler-choicescript-visual-code-editor/6811/382 "2017-01-13T16:13:44Z")

</div>

How??? I have no idea how to do this. A new scene? A new code bubble? How do I type in the stats, is it just like in normal choicescript? Do I have to connect this to startup somehow?

---

<div class="post-metadata">

**Author:** ![BenSeawalker](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/benseawalker/32/198854_2.png) [@BenSeawalker](https://forum.choiceofgames.com/u/BenSeawalker)\
**Post date:** [January 13, 2017, 4:18pm UTC](https://forum.choiceofgames.com/t/tool-chronicler-choicescript-visual-code-editor/6811/383 "2017-01-13T16:18:34Z")

</div>

@Laguz  
If you need to know the syntax for stats, a very brief Google search revealed this article:

> **[Customizing the ChoiceScript Stats Screen](https://www.choiceofgames.com/make-your-own-games/customizing-the-choicescript-stats-screen/)**
>
> Most of our games have a “Show Stats” button (Choice of the Dragon has a “My Dragon” button) showing some of the stats applying to your character. This document describes ho…

* * *

If you need to know more about Chronicler:  
[Creating a Chronicler project Tutorial](https://youtu.be/vlVgNOwICew)

All tutorials and instructions are referenced on the Chronicler startup page (the one with recent files on the left),  
or alternatively, the [main post](https://forum.choiceofgames.com/t/tool-chronicler-choicescript-visual-code-editor/6811) of this forum.

---

<div class="post-metadata">

**Author:** ![Laguz](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/laguz/32/90734_2.png) [@Laguz](https://forum.choiceofgames.com/u/Laguz)\
**Post date:** [January 13, 2017, 4:20pm UTC](https://forum.choiceofgames.com/t/tool-chronicler-choicescript-visual-code-editor/6811/384 "2017-01-13T16:20:25Z")

</div>

Yeah literally I read both of them but I still don’t get what you’re trying to tell me. I asked for specific instructions.

---

<div class="post-metadata">

**Author:** ![BenSeawalker](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/benseawalker/32/198854_2.png) [@BenSeawalker](https://forum.choiceofgames.com/u/BenSeawalker)\
**Post date:** [January 13, 2017, 4:39pm UTC](https://forum.choiceofgames.com/t/tool-chronicler-choicescript-visual-code-editor/6811/385 "2017-01-13T16:39:26Z")

</div>

@Laguz

 ![](https://www.dropbox.com/s/x1omrcv73rl241c/Project.png?dl=1)  
 ![](https://www.dropbox.com/s/v8z2xshuzf9gt3n/Stats.png?dl=1)

---

<div class="post-metadata">

**Author:** ![Laguz](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/laguz/32/90734_2.png) [@Laguz](https://forum.choiceofgames.com/u/Laguz)\
**Post date:** [January 13, 2017, 7:28pm UTC](https://forum.choiceofgames.com/t/tool-chronicler-choicescript-visual-code-editor/6811/386 "2017-01-13T19:28:56Z")

</div>

Thank you! Very helpful!

---

<div class="post-metadata">

**Author:** ![Badchoice](https://avatars.discourse-cdn.com/v4/letter/b/aeb1de/32.png) [@Badchoice](https://forum.choiceofgames.com/u/Badchoice)\
**Post date:** [January 15, 2017, 8:18pm UTC](https://forum.choiceofgames.com/t/tool-chronicler-choicescript-visual-code-editor/6811/387 "2017-01-15T20:18:09Z")

</div>

Anyone else have problems with Chronicler not distinguishing between project text files? I’m working with two different projects. Both of them run just fine aside from the stats screen and I’m working on that. Each has a choicescript\_stats.txt in its folder, so that may be causing confusion, though I wasn’t sure if the stats screen would pull up at all if it didn’t have that specific name for it to recognize.

Anyway, the problem seems to be that one project is giving me an error about a non-existent variable, which of course only exists in the other. Do you think renaming them would help?

Edit: I think that may be resolved, but it still does weird things like tell me that it was expecting code that already exists, like percent or text. I look over my code in Notepad++ at the mentioned line and it looks fine. Go figure.

---

<div class="post-metadata">

**Author:** ![Laguz](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/laguz/32/90734_2.png) [@Laguz](https://forum.choiceofgames.com/u/Laguz)\
**Post date:** [January 15, 2017, 8:19pm UTC](https://forum.choiceofgames.com/t/tool-chronicler-choicescript-visual-code-editor/6811/388 "2017-01-15T20:19:03Z")

</div>

Same! I’m not really sure what causes it.

---

<div class="post-metadata">

**Author:** ![BenSeawalker](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/benseawalker/32/198854_2.png) [@BenSeawalker](https://forum.choiceofgames.com/u/BenSeawalker)\
**Post date:** [January 15, 2017, 10:37pm UTC](https://forum.choiceofgames.com/t/tool-chronicler-choicescript-visual-code-editor/6811/389 "2017-01-15T22:37:23Z")

</div>

@Badchoice & @Laguz Hmmm. Does it occur in your web browser (like Firefox) as well or only in the builtin webviewer when you hit play?  
I noticed the other day that the builtin viewer sometimes has issues loading choicescript 😕

Also, make sure your projects are in their own separate folders. I might have to add a “clean directory” function to Chronicler so that when you hit play it deletes all the txt files in the MyGame folder before generating the new code that way you don’t have conflicts when play-testing.

---

<div class="post-metadata">

**Author:** ![Laguz](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/laguz/32/90734_2.png) [@Laguz](https://forum.choiceofgames.com/u/Laguz)\
**Post date:** [January 15, 2017, 10:39pm UTC](https://forum.choiceofgames.com/t/tool-chronicler-choicescript-visual-code-editor/6811/390 "2017-01-15T22:39:45Z")

</div>

Yeah, you’re right! Absolutely right, I made all those mistakes. Thanks.

---

<div class="post-metadata">

**Author:** ![Badchoice](https://avatars.discourse-cdn.com/v4/letter/b/aeb1de/32.png) [@Badchoice](https://forum.choiceofgames.com/u/Badchoice)\
**Post date:** [January 15, 2017, 11:12pm UTC](https://forum.choiceofgames.com/t/tool-chronicler-choicescript-visual-code-editor/6811/391 "2017-01-15T23:12:44Z")

</div>

I haven’t tried running them in a web browser yet, just in the editor  
itself. Everything but the stats screen works well on both so far.

---

<div class="post-metadata">

**Author:** ![Badchoice](https://avatars.discourse-cdn.com/v4/letter/b/aeb1de/32.png) [@Badchoice](https://forum.choiceofgames.com/u/Badchoice)\
**Post date:** [January 16, 2017, 12:31am UTC](https://forum.choiceofgames.com/t/tool-chronicler-choicescript-visual-code-editor/6811/392 "2017-01-16T00:31:46Z")

</div>

Anyone else have problems with Chronicler not distinguishing between project text files? I’m working with two different projects. Both of them run just fine aside from the stats screen and I’m working on that. Each has a choicescript\_stats.txt in its folder, so that may be causing confusion, though I wasn’t sure if the stats screen would pull up at all if it didn’t have that specific name for it to recognize.

Anyway, the problem seems to be that one project is giving me an error about a non-existent variable, which of course only exists in the other. Do you think renaming them would help?

---

<div class="post-metadata">

**Author:** ![Vendetta](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/vendetta/32/533_2.png) [@Vendetta](https://forum.choiceofgames.com/u/Vendetta)\
**Post date:** [January 15, 2017, 11:00am UTC](https://forum.choiceofgames.com/t/tool-chronicler-choicescript-visual-code-editor/6811/393 "2017-01-15T11:00:56Z")

</div>

_Edit: Ah, a kind mod moved / merged topics to suit. Thanks._ 🙂

---

<div class="post-metadata">

**Author:** ![hwak](https://avatars.discourse-cdn.com/v4/letter/h/dec6dc/32.png) [@hwak](https://forum.choiceofgames.com/u/hwak)\
**Post date:** [January 27, 2017, 1:27am UTC](https://forum.choiceofgames.com/t/tool-chronicler-choicescript-visual-code-editor/6811/394 "2017-01-27T01:27:00Z")

</div>

Hello Ben,

I have a Mac and would like to help out. Is there a Mac version ready yet?

---

<div class="post-metadata">

**Author:** ![BenSeawalker](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/benseawalker/32/198854_2.png) [@BenSeawalker](https://forum.choiceofgames.com/u/BenSeawalker)\
**Post date:** [January 27, 2017, 3:32am UTC](https://forum.choiceofgames.com/t/tool-chronicler-choicescript-visual-code-editor/6811/395 "2017-01-27T03:32:57Z")

</div>

@hwak Awesome!  
Shoot an email to me at [benseawalker@yahoo.com](mailto:benseawalker@yahoo.com) and I’ll get you setup on the Slack channel.

Please put “Chronicler Mac” in the title so that my mail can sort it.

---

<div class="post-metadata">

**Author:** ![BenSeawalker](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/benseawalker/32/198854_2.png) [@BenSeawalker](https://forum.choiceofgames.com/u/BenSeawalker)\
**Post date:** [January 27, 2017, 6:59pm UTC](https://forum.choiceofgames.com/t/tool-chronicler-choicescript-visual-code-editor/6811/396 "2017-01-27T18:59:21Z")

</div>

I finally got around to writing a [manual for Chronicler](https://www.dropbox.com/s/1ul47hnu9x5gq1x/Chronicler_Manual.docx?dl=0).  
It was actually an assignment for my documentation development class, but we were allowed to pick the topic, so I thought I’d knock out the both the metaphorical birds with the singular stone as the colloquialism goes.

Let me know what you think, and in what ways it can be improved.

---

<div class="post-metadata">

**Author:** ![BenSeawalker](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/benseawalker/32/198854_2.png) [@BenSeawalker](https://forum.choiceofgames.com/u/BenSeawalker)\
**Post date:** [January 30, 2017, 6:05am UTC](https://forum.choiceofgames.com/t/tool-chronicler-choicescript-visual-code-editor/6811/397 "2017-01-30T06:05:09Z")

</div>

[Mac version](https://www.dropbox.com/s/t1mafjxd938kqwd/Chronicler-Next-OSX.zip?dl=1) now available!

---

<div class="post-metadata">

**Author:** ![Loriela](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/loriela/32/47219_2.png) [@Loriela](https://forum.choiceofgames.com/u/Loriela)\
**Post date:** [February 1, 2017, 4:05am UTC](https://forum.choiceofgames.com/t/tool-chronicler-choicescript-visual-code-editor/6811/398 "2017-02-01T04:05:51Z")

</div>

I’m having an odd problem with the play test option, the first time I play it after opening chronicler it works fine, but after I edit any scene I have to reopen chronicler to see the new version, otherwise it will just play the previous version.

---

<div class="post-metadata">

**Author:** ![BenSeawalker](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/benseawalker/32/198854_2.png) [@BenSeawalker](https://forum.choiceofgames.com/u/BenSeawalker)\
**Post date:** [February 1, 2017, 4:07am UTC](https://forum.choiceofgames.com/t/tool-chronicler-choicescript-visual-code-editor/6811/399 "2017-02-01T04:07:21Z")

</div>

@Loriela Just to be sure, are you hitting the play button every time or just going back to the play tab?  
In order for Chronicler to recompile your game you have to press the play button. 🙂

---

<div class="post-metadata">

**Author:** ![Loriela](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/loriela/32/47219_2.png) [@Loriela](https://forum.choiceofgames.com/u/Loriela)\
**Post date:** [February 1, 2017, 4:11am UTC](https://forum.choiceofgames.com/t/tool-chronicler-choicescript-visual-code-editor/6811/400 "2017-02-01T04:11:18Z")

</div>

yup, I know I can do dumb stuff like that so I checked it just to be sure, I even closed the play tab and then hit play again, but still got the same problem

[Previous page](https://forum.choiceofgames.com/t/tool-chronicler-choicescript-visual-code-editor/6811.md?page=19)

[Next page](https://forum.choiceofgames.com/t/tool-chronicler-choicescript-visual-code-editor/6811.md?page=21)
