---
title: "Tenkū Arena, a charged punch and a skill for porting games to LÖVE"
date: 2026-11-24
author: Jonathan Muszkat
canonical: https://me.jonymusky.com/blog/tenku-arena-port-to-love
---

# Tenkū Arena, a charged punch and a skill for porting games to LÖVE

I wanted to charge a punch, walk to the edge of a platform and wait for my opponent to commit. An early build of Tenkū Arena threw the punch as soon as the charge meter filled. That extra second of waiting was the part I wanted to play.

Tenkū Arena started in the browser. It is an isometric platform fighter with 14 anime characters and six arenas. As damage builds up, hits push you farther. Falling costs a stock, but you get a chance to jump back. For my Anbernic RG353V, I ported the simulation to Lua and LÖVE 11.5 and adapted the view to 640 × 480.

The native selection screen shows the ki cost of Goku’s Kamehameha. Height, weight and agility also affect how each fighter plays.

## Ten seconds on one button

I kept the simulation at 60 steps per second. Pressing a button, holding it and releasing it are separate inputs. One test holds punch for 600 steps and checks that the opponent still has zero damage. Only then does it release the button and check the hit. I can run the same test after changing engines or controllers.

The native build running on my Mac. The beam starts at a hand position taken from the sprite.

## What the handheld told me

The exact `.love` file on the card opened on my Mac and passed tests for all 28 attacks. On the handheld, selecting the game returned me to Ports. Moving the first log write ahead of save initialization finally gave me a lead. The launcher reached LÖVE and Linux terminated it with a `Bus error`, exit code 135.

We had already built Rock & Volt Racing for the same handheld. I compared its runtime from the project with the copy on the card. The SD copy of `libmodplug.so.1` was missing 59,888 bytes, including part of a segment Linux had to load. I restored it and verified all five binaries byte for byte. At the time of writing, the repair is verified on the card. A fight on the handheld is the outstanding test.

## What I saved for the next port

I published `$port-to-love`, a Codex skill covering controller input, saves, package verification and RG353V deployment. Two habits from this port made it into the guide: open the exact package from the card, and capture startup errors before the first operation that can fail. Checking the actual launcher menu matters too. Ports had listed a macOS `._Tenku…` metadata file as a second game. [Get the skill and package checker on GitHub](https://github.com/jonymusky/port-to-love-skill).
