Either run command:
apm install atom-tic80
All commands can be ran via Command Palette. If you open it by pressing
Ctrl+Shift+P and type
tic80, you will see all the available commands.
Tic80: Run command simply runs TIC-80. Although, it's not that simple because Atom needs to know how to run it.
Try out the command: if it fails, go to the package settings and set proper path to your TIC-80 executable file.
Tic80: Run File you can make your games right in Atom! Write some code, save it as .lua (or .js or whatever TIC-80 supports) and press
Ctrl+R (the command has a handy keybinding!).
The same command can also run .tic files. However, it's not recommended to edit them using Atom (or any other external text editor) because chances are this action will corrupt the files.
Sprites, tiles, music and other game assets, should be stored in a separate file with .tic extension that should be named the same way and moved into the same directory as your code file (e.g.
However, it's possible to have everything in one file (read).
As an additional feature, with
Tic80: Create Project you can create cart and code files in a preferred folder and start making games straight away!
Tic80: Create Projectcommand
new [language]if you want to use a language different from Lua (e.g.
Since 0.80.0, using TIC's PRO-version, you can save cart files as code files. If you want to keep both code and game assets in a single file, specify extension in step 5 (e.g.
The package can print TIC-80 console output to a terminal within Atom. You can tweak its behavior and properties in the package settings.
The package also includes autocomplete feature for TIC's API and some handy snippets.
Changelog can be found in the CHANGELOG file.
This project is licensed under the terms of MIT license, See the LICENSE file for more info.
Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.