Dino Duel devlog2 min read
Dino Duel 0.5.0: 45 dinos and a lighter footprint
Fifteen new creatures, tier changes, new collection rewards, and a game that's much easier on your battery.
0.5.0 grows the roster from 30 to 45 creatures, each with its own painting, and adds more rare creatures to the Triassic and Jurassic. Some creatures changed tier along the way: Allosaurus moved up to SSR, Stegosaurus and Cryolophosaurus to SR, and Liliensternus replaced Smok. New collection rewards arrive at 35, 40 and 45 dinos.

Settings can now replay the Professaur's tour, or restart the game from scratch after a confirmation.
Easier on the battery
The biggest change is one you can't see. Dino Duel is a turn-based card game, so nothing on screen needs to move quickly. Yet on my Galaxy A35, which has a 120 Hz display, an idle menu was rendering 105–120 frames a second with the GPU at 62–69% of full power. Godot renders as fast as the display allows unless you tell it otherwise, so a phone left on the menu was working hard on glowing card borders and a drifting background that look the same at a much lower frame rate.
This version makes three changes:
- Cap the frame rate. 60 fps while you're touching the screen, which is plenty for a card game.
- Throttle when idle. After eight seconds without a touch, the game drops to 30 fps, and the next touch brings 60 back immediately. Slow animations still look fine at 30.
- Bake what never changes. The menu background was a full-screen procedural shader running every frame. It's now drawn once and reused.
Here's the core of the idle logic, slightly trimmed:
const ACTIVE_FPS := 60
const IDLE_FPS := 30
const IDLE_SECONDS := 8.0
func _input(event: InputEvent) -> void:
if event is InputEventScreenTouch or event is InputEventScreenDrag:
_idle_time = 0.0
if _idle:
_idle = false
Engine.max_fps = ACTIVE_FPS
func _process(delta: float) -> void:
if _idle:
return
_idle_time += delta
if _idle_time >= IDLE_SECONDS:
_idle = true
Engine.max_fps = IDLE_FPSThe screen also stays awake only during battles and hatching. Everywhere else the phone's own sleep timer applies, and the music pauses when the game goes to the background.
Measured on the same phone:
| State | Before | After |
|---|---|---|
| Idle menu | 105–120 fps, GPU 62–69% | 30 fps, GPU ~16% |
| Scrolling | — | GPU ~31% |
| In the background | — | GPU 0% |
A --uncapped dev flag turns all of this off, so I can measure the difference again whenever something changes.
One small lesson from shipping: Google Play already had a build with version code 7, so 0.5.0 went out as code 8. Every upload needs a version code higher than any before it.