Skip to content

ADFA-6567 | Use the game art for the Fun and Games template and app icons - #146

Open
jimturner-adfa wants to merge 2 commits into
mainfrom
ADFA-6567-fun-and-games-icons
Open

jimturner-adfa wants to merge 2 commits into
mainfrom
ADFA-6567-fun-and-games-icons

Conversation

@jimturner-adfa

@jimturner-adfa jimturner-adfa commented Oct 20, 2026 •

Copy link
Copy Markdown
Contributor

ADFA-6567

Gives the three Fun and Games (jME) templates their own artwork wherever an icon shows. Before this, every template used the same blue square:

  • New Project screen: template/thumb.png, 512×512 RGBA on a transparent background, matching Flutter-Starter-Kit.
  • The generated app's icon: ic_launcher.png. It shows on the home screen, in Recents, and in the "Install this app?" and Play Protect prompts. All four mipmap densities used to be the same 48×48 blue square; they're now the template's art at 48/72/96/144, plus a new mipmap-xxxhdpi at 192.
  • The Play Store listing: a new app/src/main/ic_launcher-playstore.png at 512×512, following Android Studio's Image Asset convention.
Template Source art Processing
demo round, on opaque white corners Circle mask, anti-aliased with a 2 px inset, so no white fringe shows on dark themes
bubblewand square Resized
blockgame transparent circle, 500 px Centred on the 512 canvas, not upscaled

The launcher and Play Store icons are made from the 512 px thumbnail. The same files go into Fun-and-Games-LibGDX through #132 (fabba56, e07b70e), so each game has one icon whichever library it uses.

Commits: 3468c79 adds the thumbnails, f1aff6c the launcher and Play Store icons.

Verification

  • addons check: 0 problems. It ran from tools/addons/src on the system Python, not via uv.
  • Built the .cgt, which downloads the template libraries from Maven Central. It contains all 18 icon files, and each thumb.png matches the commit byte for byte. Note that build-cgt.sh packages only files git tracks, so a new icon must be committed or staged before it ships.
  • On device (Galaxy Tab SM-X238U, CoGo debug build):
    • New Project screen: all six Fun and Games templates (jME and libGDX) show their own art under the right label.
    • New project: one created from the updated bundle has the new ic_launcher.png in all five densities, plus ic_launcher-playstore.png, matching the branch byte for byte.
    • Projects created before the update keep the blue square. A project copies its icons when it's created, so existing projects and installed apps don't change.
  • Not shown on screen: the newly built app's install prompt, home-screen icon and Recents entry. The tablet was in use at the same time, so that run didn't finish. These all read android:icon="@mipmap/ic_launcher", and no template overrides it with an activity icon or setTaskDescription.

Left alone

  • bubblewand/template/icon.png is a 1×1 stub that nothing reads.
  • The bundle's gallery icons, icon_day.png and icon_night.png.

🤖 Generated with Claude Code

jimturner-adfa and others added 2 commits October 20, 2026 13:25
Replaces the placeholder thumb.png in demo, blockgame and bubblewand
(blockgame and bubblewand shared one blue square) with the new artwork:
512x512 RGBA on a transparent background, matching Flutter-Starter-Kit.

- demo: the round art came on opaque white corners; masked to a circle
  with an anti-aliased 2 px inset so no white fringe shows on dark themes.
- bubblewand: square art, resized.
- blockgame: already a transparent 500 px circle, centred on the 512
  canvas rather than upscaled.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Every template shipped the same 48x48 blue square as ic_launcher.png in
all four mipmap densities, so a generated app showed a blue box on the
home screen, in Recents, and in the install and Play Protect prompts.

- ic_launcher.png now uses the template's own art at the right size per
  density: mdpi 48, hdpi 72, xhdpi 96, xxhdpi 144.
- New mipmap-xxxhdpi (192) so high-density screens do not upscale 144.
- New app/src/main/ic_launcher-playstore.png (512x512) for the Play Store
  listing, following Android Studio's Image Asset convention.

Sourced from the 512 px thumb.png, which is already masked to a
transparent background.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@jimturner-adfa jimturner-adfa changed the title ADFA-6567 | Add real thumbnails for the Fun and Games templates ADFA-6567 | Use the game art for the Fun and Games template and app icons Oct 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant