-
Notifications
You must be signed in to change notification settings - Fork 6
Yaml file
Basic information about the game.
name: Your Game
description: A short one-line description.
Information about the game developer.
developer:
name: Your Company Name
url: http://yourwebsite.com
The game's unique identifier. For app-builds (android,ios) this ID is also the app bundle identifier. For Android build this will also be part of the url in the Google PlayStore.
id: com.yourdomain.yourgame
The game's version string.
version: 1.0.0
The main class name.
main: urgame.Main
The platform to use when invoking flambe run
or flambe build
with no arguments.
Options: html, flash, android, ios, firefox
default_platform: html
The initial orientation and fullscreen state on mobile devices.
orientation: portrait
fullscreen: true
Options: portrait/landscape Additional flags to pass to the Haxe compiler.
haxe_flags: -lib nape -D foobar
More on flags on Conditional compilation
Additional paths to include in the build. You can use an array-like style (see web) or space-separated style (see src) in yaml
extra_paths:
assets: dir1 dir2
libs: dir1 dir2
src: ../dir1 ../dir2
web: ["dir1 with spaces", "dir2"]
Android-specific configuration. This is piece of XML is added to the Adobe Air descriptor file.
android:
# https://developer.android.com/guide/topics/manifest/manifest-intro.html
AndroidManifest.xml: |
<manifest android:installLocation="auto">
<uses-permission android:name="android.permission.INTERNET" />
</manifest>
This is piece of XML is added to the Adobe AIR descriptor file.
iOS-specific configuration. This is piece of XML is added to the Adobe Air descriptor file.
ios:
# http://developer.apple.com/library/ios/#documentation/general/Reference/InfoPlistKeyReference
Info.plist: |
<key>UIDeviceFamily</key>
<array>
<string>1</string>
<string>2</string>
</array>
<key>UIPrerenderedIcon</key>
<true/>
This is piece of XML is added to the Adobe AIR descriptor file.
Firefox App-specific configuration. This is piece of JSON is added to the Firefox OS manifest file.
firefox:
# https://developer.mozilla.org/en-US/docs/Web/Apps/Manifest
manifest.webapp:
{
default_locale: "en",
# type: "privileged",
# permissions: [...]
}
Documentation guide for Flambe - Targeted to version 4.0+
Flambe | Installation | Demo projects | Showcase | API Reference | Forum
Flambe is MIT licensed and available for free. Feel free to contribute!
- Home / Installation
- Entity / Components
- Core
- Assets
- Publish your game
- Other
- Editors
- Plugins, tools, extensions
- Help
- More Flambe