[Tool] Chronicler - ChoiceScript Visual Code Editor

ChoiceScript import is now a thing!

It first asks you for the indentation style of the file. Just tell it whether you used spaces or tabs, and how many are needed for the first level of indentation. This must be the correct formatting of your file, or the imported code will not be correct.

It will then ask you where to save the imported project, throw it into a new folder.

It is likely that you will have to fix some of the formatting, but not much I can do about that at the moment. At the very least, much of the import work is taken care of for you :slight_smile:


The indentation picker works, but I think I’ll add a way for it to detect it automatically in the future.



*sigh, just realized that it doesn’t set the title of your project. (I’ll fix that eventually, but for now you’ll have to type it in after the project is imported.) :confused:

2 Likes

I’m back! :triumph:

I’ve got about a month left before university starts again, so I’ll try my best to keep the updates flowing during this time.

As for good news, I managed to add the variables screen finally! :smiley:

The bad news is I had to work on a different pc and my data traveler got corrupted somehow :confused:
I didn’t lose the variables code, but I did lose the code I had just added to Action bubbles to bring up context sensitive code completion. (i.e. typing "*set " would popup the list of variables, "*set stamina " would popup ā€œ= += -= %=ā€ options.)
Luckily that code wasn’t monolithic, so I should be able to re-implement it again today.

Once that is completed, I’ll add variable refactoring (renaming) to actions, and release the update sometime this week.

It seems like I’ve got a few more Linux users, so I’ll be sure to keep that build updated as well. Also, if anyone has a Mac that would be willing to send me builds of the Test branch on GitHub when they get a chance, that would be swell.

EDIT: I’m thinking about changing CS import to be less picky about indentation, similar to the old version of Chronicler. I don’t want to encourage bad coding habits, but that should be a non-issue after switching to Chronicler. *shrugs

3 Likes

Hey folks, I’ve updated the Test branch on GitHub, and both the Windows and Linux versions.

I also added a download link for just the exe without all the dlls. It’s a much smaller download, but you have to replace the exe in the folder with the full download in order for it to work.

Included in the update is:

  • Several fixes to CS import/export
  • Author input box in Project view
  • CS variables screen
  • Context sensitive code completion when editing action bubbles.
  • Show/hide dock option added to view menu
4 Likes

Looks really beautiful. I am still looking through tutorials, but this looks like the best choice for me to develop my first game with until I can grok code better, lol. I am a partly visual learner and this really appeals to me. Wish there was a tutorial for getting started within your program, but I understand it’s still under heavy development.

After installing the QT dev libs, it runs perfectly on Ubuntu 16.04. No issues whatsoever.

A silly question. How do I add say, stats to a project on Chronicler? I have a few stats I want to add, but…

Would be nice to bring up a little dialogue to add simple stats to a game.

@Moonie_Leitmotif Thanks!
I am currently working on a stats screen editor for Chronicler, but it could be a couple of weeks until it is finished. If you need it right away, I can simply throw in a textbox for manual editing.

My main focus for the next couple of days will be on implementing an automatic updater, followed by undo/redo system. After that I need to add the ability to copy/paste bubbles, then I can really start on the stats editor.

I haven’t had time to release tutorials yet, but the list of controls can be found in the README on GitHub.

2 Likes

I can wait a few weeks and mess around with creating a simpler project to get a hold of the rest of it. An automatic updater’s gonna be awesome! All these options sound like things you’d really want in place before you put in a stats editor. Thank you for getting back to me so fast! You’ve been doing a great job. Hope you are having fun with this and I just want you to know, it’s really appreciated that you’re working on a project like this. The IDE via web is awesome but it’s good to have choices for developing CS projects!

Thank you so much for pouring your heart into this. You’ve really come a long way since Tinker.

1 Like

Chronicler 0.9.7.1 is up. It includes the new auto-updater!

I had the Windows version up last night actually, but ran into file handling snags with the Linux version.
They are fixed now, and the Linux version now comes in a tarball with Chronicler and the updater program.

The only thing I have to do now is update the HTML news page whenever I release an update instead of posting here every time.

EDIT: I also added validators to Bubble Titles and Variable Names, these simply prevent you from starting their names with a number, or using spaces and other invalid characters to coincide with CS naming conventions.


@Moonie_Leitmotif Thanks, the encouragement really means a lot to me. :slight_smile:

1 Like

To Linux users who may be new to the world of Linux: Remember to right-click, select properties and click the option to let it run as a program!

I will look into what it may take to create a Chronicler PPA, as that’s a common way to get and update programs and I will post my findings so that you may in the future not require the updater program. Windows does have a version of Ubuntu included with ten, so this may benefit more than us Penguins!

EDIT:

Now that I look into it, Canonical has an excellently and relatively easy way to upload a PPA. The Ubuntu family may not be the only distros, but they tend to be most popular among common users, especially Mint.

