In "Tutorial 4: Make a game in 60 minutes" the GameConstants.cs file has the following values:
//camera constants
public const float CameraHeight = 25000.0f;
public const float PlayfieldSizeX = 16000f;
public const float PlayfieldSizeY = 12500f;
Ok so the CameraHeight is simple, but could someone please explain where the PlayfieldSizeX and PlayfieldSizeY values come from? i.e. how can I calc the Playfield sizes for any given Camera Height.
Ok I could do PlayfieldSizeX = (16000 / 25000) * CameraHeight) but that feels like cheating and I still wouldn't be comfortable as I still wouldn't know where the values came from.
Thanks for your help
Ben