Quote: "
You can run the app directly without broadcasting by first building it (F4) and then running it (CTRL+F5).
"
If you do TIER 1 development using the included
CodeBlocks IDE, then that will propably work...
However, I do not use the default TIER 1 AppGameKit IDE, nor do I wish to go back to using it just for "compile without broadcast".
Details of the case...
For TIER 1 development, I use a fairly old (and fast), yet very flexible and highly customizable third party editor called
EditPlus.
(See,
http://www.editplus.com/)
So, I execute the compiler from within EditPlus as an external command-line application.
Therefore, I would much prefer to have good documentation on all available TIER 1 compiler parameters - in addition to the parameter that turns off app broadcasting.
The command I execute (as a user-tool from within the editor) to compile and run a TIER 1 project, is:
C:\TGC\AGK\IDE\Compiler\AGKCompiler.exe -run main.agc
This command requires that the initial directory is set to be the same as the source code directory; the user-tool configuration does this for me automatically.
This will first compile, then run (and broadcast) the resulting EXE (and BYC) - which, weirdly enough, is always named after the folder in which it resides, and not after the source code file.
Some extra info about EditPlus ... you may skip this.
Just to mention a few of the EditPlus features, that I find most useful:
- Code Folding
- Syntax Highlighting
- Context Sensitive Help
- Cliptext (auto-completition)
- Integration with Version Control Systems
- Macros (keystroke recording)
- Customizable hotkeys
- Search and Replace across multiple files
- Split Window (for additional views of the current document)
- Column Markers
- Code Markers (Bookmarks)
- Word Highlighting (highlight all instances of selected word)
- Brace Matching / Highlighting
- Function List (list of all functions defined in source)
Some notes about this setup:
Creating the syntax highlighting definition files was easy, as was creating a set of customized autocompletition files. But, getting the context sensitive help to work was really tricky and required major changes to the AppGameKit documentation files. Those changes will have to be reapplied everytime a new version of AppGameKit is installed.
In any case, there are alternatives to the default IDE. And the alternatives often provide a far richer feature set!
Here's a screenshot of what EditPlus looks like with these customizations:
http://www.codefield.com/AGKTalk/AGKTier1_SC0001.png
It's rather old-school; no toolbars visible. Vertical screen-real-estate is more important. Everything you need is behind hotkeys.
Here we have the cliptext window, editor window, function list and documentation open, with word highlighting enabled.
Cheers,
AgentSam - The grumpy old software engineer