Skip to reading
3D Models & Video in GUIs

30. Keep playback and resource use tidy

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

A GUI model viewer renders a real model in its own 3D viewport. A Video element decodes a real stream. Keep the number and size of these live displays sensible for the hardware your players use.

Source table from 30. Keep playback and resource use tidy, page 40
ChoicePractical effect
A few appropriately sized model viewersEasier to test and less demanding than a page full of large animated models.
A model prepared for displayAvoids unnecessary meshes, very large textures and movements that need extreme framing.
A clip sized for its displayA small monitor inside a GUI rarely needs a very large source movie.
Explicit video close cleanupStops unwanted playback instead of assuming hidden means stopped.
Separate saved data and temporary view stateKeeps the game’s meaning independent from the last drag or decoded frame.

Save Project keeps the authored GUI and scripts. A temporary model orbit or current video frame is not automatically the permanent game record. Store meaningful story values, then reconstruct the intended display when opening or loading.

For video resume across a save/load, store the clip’s stable asset ID, a valid time and the intended playback state, then test restoration with that decoder. A stream reload or format change can invalidate an assumption about the current player.

Test the exported game as well as the editor. Use the target computer’s actual renderer, decoder package, display scale and input device before treating the interface as finished.

Page 40 of 45Permalink
Go to page