@CJW This is a minor request, but could we also get a word count ticker or something like that?
I kept getting an error about not being able to access startup or something. I can’t remember what it was now. I went back to the old version and was so disappointed that I couldn’t use it. Is there any chance you’ll make the old version workable again? Even if it’s completely unsupported.
@FairyGodfeather Was this error message saying something like: “Write (or paste) some code in the startup scene first!”?
In that event, it’s simply because you’re trying to test code in a different scene / file name when there is nothing in startup itself. To use the IDE just for testing snippets (i.e. no different to the old version) just paste / write your code in the default page it opens on loading, which is startup itself. That works fine for me, anyway.
@fantom I don’t see an immediate reason as to why not, I’ll see to incorporating it into the next release!
@FairyGodFeather What “old” version?
@CJW “old version” = the original ‘Online ChoiceScript Tester’, which now just loads the IDE when you stick code in there and hit ‘Then Click Me!’
Error loading Scene ‘startup’ - it may not exist. Only I’d have startup selected as the file being edited. I was pasting code into the default page. It wasn’t happy with that though.
https://dl.dropboxusercontent.com/u/7840892/CJW/choicescript/tools/online-cs-tester-side-by-side/mygame/input.html was the old one I liked using.
My bad, that should force redirect you, not open the IDE in the right panel.
But I don’t see any apparent benefit to running both the IDE and testers?
I can’t get the IDE to work. I can get the tester to. I like the tester lots and have problems adapting to new things even if they look awesome.
I kept getting the same error. It ended up being a coding error on my part.
@FairyGodfeather
I appreciate that, I really do.
But from my standpoint I would really prefer it if people told me when things don’t work as opposed to silently reverting to the thing they’re supposed to replace - if for no other reason than I can’t fix problems I don’t know about!
I like phasing things out as it keeps my Dropbox tidier, bug-fixing, support and updating 100x easier. Even if I make it workable now, I do have to edit all the testers when new versions of choicescript come out, sometimes it’s as simple as overwriting an old file, but sometimes it can be a lot more complicated.
The IDE and the testers use different methods for retrieving their scenes so it’s not quite as easy as fix/upgrade one and it works for the other
I’m not saying “no”, but if it’s at all possible, I’d much prefer to fix your concerns/problems relating to the IDE than keep the testers online - as that would prove much easier (in the long run).
@Fantom Oh? What was the coding error? It wasn’t actually my own code I was checking. I was trying to find the bug in someone else’s.
I found the old tester was fantastic for doing that and I used it to pick up bugs all the time. I could copy and paste a section of code in, run the tester and quickly find out where the error was, then fiddle with things until I got it fixed.
So when the new one just kept complaining about a startup file I started getting frustrated. It was an error I’d never seen before. The startup file was the one I was running things from. I just started getting more and more annoyed.
Hmm @CJW don’t suppose you’d be willing to offer me the files so I can stick it up on my own dropbox and use it myself? I don’t expect it to be supported at all or to change when updates are made to choicescript. I just find it a lot easier. I’m sure I’ll make the jump over eventually.
FWIW, the only time I’ve had the “Error loading Scene ‘blah’ - it may not exist” is when the code I’d pasted in was specifically trying to reference that scene (*goto_scene) and I hadn’t yet actually created that file within the IDE.
I can’t replicate this with startup.txt though, as in that case it just reloads itself.
Perhaps @fantom could elaborate a little on his solution?
I don’t remember what I did other than refreshing, and I haven’t been able to replicate it myself.
@FairyGodfeather Any chance I could have a look at the code causing the problem? If so please send it as an attachment -
vendetta at mazdrak dot com
@FairyGodfeather
I’d have to give it a quick makeover first, it’s aesthetically embarrassing at the moment - I know it doesn’t bother you, but it does me ^^
Other than that, I see no problem with doing that - though I’d definitely ask that you try out the next big update to the IDE, when it comes around
@FairyGodfeather
As requested!
https://dl.dropboxusercontent.com/u/7840892/CJW/choicescript/tools/online-cs-tester-side-by-side/online-cs-tester-side-by-side.zip
Thankyou
@fantom (or anyone else?)
Would a word/character count popup (on click) be ok, or would you prefer it to be on a tab somewhere updated in real-time?
The former would be less ‘expensive’, that’s all
@CJW Either works for me.
@CJW I can’t see it being something we need to be constantly kept aware of, so I’d suggest the option less costly in resources.
What would perhaps be worthy of consideration is two separate counts; a total count and a pure narrative count. I appreciate that the latter would be much harder to do so may not be possible in the immediate future, but you may want to bear it in mind while working on the total count.