Menu

Turning My Game Into an Android Live Wallpaper: Fixing Flutter Impeller’s Black Screen in WallpaperService
📰

Turning My Game Into an Android Live Wallpaper: Fixing Flutter Impeller’s Black Screen in WallpaperService

DEV Community: android·Evgenii Zinner·about 20 hours ago
#4HmEvl1C
#devtoandroid#devto#dev#android#wallpaper
Reading 0:00
15s threshold

A few days ago, I saw an idle game that ran directly as an Android live wallpaper, and it immediately clicked: that format would be a great fit for Crystal Cinders , the simulation game I’m currently building on top of Sting (my custom dart:ui 2D ECS engine).

Instead of forcing a player to open an app just to check on a slow-burning world simulation, the world is just there behind your icons every time you unlock your phone, shifting with your home screen and ticking along in real time.

Since Sting already compiles to native Android binaries via Flutter’s toolchain and draws directly onto Impeller’s GPU canvas, I figured wiring it up to Android’s WallpaperService would be a quick evening task.

It didn't work on the first attempt.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.