[Tool] Chronicler - ChoiceScript Visual Code Editor

I can’t exactly use it in the contest if it is public now. I am trying to send it to a friend, so I just put the whole folder in a zip and told him to go into web/mygames/index.html. I don’t think this is the ideal way to submit something either, but I don’t see anywhere that says how to make it into a simple package.

Edit: Didn’t read it thoroughly. It has a private option. Still, I would have liked a way to make a package, but this can work.

1.How can I make stats? And how do I display those states in more complex manner (mostly, inventory system)
2.How can I make a choice that require high enough state to be able to active, and how do I hide reuse?
3.How do I make a ‘else_if’ scene?
4.How I allow people to name their character?
5.There might be more questions, but I need more time to try out the program.

6.Forget question 4.
7. What do ‘T’ and ‘F’ in ‘*If’ bubble mean?

True and False. Basically, if you’ve got a skill check of, for example, strength > 50 the T links to what happens if your strength skill is bigger than 50 and the F links to what happens if your strength skill is equal to or smaller than 50.

There’s a compile.html file packaged with the Choicescript download, that should allow you to create a standalone index.html

@555sarin


@Icura & @CJW
Excellent advice, it’s been long enough since I’ve explored the CS folder that I had forgotten such a thing existed. >_<

@CJW Oh thank you! That was exactly what I was looking for!

1 Like

This tool is really useful :slight_smile:
It helps me visualise everything better ~

Though there is somehow a little problem. If I want to make a little testplay, it somehow messes up the choices for me.



It either makes the choice part on a different indent, or it makes the following:

It puts the *finish part behind a goto for some reason I don’t know.
Otherwise, how do I make a *fake_choice? So far, I only get the normal *choice.

@Nekumura
Those are rather troublesome bugs…

I would love to fix them, and I’d probably have the update out later today, but Game Maker: Studio updated several times since I last worked on it and has completely changed how certain things are done. (I can’t revert these updates, I’ve tried doing a system restore even)
As it stands it would take me days, if not weeks to update all of Chronicler with these changes. (It doesn’t even compile anymore, and there’s over 1000 errors…)

In my mind this is not worth it as I am developing a new version of Chronicler with QtWidgets.


My suggestions for the indentation problem would be to put some text in the story bubbles above the second level of choices (even a period or perhaps a space might work). Or slip a couple of action bubbles with a *comment in between might work as well. Sorry I can’t do more at the moment. ):

Not sure about the *finish bug, I must have missed a newline character somewhere >_<

Chronicler doesn’t generate *fake_choice’s.
It is something that I am working on in the new version however.


Your story seems pretty awesome btw!

Ah, alright.

Well, don’t worry, I am sure you will finish the new Chronicler as soon as you can in your own pace and I am also sure that it will work wonderfully ^^ Bugs can happen as it is normal. Some just slip by ~shrugs~

Ah, that is great :smile:
Can’t wait to test out the new version when it is out ~

And thank you! There is not much yet, though ^^
But I can leave a link here if you would like when I post a preview of it. ~

1 Like

That would be awesome!

I’m hard at work on the new Chronicler. Most of the core features are already in place.
I just need to finish cleaning up the UI a bit, add the condition, action, and choice bubbles, and figure out how to import existing projects.

My thought right now is to create a new tool in GM:S to convert old projects to the new format, as it would be easier than trying to parse GM:S’s hex code serialization scheme.

It will be completely cross-platform, easier to debug, and have vastly reduced system requirements. It uses almost zero processing power at the moment. (I have yet to test it with more than 10 bubbles on screen at one time tho…)

Will do that then in a few days ^^

Good thing I have no idea about coding/programming such things. I guess I would just screw it up, as I have no idea how exactly this works.

Anyway, I wish you good luck with the program and that everything works fine.
Oh, and I almost forgot! Merry Christmas to you :smile:
And of course to everyone else ~

1 Like

That dev log thing that happens every blue moon 9
12/27/15

Greetings all, Progress on Chronicler-Next is running smoothly, I keep getting sidetracked by all the cool features that QtWidgets has tho. It’s like the most awesome thing ever, why didn’t I use it to start with??? D:

