Skip to content

Expand Battle Tanks arena resolution and improve pickups/projectile visuals - #73

Merged
bashmohandes merged 2 commits into
masterfrom
codex/expand-game-map-and-improve-visuals
Aug 16, 2026
Merged

Expand Battle Tanks arena resolution and improve pickups/projectile visuals#73
bashmohandes merged 2 commits into
masterfrom
codex/expand-game-map-and-improve-visuals

Conversation

@bashmohandes

Copy link
Copy Markdown
Owner

Motivation

  • Make the Battle Tanks arena larger and more suitable for full-screen play so tanks have more travel distance and shots feel meaningful.
  • Increase the visual fidelity and scale of power-up crates and projectile art so pickups and shots read better at higher resolutions.
  • Keep gameplay balance by extending weapon ranges and terrain generation to match the larger world.

Description

  • Increase the logical world resolution by changing WIDTH/HEIGHT to 1440×810 and bumping STATE_VERSION to 2 in battle-tanks/scripts/game.js so the canvas preserves additional travel space for full-screen displays.
  • Scale arena generation and safe areas by updating ARENA_LIMITS, the terrain formula, and spawn-pad footprints (flattenPad) so pads, barrier, and terrain fit the expanded world.
  • Enlarge crates by changing PICKUP_SIZE from 22 to 36 and update battle-tanks/scripts/app.js to render a larger, shaded crate with glow and an icon instead of the simple box.
  • Improve projectile presentation in battle-tanks/scripts/app.js by replacing basic shapes with oriented sprites: exhaust trails, metallic gradients, highlights, and custom shapes for homing and heavy-shell projectiles, and expose PICKUP_SIZE from the core API.
  • Extend weapon coverage to suit the larger arena by increasing homing acquisitionRange and laser ray.maxDistance in battle-tanks/scripts/game.js.
  • Update battle-tanks/index.html canvas attributes to `width=

Codex Task

@bashmohandes
bashmohandes merged commit d4970d3 into master Aug 16, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant