Log In  

I posted this PICO-8 theme + syntax coloring file for Sublime Text 2 if anybody wants! The syntax highlighting supports PICO-8 Lua code including the PICO-8 library functions. The color scheme uses the PICO-8 palette, and gets pretty close to the look of the editor.

Finally, for an extra touch, I included a settings file to use an unofficial TTF Font by RhythmLynx, reduce the font size, disable anti-aliasing, increase line padding, and force indentation to be a single space like in native PICO-8. (Uses a font size of 7.5, but a font size of 3.5 seems to be a 1x scale font, for those who want extremely hi-res views of their code)

You can get it here!

P#19435 2016-03-27 16:56 ( Edited 2016-04-02 20:45)

Heh, nice. My one oddity is that the font is Really Quite Wee compared to your screenshot here, but I don't know if that's a configurational wrinkle or some odd effect of the box in question being a Retina macbook.

P#19440 2016-03-27 20:36 ( Edited 2016-03-28 00:36)

Oh I see! :< That sounds like it's probably because of the Retina display. When I was testing this I used a 1080p screen. Might need to double the font size in that Pico8.sublime-settings file (Preferences >> Settings - More >> Syntax Specific - User) I found for some reason .5 font sizes work out nicer than integer ones for scaling properly. That's why I ended up hardcoding the font size in the first place instead of just allowing the text zoom.

P#19441 2016-03-27 20:56 ( Edited 2016-03-28 01:32)

Cool to see someone using that font file, nice one!

P#19492 2016-03-30 13:31 ( Edited 2016-03-30 17:31)

Hm, not working on linux with unregistered version of sublime 2 :

Error loading colour scheme Packages/Color Scheme - Pico8/pico8.tmTheme: Error parsing plist xml: Failed to open file In file "Packages/Color Scheme - Pico8/pico8.tmTheme"
P#19511 2016-03-31 14:49 ( Edited 2016-03-31 18:49)

@RhythmLynx Thanks for making the font, it's pretty fun to edit code in fullscreen using this! I could also see it being useful for posting PICO-8 code snippets on a personal website, or even doing mockups/drawings. It'd also be cool if the BBS here had that font + syntax color scheme applied to [code] blocks. :D

@moechofe Sorry, that was a mistake :< I had accidentally put a lowercase filename in Pico8.sublime-settings. I've updated the file to use the correct case, so if you redownload that file, or correct the pico8.tmTheme to be Pico8.tmTheme by hand it should be okay now.


P#19548 2016-04-02 16:45 ( Edited 2016-04-02 20:49)

[Please log in to post a comment]

Follow Lexaloffle:          
Generated 2024-03-02 19:10:45 | 0.013s | Q:18