I’ve recently fell into a slight conundrum regarding “Action” bubbles. My idea for their new format is to have a “Label” and a text area where you can insert multiple commands rather than having to chain multiple action bubbles together. However, this makes it the same as a “Story” bubble in all but name. I, in fact received a demo project (from the current Chronicler) wherein the user had simply put all their actions into story bubbles, and it worked just fine.

I honestly see no reason to keep a “useless” bubble around, and wish to simply remove Action bubbles altogether, leaving Story, Condition, and Choice bubbles. If one wishes to differentiate their “Action” bubbles from Story bubbles, they only need change the color.

Hopefully this is an acceptable change for all of you, it certainly makes sense to me at least.


Now for a screenshot!
bear in mind that this is still the early alpha version, and the UI is definitely going to improve over the next few weeks.

As you can see, bubbles are no longer edited directly. Rather, a context sensitive properties view is placed on the side. The interface itself is completely modular. You can dock the properties view on either side of the screen, resize it, or pop it out and keep it on your second monitor if you so wish. The same goes for the toolbar at the top.

You now have the ability to change the font used in the interface. (This will NOT affect your generated .txt files)
I feel the Bold, Italic, and Underline options are unnecessary tho.

You may also have noticed the color options for the text, outline, and fill of bubbles. I think I will change it to a “Pallet” system, wherein you can create your own paint pallets for bubbles, name them, and apply them to whatever bubbles you wish. In the “Dragon Example Project” for example, I used Red bubbles to denote aggressive routes, Blue for the common route, and Green for disdainful routes.

Right now, I’m thinking that Story bubbles will have output points on the left, bottom, and right side. You will use the connection editor tool to highlight and drag arrows to other bubbles. Condition bubbles will have the customary True and False outputs, and Choice bubbles will still have individual links on the right side.


Let me know what you think of the new interface.
Suggestions and Criticisms (constructive or otherwise), are most welcome!

-BenSeawalker

2 Likes

how do u test ur game if it is working?

@Portugas_D_Ace See post 204. I outline the whole process.

So, I have recently started messing around with CS and happened to notice your tool in the forums. I love the GUI interface as it helps me organize my thoughts as a flowchart and it has a Visual Studio feel to it. In short, my IT side is quite happy.

A question though, while I can follow the code in the Choice of Dragons example that was posted is there any step by step tutorial of how to set up stats and other variables using Chronicler? If I read someone’s notes or had a walkthrough, I feel like I can get up to speed in a lot less time than banging my head against the code.

Appreciate the help in advance and keep up the good work on this project.

@IronRaptor
As of right now, the “stats screen editor” is just a text box you can type your stats code into. It is one of the buttons in the file menu at the top of the screen.

The variables screen is the round button with the CS logo inside the “Bubbles” menu on the left side of the screen.
Chronicler allows the use of both “Global” and “Local” variables. Once you have added your variable and set its initial value, you can change it to a local variable by clicking the dropdown box on the left. It will set it to the currently selected scene. In most instances, the default global setting is what you want, but if you’re a stickler for memory efficiency, it is a nice feature to have.

if you mean you would like a tutorial on CS itself:


There’s more links on the side for tips and tricks.

Everything else can be found in the pseudo tutorial below the screenshots in the main post.


The new version of Chronicler that I’m developing is far more like VS than this one is. haha


I really should start a FAQ thread for these questions…


Good luck with your project!
-BenSeawalker

If I had a PC I might consider it.

@Hanon_Ondricek

What’s to consider? The new version is completely cross-platform! Windows, Mac, and Linux.

I will need some help with compiling the Mac version however. I have Windows, and Linux is easily obtained, but OSX isn’t something you can just throw into Virtual-Box…

I noticed your earlier post stating you were on a Mac? If you would like to help in that regard, let me know. You just have to install Qt Creator (free) and open the Chronicler-Next source code. Hit the build->release button and email the .dmg file back to me so I can upload it.

Thanks for your interest!
-BenSeawalker

I’d be happy to help! I thought it still required parallels or Wine. I’ve
done wine on a previous machine but it’s a long hassle. If you can email me
files and instructions I’ll give it a shot!