Community
AGI Programming => AGI Development Tools => Topic started by: natbudin on March 10, 2021, 04:47:10 PM
-
Hello everyone! I'm pleased to announce that agikit version 0.4 is out, and with it there are two major changes:
- agikit is now split into multiple npm packages. For the previous command-line functionality, you probably want to install agikit-cli.
- We now also have a language server for LOGIC scripts and a Visual Studio Code extension built on it.
This means it is now (starting to become) possible to use Visual Studio Code as an IDE for AGI games (in a very very limited way that will hopefully become less limited over time). Here's a screenshot:
(https://nbudin.s3.amazonaws.com/agikit-vscode-0.4.2.png)
Right now, agikit-vscode can:
- Syntax highlight LOGIC scripts
- Check for syntax errors in LOGIC scripts
- Provide hover and "go to definition" inside LOGIC scripts
- Build AGI games
- Run built AGI games in ScummVM
If you'd like to try this out yourself, I've updated Peter Kelly's AGI Contest 2 Template game to work with agikit. You can find the agikit version at https://github.com/nbudin/agikit-project-template (https://github.com/nbudin/agikit-project-template), along with a set of instructions to get it up and running. I'm sure there are plenty of bugs here, and I would definitely appreciate any feedback or bug reports anyone has!
-
Writing AGI games in VSCode.
Wow. That's pretty damn impressive, gotta admit.
-
Well that's just fascinating.
-
Intresting.
-
Thanks everyone! I realized I forgot to link to the source code in the top post here, so if you're interested here it is: https://github.com/nbudin/agikit (https://github.com/nbudin/agikit)
I'll keep this forum posted with further updates as these tools develop! Next is probably some usability improvements to the VSCode tooling, and an attempt to make AGI Studio-compatible LOGIC resources.
-
Might want to put them on the Wiki
-
Good call, thanks Collector! I've submitted an account request on the wiki.
-
Making games in VS Code? That's awesome 😎
-
Added. And here is a stub page for agikit that you can flesh out. http://agiwiki.sierrahelp.com/index.php?title=Agikit
-
Thanks so much! The page is now updated with some basic info; I'll flesh it out more as we go.
Also, I've started working on PIC resource support. Stay tuned!