Horizon Glide
by izzy88izzy
Hi everyone! I've been working on this for a while and just released v0.18. It's called Horizon Glide - an isometric flight combat game where you fly around shooting enemies, dodging bombs, and collecting power-ups. I posted about the initial alpha release here before and got some great feedback, so I'm excited to share this more polished version.
What's New in v0.18
The new version has mines now as a new weapon (both for you and enemies), completely redone UI, and stable 30 FPS. I spent way too much time optimizing trying to fit all ideas in and now sitting at 8159/8192 tokens with only 33 remaining.
Main changes since v0.14:
Mines system - deploy traps with 🅾️
Bomb evasion event - dodge incoming bombs that predict your movement
Complete UI overhaul with sprite-based HUDs and animated character
Completed audio - every action has sound now
Tutorial that automatically skips when you restart
Fixed death detection (was only working in combat events before)
Stable 30 FPS with optimized tile rendering
Play It
You can play it on itch.io or check the full source code on GitHub.
Cart is also available in the releases folder of the GitHub repo.
Performance Deep Dive
I wrote a devlog that goes into detail about the performance optimization work. The short version: I built two test carts to benchmark different approaches:
cache_test.p8 - Tested 19 different cache management strategies (numeric keys, 2D tables, string keys, inline generation, etc.)
tile_render_test.p8 - Benchmarked different tile rendering approaches
The winning approach uses inline terrain generation with precomputed palette lookups and local variable caching. Got about 30% CPU improvement from these optimizations. Test carts are in the GitHub repo if you want to see the benchmarking process.