Game Development Reference
In-Depth Information
Now let's consider the asset group called normal . Here the path to the file is
completely enclosed in the brackets and just the name of the file, skiing.dz , is
specified. This will result in the skiing.dz file being written into the application's
installation directory.
There is one final feature of the assets section demonstrated by the example, which
is the ability to include an asset group from within another asset group. This is done
using the include keyword, which is enclosed in angle brackets along with the name
of the asset group to be included.
Looking at the example we can see that both the normal and highres asset groups
include the common asset group.
Creating and using deployment types
We can now look at creating different configurations for different devices. The
deployments sections of the MKB file also allows us to create different deployment
types by specifying a name in square brackets. All settings that are made after this
will only apply to that deployment type. Settings can be applied globally across
all deployment types by specifying them with square brackets before defining a
deployment type.
It is possible to limit a deployment type to a certain set of mobile platforms by
following the name in square brackets with a platform identifier or a comma-
separated list of platforms in quote marks.
A full list of all the platforms supported by Marmalade at the time of this writing is
provided in the following table:
Platform
Notes
android
Specifies the Android operating system.
iphone
Any iOS-based device—iPhone, iPod touch, or iPad.
bada
Targets the Samsung Bada platform.
lgtv
Specifies the LG Smart TV system.
playbook
For targeting the Blackberry Playbook tablet.
symbian9
Builds an application that runs on Symbian 9 S60 or Symbian ^3 devices.
Search WWH ::




Custom Search