Skip to content

Lionheart Remake in the browser - v1.1

Latest

Choose a tag to compare

@ray77 ray77 released this 29 Jul 08:15
· 8 commits to web since this release

Unpack, serve the folder over HTTP, open index.html. Opening the file directly
does not work: the page fetches its assets, and asks for the pack in ranges.

python3 -m http.server 8000

New in this build

Six languages. The assets always carried them; nothing read the setting,
because only the desktop launcher loads the settings file. The language now
follows ?lang=de if given, otherwise the browser, and can be changed in the
game under Options. Available: de, en, es, fr, it, pt.

The options screen fits them. Its labels sat against a fixed value column
130 pixels away, which German Schwierigkeit fills exactly at 141 - label and
value collided. Labels now start at the left of their row and values end at the
right, over row widths taken from where the oval frame actually leaves space.
Checked across all six languages and every value: the tightest pair keeps 30
pixels.

Objects stopped shimmering against the level. The map placed its chunks with
floor and the drawables used Math.round, quantising half a pixel apart, so
the distance between an object and the ground under it alternated by one pixel
twice per scrolled pixel. Both now round the same way.

The mouse lands where it points. The screen kept the source resolution to
itself instead of passing it to the mouse, so the pointer was reported in canvas
pixels: the whole game area was crossed within the first third of the window and
nothing beyond it could be reached.

The cheat menu is shut in a plain run. A right click used to open it in any
game, which made skipping to the last stage a matter of two clicks. It now asks
whether the run was started with cheats.

The loading lines no longer stand above the game for the rest of the
session. Add ?log to see them; errors still show either way.

Address parameters

?lang=de force a language
?log show the loading progress
?trainer=true#level=7 start in a stage, cheat menu on right click, no damage

Sources

Lionheart Remake is by Byron 3D Games Studio, on LionEngine by B3DGS. This is
their work, compiled for the browser with TeaVM; the music
plays through sc68 compiled to
WebAssembly.