[Tool] ChoiceScript Development Environment

@Vendetta
Sounds like a perfectly reasonable suggestion to me!
Something I should throw in ASAP or implement into the major update?

@CJW Great, thanks. If it’s easy enough to throw into the live version, that would be good, but if it’s a substantial thing then that time may be better invested in the next update? Whatever you think best, really. :slight_smile:

@CJW Not to get all gushy, but can I just mention that you’re awesome! You’re putting a lot of time and effort into a tool that for many of us has quickly become a vital part of our workflow, all without any kind of compensation other than our gratitude.

@Vendetta
Just added something to the live version.
I may or may not decide to implement it a little differently in the update though.
Thanks for the suggestion, I can’t believe something so simple (yet necessary) slipped my mind!

I’ve also removed the bug report.

@fantom
Thank you, I appreciate it, and the gratitude is more than enough, I assure you.
But I’d be lying if I admitted to not getting anything out of it, I can use it myself after all! ^^

But really, I’m also learning a lot, not just about coding but also more obscure things like project (and version) management, user needs, prioritization and however many more useful know-hows. So that’s all beneficial.

It’s also good for the portfolio :slight_smile:

@CJW I’d like to make another request, though this one is more cosmetic than anything. I’ve found that the arrow that slides the right panel over can sometimes get in the way, what with it hovering over the text area, if I happen to want to select the text in that particular area. Would it be possible to replace it with maybe a bar that runs next to the scroll bar?

@fantom
Sure, I can change it, I’m not quite able to envision what you’re suggesting though.
Could you link me to an example or draw a diagram or something? xD

@CJW It’s rough, but something like this https://dl.dropboxusercontent.com/u/2587272/Capture_2.jpg

@fantom
Perfect, thanks - I’ll look into it!

Hi @CJW, I just wanted to stop by and say how awesome this IDE is.

I was wondering, are any of your save systems going to be implemented into the IDE? I use the save system a lot at the moment for testing purposes.

If not the full save system even a back option would be great. I can then change variables as needed to test various choices.

@Zesty

Hey man, thanks for the kind words. It’s always good to hear people are finding this useful, particularly whilst I’m on working on the major update!

As it happens the smPlugin.js save mod should already be included in the IDE, the commands won’t be highlighted as they’re not official (and I don’t want people thinking they are), but it should allow you to use them as you would in any normal game without any problem.

A back option however isn’t something either myself or CoG really want to entertain at this moment in time.

@CJW I am working on something and was wondering is this me or is this a bug. Below is the problem code. Or I should say should be the problem code. This is all part of a choice. Yet after ‘because they are big babbies.’ IDE is saying indent not allowed. I had to remove all the indents for the rest of the code for this choice to work properly. To me this does not make rime or reason. Thanks


 *selectable_if (m_name) #I want to look inside the mailbox.
  There is a leaflet
  *page_break Read the leaflet
  Taken.
  *line_break
  *line_break
  Welcome to Dork (originally inspired by Zork)!
  *line_break
  *line_break
  Dork is a game of adventure, danger, and low cunning. In it
you would be exploreing some of the most amazing territory ever seen by mortal man if I had written them. Hardened adventurers have run screaming from the terrors contained within, because they are big babbies.
*line_break
*line_break
In Dork, the intrepid explorer delves into the forgotten secrets of a lost labyrinth yat yat yat... you wont find that here
*line_break
*line_break
No DECsystem should be without one! I bet you have to google what a DECsystem is.
*line_break
*line_break
Dork was created as a joke to help you learn cs.
*line_break
*line_break
The current version was writen in cs
*line_break
*line_break
This version is IDE supported
*line_break
*line_break
Have fun.
*goto small_caps_are_best

Can you please post the entire choice?
EDIT: That piece of the code works just fine for me:
https://dl.dropboxusercontent.com/u/7840892/CJW/choicescript/tools/IDE/main.html?url=https://dl.dropboxusercontent.com/u/7840892/CJW/choicescript/dump/ide-examples/big_babbies.txt&autorun=true

It does work for me as well but trying to understand why it works with out the rest of the code being indented. I can post the whole code later today if you need. Thanks.

Whilst that does seem strange, keep in mind that the IDE runs the code through an unmodified version of choicescript, the only difference is where it gets the code from, i.e. the editor to the left, not directly from a text file.

So it’s *more* likely that the error is caused by your code or the CS interpreter itself, rather than the IDE.

Then will down load the lasest cs and see if my code is casing this odd behavior, will let you know what I find out. Thanks

@lordirishdas
Am I to assume you found the source of the problem then? :stuck_out_tongue:

Sorry @CJW been under the weather will be trying later tonight.

@CJW It still strikes me as odd but it works fine in cs as well. Makes no sense lol, still guess I’ll just roll with it. :slight_smile:

@lordirishdas
So it works fine in CS but not in the IDE?
If this is the case please can you either A. send me the code, or B. give me a public Dropbox link to a text file containing the code - So I can get this fixed.

@CJW Sorry if I am not clear it works in both when I should be getting an error. There is nothing wrong with the IDE. It is just odd that it works when I should have to indent.