[Tool] Tinker - Visual Code Editor


(updated link to include example project)

Screenshots:

I whipped up this visual code editor in GameMaker-Studio for making choicescript games in about a week.

Basically it provides a simple interface for which you can rapidly prototype a game.
(No programming knowledge needed!)

I would like to see this get popular enough to become an official (and free!) tool on the ChoiceOfGames homepage.
But first I would like to gauge user response and suggestions first to make it as good as possible before I pitch it to the devs.

Thank You!

edit: as a user below pointed out, adding a new line (carriage return) to the bubbles does not happen when you press the ā€œenterā€ key. The current alternative method is to simply type a ā€œ#ā€ instead. I will get around to fixing this as soon as possible.

6 Likes

Could u modify it so it could run used on an iPhone as well? Thank u

This is really interesting! Iā€™m playing around with it now, and Iā€™ll let you know how it goes. (:

I am always excited to see new tools for Choicescript. I have tried the tool and find it is simple, I use the tool created by @CJW
https://dl.dropboxusercontent.com/u/7840892/CJW/choicescript/tools/IDE/main.html
He is also slaving away at making a expansive desktop version. I would never would want to discourage any tool building but we have some high bars here lol. I would be happy to beta test anything you create in hopes to only help development for tools for us CS writers.

I had no idea either of those programs existed. Itā€™s a shame I couldnā€™t seem to import my current game to them. Would have been nice to see how an existing choicescript game was handled. Iā€™ll take another peek when I get to the next one.

@Pyromanci You can (or rather, will be able to) import games to the desktop IDE - but I agree that it would also be a good idea here.

@BenSeawalker Any chance of a Mac version?

EDIT: Just had a quick play, so here are some thoughts:

  • I like the general idea, and think it will appeal to a lot of people.
  • The whole thing still looks and feels very raw - itā€™s a great start, but keep refining it
  • Not a fan of the over-reliance on right-clicking, I think some nice buttons and/or menus, particuarly for variable creation would work a lot better
  • Iā€™ve concerns about how ā€˜busyā€™ a typical projectā€™s screen will get with all those big bubbles and criss-crossing lines
  • You canā€™t press enter (insert a carriage return) in the bubble text boxes
  • The whole format works really nicely as a visual map for *if conditions (it really helps to visualize the flow/paths of the game)

Huh. Iā€™ve been trying to post the actual screenshots for you, but seems I canā€™t either ā€“ they show up in my draft but not the post.

Thanks for the feedback everybody!

@Lordirish Thanks for the link, that is indeed a very good tool. Significantly better than notepad++ which I was originally using.

@Pyromanci One of my goals is to have the ability to import existing .txt scene files, however due to the complexity of anticipating the coding habits of other developers, I put that feature on hold in lieu of more (immediately) important features.

@CJW Your post is most informative and appreciated. I am, in fact aware of all the problems you have suggested. Yes, my original goal was to create a simple interface to help me visualize the paths of a game, not necessarily create one. But adding the functionality to export code that works was not overly difficult to implement. It doesnā€™t necessarily look pretty, but the code does indeed work without any errors that I have encountered. (:

  • Yes, it is very raw, actually I would consider it in Alpha stages still. Like I said, I came up with the idea and worked on it in my (very little) free time over the course of a week. My goal for posting it now was to garner some feedback before I dive back into development after Finals week at college.

  • The right click menuā€™s are very temporary. I intend to add a slide out sidebar menu with a ā€œdrag and dropā€ interface. As well as refining all of the interface as much as possible. I donā€™t like how the ā€œvariablesā€ scene looks at all. Any suggestions on that end are appreciated.

  • I donā€™t see a practical way around the ā€œbusynessā€ aspect you mentioned. However, the main text bubbles can be resized to be significantly smaller, as well as the ability to zoom in and out, and changing the colors of certain ā€œroutesā€ of bubbles should make it fairly easy to navigate your projects.

  • The carriage return is a minor annoyance that I am aware of. For now, you can simply type a # symbol to add new lines.

  • As for a Mac version, I think that would be awesome, as well as Linux/iOS/Android and even an in-browser version. However these will cost me quite a pretty penny in licensing fees which is an asset I donā€™t currently have. (Starving college student and all that)
    However! When I eventually deem the project to be in ā€œBETAā€ I will make the source code available to whoever wants to export the project for said devices. At the same time I will modify it myself to work with touchscreen controls so that it will be simple for iOS and Android export.

As of right now, I am swamped with studying for finals. But I will have a couple of weeks free time at the end of the month before I start my full-time job when I can dedicate some time to making this project slightly less embarrassing. After which I will have weekends to divvy up my time between my other projects and responsibilities I have taken on. Rest assured though, that development will continue. It just might be more sporadic than I would like.

The more tools, the merrier, as the toolbox said to the nut!

Or, uh, somethingā€¦ :blush:

Oh and how do I upload a game from Choicescript IDE? Iā€™m using an iPad mini

I wanted to try this out, but unfortunately, when I attempt to run the program, it crashes and throws me a ā€œtinker.exe is not a valid win32 applicationā€ error. I attempted to re-download, but had the same result.

On a side note, I also work with GMStudio a lot. A pleasant surprise to see a ChoiceScript tool created in it!

@stainedofmind That is rather oddā€¦ Do you have access to another pc to try it on? Sounds like you might have some corrupted windows files. Particularly ā€œRundll32ā€, I had the same thing crop up on my win7 laptop, the only fix was to reinstall windowsā€¦
Havenā€™t had any problems with Win8 though. (:

Probably a stupid question, but did you extract it from the zip file first?

Otherwise, try this link to an installer version.

This is awesome! Iā€™ve been making some pretty complex scenes in it. You should add the ability to convert normal files to tinker files.

@BenSeawalker I havenā€™t had problems with any other Studio program as of yet, but Iā€™ll try the installer version. And yes, I did extract it from the zip first. I even broke into the .exe and extracted the core files and tried to run it that way, but still no go.

Edit: Tried the installer, but it too crashes, though in a completely different manner. Odd. Unfortunately, I donā€™t have another PC to run it on, so Iā€™ll likely just have to appreciate your efforts from a distance. For the record, Iā€™m running WinXP SP 3.

Thatā€™s most likely the cause of your problem, that OS is 13 years old already.

@Ayzkalyn Great! I started on a way to import existing projects, but it had quite a few bugs so I removed it from this release. Iā€™ll get started on it again in about a week. (:

@stainedofmind Agreed, Iā€™m building on a Windows 8 64bit machine, I imagine itā€™s just not compatible with XP. PM me and Iā€™ll send an email with the source code. It looks like spaghetti at the moment, so thatā€™s why I havenā€™t released it for everybody yet.

On a side note, Iā€™m going to work on a way to make the Text Bubbles more interactive, like making it so you can add ā€œifā€ statements to the Choices so only certain ones show up (or can be grayed out). As well as the ability to have ā€œifā€'s so that the text can change as well.

Definitely agreed about the XP situation, but alas, I am stuck with it for the moment as my aging netbook needs a replacement that I canā€™t afford at the moment.

@BenSeawalker Sent you a PM.

Hey all, quick update.


(also in the main post)

I changed the functionality of Bubbles to where dragging the ā€œline_breakā€ (purple ā€œOā€ button) to another object doesnā€™t add a *line_break to the choicescript code anymore. This allows for dynamic text as seen in the simple demo project I included. I also added a Condition dialog box to ā€œChoicesā€ so that you can have certain choices grayed out based on variable status.

I also fixed the problem where hitting the Enter key didnā€™t add a new line.

Now, Iā€™ve got some other news. College Finals end for me next Wednesday. I have decided based on the feedback and my own intuition to simply scratch this project and start over. Since I was so hasty in the initial development I wrote a ridiculous amount of spaghetti code that I am not proud of. And I believe that simply starting fresh would be a much swifter solution than trying to fix the existing project.

Take this as good news! Iā€™m redesigning the interface to be more like Unity3D with a side menu for the properties of each object in the scene. The connection lines between each object will look significantly better and objects will have improved inputs and outputs. I am also redesigning the save feature to be significantly more compressed and secure. This means that existing Tinker projects will have to be imported, but I will still support them. Also, as promised above, I think I may have found a solution to importing existing choicescript projects.

I hate it when devs make promises that they donā€™t keep, but here I am potentially doing the same thing. XD

Regardless, Merry Christmas, everybody! Stay safe on your travels and a Happy New Year!

For anybody whoā€™s still watching this post, Iā€™m just letting you know that Iā€™m not dead. XD

My job started much sooner than I expected, so Iā€™ve been quite busy between that and life in general.

GOOD NEWS: Iā€™ve made significant headway on the new version of Tinker, that I have dubbed ā€œChroniclerā€ give me a couple more days to iron things out and Iā€™ll release it with the source code from day one. The interface is much improved, hereā€™s a hint: No more annoying popup boxes! : D (but you can ignore the Unity3D promise above ^)

As of right now, Iā€™ve decided not to support existing Tinker Projects. But Iā€™ll change my mind if even one person requests it. Importing already existing ChoiceScript projects is another beast altogether, but I am working on it.

Iā€™ll create a new topic for Chronicler and post a link here probably on Monday since weekends are crazy busy at work.

Thanks for the feedback and support everybody! I donā€™t think I would have continued had it not been for that, so thank you. (:
Have a great weekend!

2 Likes