https://help.launchpad.net/Packaging/PPA

Here is the link I found, which details the process you would need to go through to create a PPA.

Once created, people can add your PPA and install via the console, with apt-get!

1 Like

Awesome, I’ll look into it.

EDIT:
Hmmm, it actually looks rather complex, and I’ll have to switch to bazaar instead of git?
From what I read it seems like you upload the source, and they build the binaries, but only if they have the correct dependencies. I would imagine they have Qt, but it is not mentioned.

Honestly, I feel the builtin updater I just added is adequate, and adds uniformity across all versions of the program.
I do like the package system on Linux, but isn’t PPA Ubuntu specific? Other distros use a different package manager I think. My method should allow the binary to run on all Linux distros (I hope), and means that I don’t have to fool around with maintaining multiple packages.

Maybe I’ll look into it again in the future when Chronicler is out of the beta stage.


Also, I find it odd that the files aren’t still marked executable after the download :confused:
Is that a security feature or something?

The updater was, but the main file from before the update was not. I assume that it is indeed a security features. The new file was properly marked, along with the updater but I’m not sure if it was because the tarball was or not. But that’s definitely something to check for.

Honestly, the tarball format seems to be the best for now, now that I’ve taken a look.

Version 0.9.8.1 is up. Added the ability to copy/paste bubbles. They are copied to the clipboard so you can paste them across multiple scenes, or even another running instance of Chronicler if you really want to get fancy.


I also fixed the crash that occurred while right-clicking on an empty space in the scene. (the problem with not using your own program haha)
But in all seriousness, I could have fixed that bug long ago if someone had pointed it out to me sooner. Please use the links in the main post to submit bug reports, especially when you discover a crash. I can’t fix things I don’t know about! Even if you think it is something I’m aware of, post it anyway. I don’t even care if multiple reports are submitted, they will help me track down the issue.
It will only take a few minutes of your time, and will benefit the Chronicler community as a whole.

Thanks

  • BenSeawalker
3 Likes

I’m sure that this has been asked before, but, do I need to buy anything to get this program to work?

@COGZealot Nope, Chronicler is free and open source and always will be. There is a donate link in the main post if you wish to support my efforts, but it is by no means mandatory.

If you are having issues, you can submit a bug report to the link in the main post, PM me, or throw your question here if you feel it is relevant for the community.

Thanks for your interest!
-BenSeawalker

1 Like

Posted a feature request in the bug tracker, but I’ll also touch base here. The long and short of it, it would be handy to have an ā€œImport Sceneā€ function, as the ā€œImport Projectā€ function seems to work by iterating through the *scene_list, and anything on there won’t be imported.

@stainedofmind No problem, I’ll have the update out today.

@BenSeawalker, cool! On a side note, I very much like the new QT version of this over the old GM Studio version. As much as I’m a fan of Studio, it’s just really not very good for creating utilities with windows like UI widgets. I feel like the current version you have going on is a lot more flow friendly. For giggles, I’m going to try and get off my butt and actually start a real project using 99% Chronicler. Long story short, keep up the good work!

Version 0.9.9.1 is up.
Added single scene import to the file menu.
I also made it so you can’t have two scenes with the same name.


@stainedofmind Awesome! Let me know when you complete/host it.
Also, you should be able to use 100% Chronicler when I add the stats screen editor (;

1 Like

Started messing around and the updater works flawlessly in Linux. Updated twice with zero issue so far! I open the program and it gives a notification if there’s a new update, downloads and has me restart. The save has kept working and I love the link tool.

Looking forward to see when you add the stats screen editor! And I look forward to donating. Have you ever considered a Patreon?

@Moonie_Leitmotif Great! I was wondering if anybody had issues with it. It requires admin rights on Windows for some reason. *shrug*

Right now I’m having some issues with an undo/redo system, but as soon as I’m done with that I’ll add the stats screen editor. Now, I could simply do what I did with the old Chronicler and store snapshots of your entire project for undo/redo. But this is not an elegant solution, and it takes up vastly more memory. On the other hand, I have to make up undo/redo’s for every possible action. Including changing text, adding, moving, and deleting bubbles, scenes, variables, etc. etc.


I have looked at Patreon, but considering the lack of donations so far, I just assumed nobody would want to pay monthly haha. Also, I don’t really have major funding goals or rewards to give out to patrons.


@Everyone Quick question, would you like to have undo/redos be persistent across sessions? As in saved in the project file. If so, I’ll have to do something a little different with the system so I need to know relatively soon.

1 Like

Persistent undo/redo would be a fairly unique feature. Personally, I’ve never used a program with that kind of functionality. I would say, if it doesn’t require a total rewrite, go for it. It could help in situations where for some reason you close down your program quickly, or even worse, in the event of a program crash.

PS - Import scene worked perfectly. I probably wouldn’t use it too much, cause the bubbles are spaced out way too far by default.