0.108.28: Ollie, Star Chase and BumbleHive

Paul, 5 November 2026: the Tots mascot is Ollie. Orb-Man is renamed Star
Chase ("Maze chase starring Ollie"), and OrbitHive becomes BumbleHive
after its bee, on the Arcade cards, in the games and on BumbleHive's title.
Saved bests and recent games carry over.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-11-05 21:25:59 +00:00
co-authored by Claude Opus 5.5
parent 435f70f0cc
commit b48ba8499f
7 changed files with 19 additions and 18 deletions
+2 -2
View File
@@ -9,8 +9,8 @@ android {
applicationId = "tv.orbit.classic"
minSdk = 26
targetSdk = 36
versionCode = 187
versionName = "0.108.27-bumble"
versionCode = 188
versionName = "0.108.28-ollie"
}
buildFeatures { compose = true }
compileOptions { sourceCompatibility = JavaVersion.VERSION_17; targetCompatibility = JavaVersion.VERSION_17 }
@@ -1,4 +1,4 @@
// OrbitHive: a honeycomb flower shooter for TV remotes, game pads, mice and touch.
// BumbleHive (first called OrbitHive): a honeycomb flower shooter for TV remotes, game pads, mice and touch.
// Left/Right aim, OK fires, Down swaps the flower, Up arms a Honeybomb, Back pauses.
(function () {
'use strict';
@@ -838,7 +838,7 @@
ctx.restore();
}
// Bumble, OrbitHive's bee, drawn to the Orbit cast's model sheet (design/arcade/orbit-cast.md): flat colours with one soft
// Bumble, BumbleHive's bee, drawn to the Orbit cast's model sheet (design/arcade/orbit-cast.md): flat colours with one soft
// highlight, no outline, the cast's round white eyes with navy pupils, no mouth. Honey body, two navy stripes, pale wings,
// and antennae tipped with little hexagons from the hive. The same in both skins.
function drawBee(x, y, s, tilt = 0) {
@@ -1004,7 +1004,7 @@
function drawTitle() {
drawSky();
const bob = Math.sin(game.time * 2) * 6;
text('Orbit', W / 2, 150 + bob, 110, '#ffc21a', 'center', 700, '#8a4b00');
text('Bumble', W / 2, 150 + bob, 110, '#ffc21a', 'center', 700, '#8a4b00');
text('Hive', W / 2, 260 + bob, 110, '#ffc21a', 'center', 700, '#8a4b00');
drawBee(900, 210 + Math.sin(game.time * 3) * 10, 2.4, Math.sin(game.time) * 0.1);
for (let i = 0; i < 5; i++) drawFlower(250 + i * 40, 620 + Math.sin(game.time * 2 + i) * 4, i % 5, 1);
@@ -3,7 +3,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<title>OrbitHive</title>
<title>BumbleHive</title>
<style>
@font-face{font-family:Barlow;font-weight:100 900;src:url(barlow-semibold.ttf)}
html,body{margin:0;height:100%;background:#071632;overflow:hidden;touch-action:none;user-select:none}
@@ -38,7 +38,7 @@ import kotlin.math.abs
import kotlin.math.sin
/**
* Orb-Man (Paul, 5 November 2026): a maze chase starring the Tots mascot. Clear every star from Orbit's own maze while four of
* Star Chase (Paul, 5 November 2026; first called Orb-Man): a maze chase starring Ollie, the Tots mascot. Clear every star from Orbit's own maze while four of
* Orbit's sky characters give chase ([OrbCharacter]); a power hexagon makes them take fright, the screen glows, and for a while they can be caught.
* Each cleared maze is a level, a little quicker than the last. The game itself has no screen in it, so it can be tested.
*/
@@ -128,7 +128,7 @@ internal data class OrbGame(
val events = mutableListOf<OrbEvent>()
var g = copy(tick = t, events = emptyList(), powerLeft = (powerLeft - 1).coerceAtLeast(0))
if (g.powerLeft == 0 && powerLeft > 0) g = g.copy(chasers = g.chasers.map { it.copy(scared = false) }, chain = 0)
// Orb-Man: the turn you asked for as soon as there's room for it, otherwise straight on until a wall.
// Ollie: the turn you asked for as soon as there's room for it, otherwise straight on until a wall.
if (t - player.movedAt >= playerEvery) {
val dir = listOf(wanted, player.dir).firstOrNull { open(maze.step(player.pos, it)) }
val moved = if (dir != null) OrbMover(maze.step(player.pos, dir), player.pos, dir, t) else player.copy(from = player.pos, movedAt = t)
@@ -200,7 +200,7 @@ internal data class OrbGame(
private fun chaseTarget(index: Int, c: OrbChaser): OrbPos {
val p = player.pos; val d = player.dir
return when (index) {
// Blaze: straight for Orb-Man.
// Blaze: straight for Ollie.
0 -> p
// Zip: cuts in three squares ahead of him.
1 -> OrbPos(p.x + 3 * d.dx, p.y + 3 * d.dy)
@@ -236,7 +236,7 @@ private val OrbStar = Color(0xFFFFE066)
private val Mascot = Color(0xFFF7A928)
private val Outline = Color(0xFF14213D)
/** The Tots mascot: a smiling orange planet in its ring, looking where it's going. [chomp] opens its smile, 0 to 1. */
/** Ollie, the Tots mascot: a smiling orange planet in its ring, looking where it's going. [chomp] opens its smile, 0 to 1. */
internal fun DrawScope.drawOrbMascot(centre: Offset, r: Float, dir: OrbDir = OrbDir.Right, chomp: Float = 0f) {
// The ring behind, then the planet, then the ring's front.
val ringW = r * 2.7f; val ringH = r * .9f
@@ -256,7 +256,7 @@ internal fun DrawScope.drawOrbMascot(centre: Offset, r: Float, dir: OrbDir = Orb
}
/**
* Orb-Man's cast (Paul, 5 November 2026: "our own mascots, part of the system itself"). Four of Orbit's sky characters, each with
* Ollie's chasers (Paul, 5 November 2026: "our own mascots, part of the system itself"). Four of Orbit's sky characters, each with
* its own look and its own way of giving chase, in the order [OrbGame] hunts with them.
*/
internal enum class OrbCharacter(val title: String, val colour: Color, val line: String) {
@@ -339,7 +339,7 @@ internal fun DrawScope.drawOrbChaser(centre: Offset, r: Float, who: OrbCharacter
}
/**
* Bumble, OrbitHive's bee (Paul, 5 November 2026), to the cast's model sheet: a round honey body with two navy stripes, pale
* Bumble, BumbleHive's bee (Paul, 5 November 2026), to the cast's model sheet: a round honey body with two navy stripes, pale
* wings, antennae tipped with little hexagons, the cast's eyes and no mouth. [flap] beats the wings, -1 to 1. The game's own
* copy is drawBee in assets/orbithive/game.js; the two match.
*/
@@ -495,7 +495,7 @@ internal fun OrbManScreen(best: Int, onBest: (Int) -> Unit, onLeave: () -> Unit)
dir != null
}, horizontalArrangement = Arrangement.spacedBy(20.dp)) {
Column(Modifier.width(170.dp).fillMaxHeight(), verticalArrangement = Arrangement.spacedBy(6.dp)) {
Text("ORB-MAN", color = Honey, fontFamily = Marquee, fontSize = 34.sp)
Text("STAR CHASE", color = Honey, fontFamily = Marquee, fontSize = 30.sp)
Spacer(Modifier.height(10.dp))
Text("SCORE", color = Muted, fontSize = 13.sp, fontWeight = FontWeight.SemiBold, letterSpacing = 2.sp)
Text(game.score.toString(), color = Color.White, fontFamily = Marquee, fontSize = 32.sp)
@@ -66,7 +66,7 @@ internal class HttpsEmbyTransport(internal val deviceId: String = UUID.randomUUI
connection.connectTimeout = 10_000
connection.readTimeout = request.readTimeoutMs ?: if (request.path == "/Sessions/Logout") 5_000 else 15_000
connection.setRequestProperty("Accept", "application/json")
connection.setRequestProperty("X-Emby-Authorization", "Emby Client=\"Orbit TV\", Device=\"Orbit TV\", DeviceId=\"$deviceId\", Version=\"0.108.27\"")
connection.setRequestProperty("X-Emby-Authorization", "Emby Client=\"Orbit TV\", Device=\"Orbit TV\", DeviceId=\"$deviceId\", Version=\"0.108.28\"")
request.token?.let { connection.setRequestProperty("X-Emby-Token", it) }
if (request.method == "POST") {
val bytes = request.body.orEmpty().toByteArray(Charsets.UTF_8)
@@ -258,7 +258,7 @@ private fun SnakeScreen(best: Int, onBest: (Int) -> Unit, onLeave: () -> Unit) {
}
}
/** OrbitHive runs as a small web page from inside the app, with no network, and handles the remote itself. */
/** BumbleHive (once OrbitHive) runs as a small web page from inside the app, with no network, and handles the remote itself. */
@android.annotation.SuppressLint("SetJavaScriptEnabled")
@Composable
private fun OrbitHiveScreen(onLeave: () -> Unit) {
@@ -302,8 +302,9 @@ private fun OrbitHiveScreen(onLeave: () -> Unit) {
}
private enum class ArcadeGame(val title: String, val tagline: String, val blurb: String) {
OrbMan("Orb-Man", "Maze chase with the Tots mascot", "Clear the stars and dodge Blaze, Zip, Drift and Luna."),
Hive("OrbitHive", "Link, match, clear the hive", "Fire flowers into the honeycomb, and clear the hive before it reaches you."),
// Paul, 5 November 2026: the Tots mascot is Ollie, so the game is renamed around the mascot, and OrbitHive becomes BumbleHive after its bee.
OrbMan("Star Chase", "Maze chase starring Ollie", "Help Ollie clear the stars, and dodge Blaze, Zip, Drift and Luna."),
Hive("BumbleHive", "Link, match, clear the hive", "Help Bumble fire flowers into the honeycomb, and clear the hive before it reaches you."),
Snake("Snake", "Grow, turn, beat your best", "Eat, grow, and don't hit the walls or yourself."),
Blocks("Block Drop", "Stack the blocks, keep it tidy", "Turn and drop the falling blocks, and clear full rows before the stack reaches the top."),
Bricks("Brick Break", "Bounce, break, clear the screen", "Keep the ball in play with your paddle and break every brick in the wall."),
@@ -33,7 +33,7 @@ internal class SecureMediaDataSource(private val session: EmbySampleSession) : B
next.instanceFollowRedirects = false
next.connectTimeout = 10_000
next.readTimeout = 20_000
next.setRequestProperty("User-Agent", "OrbitTV/0.108.27")
next.setRequestProperty("User-Agent", "OrbitTV/0.108.28")
next.setRequestProperty("Accept-Encoding", "identity")
session.mediaHeaders(address).forEach { (key, value) -> next.setRequestProperty(key, value) }
if (dataSpec.position != 0L || dataSpec.length != C.LENGTH_UNSET.toLong()) {