How to write your 2D game in Ruby and run it on LÖVE's own engine.
A letter for studios and developers shipping 2D games. Already decided? Skip to the license.
Dear game developer,
Picking an engine means trusting its owners not to change the deal after you've built on it. In 2023, Unity announced a fee on every install of games made with it, and studios with years of work in Unity learned what that trust had been worth.
LÖVE has kept its deal for as long as it has existed: free, open source, and small enough to understand. LÖVE games are written in Lua, though, so if you'd rather write Ruby, you've had to choose a different engine.
Lota lets you keep LÖVE and write Ruby. It runs LÖVE's own C++ engine with Ruby in place of Lua, so your game behaves the way it would in LÖVE, and LÖVE's tutorials and community answers still apply once you translate the calls. It runs on Windows, macOS, and Linux.
What it costs
Lota is open source under the AGPL. If your game is open source under the AGPL too, Lota is free, forever.
If your game is proprietary, you need a commercial license. There's no free tier for small games, and that's deliberate. Either your game will earn enough that the license is worth it, or it won't, and then it may as well be open source. Whether the AGPL fits the way you plan to ship is a question for your lawyer.
A license covers one game, on every platform Lota runs on, including its updates. You pay once, and the price depends on the game's production budget, the way game middleware is usually sold:
- Under $100,000
- $500 Buy
- $100,000 to $600,000
- $2,000 Buy
- $600,000 to $2 million
- $8,000 Buy
- Over $2 million
- $25,000 Buy
Every license comes with a signed license document your publisher's lawyers can read, a year of support by email from setdef (two years at the top tier), and priority on any bug that blocks your game's release.
If Lota turns out to be wrong for your game, ask for a refund within 30 days, and setdef will return all of it. The license ends with the refund.
Games licensed in Lota's first year are featured in Lota's README and in Lota's release announcements.
Who this isn't for
If you're building a 3D game, use another engine. LÖVE, and so Lota, is for 2D.
If you need to ship on phones or consoles, Lota can't take you there.
If you'd rather work in a visual editor than in code, Godot is excellent. Lota, like LÖVE, is code first.
Questions you might have
- Is Ruby fast enough for a game?
- For the parts that have to be fast, Ruby isn't doing the work. LÖVE's C++ engine draws, plays sound, and runs physics, and Ruby runs your game's logic, the same split LÖVE has always had with Lua.
- How close is it to LÖVE?
- Close enough that a LÖVE tutorial still reads true once you apply a handful of rules for translating its calls into Ruby. When something in LÖVE has no Ruby meaning, Lota's documentation says what it does instead.
- What if I start open source and go proprietary later?
- Buy a license before you ship the proprietary version.
What you should know about me
You'd be right to ask whether an engine from a company as small as mine is a safer bet than Unity. Here's what protects you. Lota's source is public, and so is LÖVE's, which has its own maintainers and community. If I stopped working tomorrow, the code your game is built on would still be there, and so would the engine underneath it.
I'm not a game developer by trade. I've spent thirteen years building software for businesses, and I make Ruby tools because I want more people to learn Ruby first. Games are how a lot of people learn to program, and Lota is how I'm making Ruby one of the languages they can learn it in.
How to start
Read Lota's README, then port a small LÖVE example to Ruby and see how it feels. If your game is open source, that's all you need. If it's proprietary, buy a license before you ship, or write to me at kerrick@setdef.com with questions. I'll reply within two business days.
Thanks for reading,
Kerrick Long
setdef
P.S. If your game is open source, Lota is free under the AGPL. If it's proprietary, one license covers it on every platform, with a full refund within 30 days if Lota isn't right for it. Games licensed in Lota's first year are featured in Lota's README. Either way, you're writing Ruby on LÖVE's own engine.
P.P.S. Not ready to start a game? Join the setdef forum to get Lota's release announcements by email.