Just checked something, only my second scene (after a *goto_scene) has that problem, everything before that point updates normally once I hit play
@Loriela Interesting. I was just about to reply that Iām not experiencing the problem on any of my test projects. Also, this shouldnāt matter, but what OS are you using?
I might actually know what the problem is, and am currently working to fix it. For some reason, disconnected bubbles donāt always get processed by the compiler. If the part that isnāt updating is a section of the scene that isnāt connected all the way up to the start bubble, then that might be the cause.
You say it does work the first time your start Chronicler though? If that is the case then the above mentioned issue is likely not the culprit.
If you donāt mind sharing your work, you can email me the .chronx project file to benseawalker@yahoo.com and I can take a look at it. Otherwise I canāt really offer much more tech support.
I was able to reproduce the issue mentioned by @Loriela and it seems to be due to Qtās builtin webview. My plan is to change it to open your game in your default web browser instead.
Version 0.10.1.3 is up.
I fixed the issue mentioned by @Loriela. Turns out it was simply an issue with the webview being overzealous with itās caching. So, I disabled caching completely and it works. As a potentially positive side-effect, it seems like itās also loading the stats screen correctly now!
I also fixed a bug in the updater wherein it would ask you to update even if files for your OS were not available yet.
Amazing work the past several months since Iāve posted! Looking over the posts, I have a suggestion that relates to the problem as well as something that had bothered me as well.
Chronicler can already create a backup folder, but perhaps instead of a single backup folder, rename it to Chronx Projects and have the files and what is needed to make each launchable on its own instead of overwriting the original Choicescript folder.
This would forestall problems that have or may crop up with people who work on multiple projects.
@Moonie_Leitmotif Thatās a good suggestion. Iāll get on it as soon as this term is over in 3 weeks. Absolutely swamped with other obligations at the moment Iām afraid.
Your nigh immediate answer and reason leave me with no choice but to go
Yaaaaaaaaaaaaaaaay
I trust in you, you have solid stuff and school comes first to be sure. Thank you~!
Hey there!
First of all: GREAT job with the program. Just phenomenal. I love the visual aspect of it and that alone really helps design a proper game.
However, Iām having issues with the choicescript_stats file. You state (at the beginning) to create a scene labeled choicescript_stats, which I did, but it still doesnāt work. So I go into the file and I look at what it shows and I see this:
"
*finish
*stat_chart
text idiocy
text intelligence
"
Yes, line 1 is empty, then *finish starts on line 2.
Iām not super familiar with the CS code yet, but Iām pretty sure the *finish isnāt needed and even when I change the text file itself, it simply reverts back every time.
What gives?
Thanks!
edit
When I say āit doesnāt work,ā I mean that when I click āshow stats,ā it shows nothing other than āreturn to gameā button.
2nd edit
I figured it out!!
I didnāt link the green āstart hereā bubble to the code bubble. Once I linked it, it worked! LOL Dang that was driving me nuts. I seriously spent hours trying to figure out āwtfā.
Not sure why I didnāt think about it sooner. #facepalm
Haha, glad you got it sorted. As soon as I get some free time I plan on rewriting the CS compiler/import. It badly needs work.
As you noticed, any bubble without an output automatically gets a *finish bubble. Also, all scene files get rewritten when you save your project, so any manual changes will be overwritten. Iāve considered various ways to combat this, but canāt think of any really good/foolproof solutions. So for right now any changes must be made inside Chronicler itself.
Ahh, so even though the green startup bubble doesnāt have text, if it has no output, it is granted a *finish? Interesting.
Also - I cannot reproduce this and Iām not entirely sure HOW it happened, but I was going back and forth between the program, browsing the web, and other things on the PC, only to come back to Chronicler and see that every link I had created had vanished.
It only happened once, though, so I donāt have any clue what might have caused it.
Suggestion:
- Allow conditional bubbles to have multiple if statements within it - or - a new bubble-type that can have separate if statements, doesnāt require a false link (because it will simply go to the next statement underneath it), but then is required to be completed with an *else.
I have a scene that I want to use for ALL of my gosubs (for organizational purposes). Currently, I have to create an *if True, then it links to that sub_scene, but if false, then it links to another if statement, which then does the same for the ānextā sub_scene check. Each time I add a new subscene to it, I then have to unlink the ending *else *return, then relink it after the newer *if statement for another sub_scene ā if this makes any sense at all?
If there were a bubble that wasnāt a āchoiceā bubble, but simply required multiple *ifs and ended with an *else, we could simply add a bunch of those ifs, link to those proper bubbles, and be done with it.
Thoughts?
Thanks for the response, btw!
@Necromateur Thatās a good suggestion. I havenāt been happy with the way condition bubbles work. So making them like choice bubbles is a great idea! Iāll add it to my todo list.
Hello, thank you so much for developing Chronicler, it makes coding so much easier and has really motivated me to keep working on my project. I was just wonderingāis there a way to use the *disable_reuse command in a choice bubble, or is that something that will have to be coded in a code bubble? Just thought I would checkāthank you!
@rinari Indeed there is! It appears that I didnāt include it in the automatic code completion, but you should be able to simply type it in the textbox of the relevant choice. The sytax looks like this:
Where you must be sure to include the hashtag character before the choice text. This is something I need to add to the manual as I completely forgot it was a feature. I do apologize.
Iām glad Chronicler has been able to help you! Thereās some big changes planned that Iām excited to announce, but I need need a bit more time to finalize them before sharing.
Ah, thank you! It was the hashtag that I was forgetting, doy! It works like a charm now, thank you so much! Excited to hear about the changes to Chronicler when youāre ready to unveil them, but for now I really do love it the way it is!
Alright folks, Iāve came up with the first mockup design of the Chronicler 2.0 interface!
Obviously colors and shapes need some work, but let me know what other kinds of improvements could be made.
The icons next to the Story, Choice, etc. tools will be their respective icons in the current version (Illustrator just really didnāt like vectorizing them).
For the new design Iām really trying to go for quick navigation, and an interface that resembles how your game will look while you are editing it.
As for additional features that are difficult to present visually or are missing from the mockup:
- There will be links to parent nodes that connect to the current one.
- Choices that arenāt yet connected will have a + icon to allow you to add a new node or link to an existing one.
- Similarly, conditional statements will allow you to embed actions or link to new/existing nodes.
- These icons can be clicked on to open them in the current tab, or shift+click to open in a new tab.
- Easily customizable themes for the interface written in CSS.
- A new CS compiler/interpreter will allow for on-the-fly interpretation of your game. This means that Chronicler will be able to simulate the routes taken to get to the currently selected node, and can provide you with the combinations of variables. (No more manual guessing in the ādebug bubblesā).
- More and better keyboard shortcuts. (F5 to debug and Ctrl+F5 to start the game from the beginning for example)
- Perhaps the most controversial change is that the flowchart view will no longer be editable (or at least not to the extent that it is currently). Instead it will be automatically generated based on the connections in the nodes. You will be able to scroll around and navigate using either the mouse or keyboard, and can quickly zoom in to edit bubbles and zoom back out to see the big picture.
For keyboard navigation, it will be mainly based on the arrow keys. The down arrow will go to the first child, the left and right arrows will cycle through children, the up arrow will go back to the parent node. The Ctrl and Shift keys will be to zoom in and out, and the enter and/or tab keys will enter the highlighted node for editing. While editing a node, the esc key will take you back to the flowchart view.
How will this be accomplished? Well, I havenāt fully made up my mind yet, but Iām leaning heavily towards Electron which is essentially a way to make web apps into native desktop apps. This will give me all the glorious powers of HTML5, CSS, and JavaScript, not to mention all the tools and libraries that come with those technologies. This will greatly speed up UI development which has been the most time consuming thing to do with Qt. Going the Electron route also means that I will no longer have to rely on others for generating the Mac builds, and automatic updating will be a builtin feature.
For the new CS interpreter, https://pegjs.org/ looks like a very promising scanner/parser generator for JavaScript.
Another issue with Qt is that the version of it I am running is now deprecated. Many things have been changed in the latest version, and it would take a significant amount of time to update my existing code to work with these changes. In fact, this issue has caused problems with the Mac version of Chronicler.
Let me know what you think about the new interface. Suggestions and criticism are most welcome!
-BenSeawalker
Iām sorry to be a downer, (and Iām not sure if itās an issue with my computer) but the program seems to be full of bugs.
The label thing on the top of the bubble doesnāt seem to work, so I ended up using code bubbles for all my labels.
Random āgotoā functions appeared, even though there was no link between the two bubbles and I hadnāt added a āgotoā myself, leaving chunks of the story unread. Iāve spent hours trying to figure out how to remove it within the program without heading straight to the code and removing it. Itās incredibly frustrating. (and I still havenāt figured it out.) If I edit the code using notepad++ and then try to import the thing in, the game doesnāt even run.
Is my version outdated or something? Itās 0.10.1.3.
I was really excited about this program. Iām kind of disappointedā¦
@orzazel Youāre not being a downer.
However I canāt provide much support without seeing your project file. I can take a stab at guessing though.
- The labels on top of bubbles are only generated if more than one connection leads into them.
(Iām aware that this causes issues with manual goto statements.) - Iām not certain what could cause the random gotoāsā¦
Essentially the way Chronicler works currently is that it requires you to use the link tool for all connections. I know this can get frustrating when bubbles are particularly far apart. Also, every bubble in the scene must be connected leading all the way back up to the start bubble.
Just remember that Chronicler is still in Alpha state, and I am aware of several bugs. Some of the bugs are not necessarily bugs, but confusing design implementations from the users perspective. Fixing some things breaks othersā¦ Iām only a single person, but Iām working as hard as I can when Iām free from other obligations.
Finally, ChoiceScript is a very obtuse language, and therefore difficult to parse. Hence why complex projects may not import correctly.
Having said all that, Iāve started work on Chronicler 2.0 see this post where I get more into the details. I believe the new interface will take care of all the issues you mentioned as well as being far more user friendly and less buggy. Iām also planning on writing an actual ChoiceScript compiler which will make CS export more reliable and should allow for even the most complex projects to be imported. Expect to hear more news regarding development within a month.
If you donāt mind sharing, go ahead and email your .chronx project file to benseawalker@yahoo.com and I can take a look at it.
I apologize for not being able to do more at the moment.
-BenSeawalker
I would suggest, if you think its ok, to make it inverse, f5 to start the game again and ctrl+f5 debug. You know, for that ārefresh pageā reflex? xD
@Josetrayamar Or perhaps I could add a settings page that lets the user customize all the shortcuts.
Well, you should know what you can and cant do with your skills. I am definitely donating some money once I get paid xD