Skip to reading
Mobile Game Setup & Testing

Measure a whole room on the slowest supported device

Edition 0.86.4.1 HF1

0.86.4.1 Hotfix 1 edition. Earlier lessons and screenshots retain their original version context; revised references and supplements describe the newer behavior.

Download PDFView PDF page

PERFORMANCE

A game can feel fine while the player stands in a quiet room and stutter the instant an animated character enters. Pick a demanding room and a repeatable route. Walk, open inventory, start dialogue, trigger one effect and leave. Time the first visit and a return visit separately.

Source table from Measure a whole room on the slowest supported device, page 16
ObservationWhat to change for the next comparison
Room is slow all the timeChoose a frame-rate target. A steady 30 fps allows about 33.3 ms per frame; 60 fps allows about 16.7 ms. Lower the 3D rendering resolution in a test copy. A big improvement points toward GPU work. Compare shadows, lights, transparency and full-screen effects individually.
Tap responds lateMeasure the gap between touch, accepted action and visible feedback. If frame time is steady, check for release-based gestures, long-press thresholds, actor approach or UI overlays. A door can acknowledge a tap before the actor reaches it.
Only the first entry hitchesMeasure asset import or load time, shader warm-up and first-time effects. Compare a cold launch with a warm revisit. Avoid introducing a large movie, several textures and a room change in the same frame.
Game closes after several roomsWatch memory while alternating between the same two rooms. A rising baseline after each visit suggests retained assets or nodes. Inspect texture size, actor models and video buffers. Remember that pressure can terminate an app without a normal script exception.

Try a sustained session on battery, at a consistent brightness and with similar background activity. A phone can slow down once warm. Use Godot’s Profiler on a development build, Android Studio or system tracing for Android, and Xcode Instruments on Apple. Compare the release build too; debugging and recording add overhead.

Page 16 of 22Permalink
Go to page