Codea Runner for macOS

Hey all - if you are at all into agentic coding on macOS and want to iterate on Codea projects (Modern runtime only) you can now download Codea Runner for macOS.

Download here:

It’s a simple app that does the following:

  • Loads and runs Codea projects (no visible terminal output or sidebar - yet)
  • Exposes an Air Code interface and is discoverable by Codea CLI. Agents can read the log output via Air Code
1 Like

Wow @sim this looks amazing! I love the site update as well, “read the… fun…manual” :joy::joy::joy:man that is such a good adaptation of that. That’s some next level marketing there :exploding_head::fire:… how has no one else thought of that?!

Edit: P.s. You really are tempting me into getting an actual Mac now :joy:

1 Like

Updated to version 1.1, which now has auto-updating built-in so you won’t need to manually fetch updates from our site.

Codea Runner 1.1

Improvements

Improvements to stability and performance across the engine

Visible errors

Runtime errors now appear in the runner window. We also have improved error handling in general, with more relevant error messages showing for common API issues

Air Code and the CLI

  • The viewer’s screen size is available over Air Code
  • Live reload and Air Code string loading is improved
  • Improved Air Code reliability

Images

  • image.symbol draws SF Symbols.
  • pick.playground opens Image Playground from Lua and returns the result, including Genmoji.
  • HEIC images load on both runtimes, and EXIF orientation is honoured.
  • Image scale survives conversion to and from a UIImage, and a bug producing blank images in that conversion is fixed.
  • image.type replaces the separate cubeMap and isVolume flags, freeing image.volume() to be called.
  • An image larger than the GPU allows now raises a Lua error instead of aborting, and an unreadable asset warns and returns nil.
  • Image memory is now included in the Lua collector, and is released when the system reports memory pressure.

Text and shapes

  • Each font bakes its glyphs once per session, this prevents an issue where text could corrupt as the engine re-ran continuously
  • The glyph atlas uses all four channels, improving memory efficiency
  • shape() builds a single path from its drawing commands

Stability

  • Gesture handling is safer and more reliable
  • http.request responses arriving after shutdown no longer crash the app
  • The display link stops when the runtime shuts down.
  • Walking a destroyed entity’s hierarchy raises an error instead of hanging Codea
  • A tween callback can create new tweens
  • Changing physics bodies inside onPreSolve or onPostSolve raises a Lua
    error instead of corrupting the simulation.

@sim @jfperusse - just loaded Codea Runner update - runs a few more projects but still crashes on some. Noticed however that a red error bar is now generated in small print - could you open this up in an overlapping window close to the project size window and increase the font size ?

A button to capture that text would be ideal to post to you (unless you already get one from the ap itself).

Also - Codea runner is shown in the bar at the top of the runner window - could you also include the project name there

Finally - just a suggestion for Codea on the Mac (and Codea Runner) - could you include a new field in the menu generated when right clicking on the project icon to show the version details - that would make it easy to access. (That’s the icon on the icon bar}.

Alas only modern, no legacy right?

@UberGoober - are you only running in legacy ? (I mean on the pad !!!).