mirror of
https://github.com/MapMakersAndProgrammers/TankiOnline2.0DemoClient.git
synced 2025-10-25 09:29:06 -07:00
Setup air packaging in project
This commit is contained in:
9
.gitignore
vendored
9
.gitignore
vendored
@@ -1,3 +1,10 @@
|
||||
bin/
|
||||
.vscode/
|
||||
.DS_Store
|
||||
.DS_Store
|
||||
resources/
|
||||
|
||||
# Certificates and keys
|
||||
*.p12
|
||||
*.pfx
|
||||
*.pem
|
||||
*.crt
|
||||
@@ -44,3 +44,5 @@ If you want the original or older versions made by AlternativaPlatform they can
|
||||
This repository uses the vscode [as3mxml](https://github.com/BowlerHatLLC/vscode-as3mxml) extension with the [Adobe AIR SDK](https://airsdk.harman.com/download) 51 from HARMAN, however the project should be able to build and run with any sdk that can target atleast flashplayer 11.
|
||||
|
||||
To build just run one of the actionscript build tasks from vscode, such as `compile release` or `compile debug`, which will output the game into the `bin/` folder. To run your built client you will need to download the game `data/` folder and `cfg.dxt1.xml` file from the latest Arena or Crash demos (v3) and place them next to `tanki2.swf`, you can find these files [here](https://github.com/MapMakersAndProgrammers/alternativa-demos/tree/master/alternativa/Tanki2.0).
|
||||
|
||||
To package the application you'll need a certificate file (project assumes `./certificate.p12`) and game resources (project assume `data/`, `cfg.dxt1.xml` in `./resources`).
|
||||
|
||||
@@ -18,10 +18,10 @@
|
||||
<id>TanksTestingTool</id>
|
||||
|
||||
<!-- Used as the filename for the application. Required. -->
|
||||
<filename>tanki2</filename>
|
||||
<filename>Tanki Online 2.0</filename>
|
||||
|
||||
<!-- Determines the architecture of the Windows captive app (non-Flash Builder workflows only)-->
|
||||
<!-- <architecture></architecture> -->
|
||||
<architecture>64</architecture>
|
||||
|
||||
<!-- The name that is displayed in the AIR application installer.
|
||||
May have multiple values for each language. See samples or xsd schema file. Optional. -->
|
||||
@@ -31,7 +31,7 @@
|
||||
Values can also be 1-part or 2-part. It is not necessary to have a 3-part value.
|
||||
An updated version of application must have a versionNumber value higher than the previous version. Required for namespace >= 2.5 .
|
||||
For iOS Apps, this represents build number. -->
|
||||
<versionNumber>1.0.0</versionNumber>
|
||||
<versionNumber>3</versionNumber>
|
||||
|
||||
<!-- A string value (such as "v1", "2.5", or "Alpha 1") that represents the version of the application, as it should be shown to users.
|
||||
For iOS Apps, this represents application version number and format should be (<0-999>.<0-999>.<0-999>).
|
||||
@@ -67,7 +67,7 @@
|
||||
<content>bin/tanki2.swf</content>
|
||||
|
||||
<!-- The title of the main window. Optional. -->
|
||||
<!-- <title></title> -->
|
||||
<title>Tanki Online 2.0</title>
|
||||
|
||||
<!-- The type of system chrome to use (either "standard" or "none"). Optional. Default standard. -->
|
||||
<!-- <systemChrome></systemChrome> -->
|
||||
|
||||
@@ -9,10 +9,31 @@
|
||||
"default-frame-rate": 100,
|
||||
"default-size": {
|
||||
"width": 1024,
|
||||
"height": 1024
|
||||
"height": 768
|
||||
},
|
||||
"swf-version": 13
|
||||
},
|
||||
"airOptions": {
|
||||
"output": "bin/TanksTestingTool.air",
|
||||
"signingOptions": {
|
||||
"storetype": "pkcs12",
|
||||
"keystore": "certificate.p12"
|
||||
},
|
||||
"windows": {
|
||||
"target": "bundle",
|
||||
"output": "bin/windows"
|
||||
},
|
||||
"files": [
|
||||
{
|
||||
"file": "resources/data",
|
||||
"path": "data"
|
||||
},
|
||||
{
|
||||
"file": "resources/cfg.dxt1.xml",
|
||||
"path": "cfg.dxt1.xml"
|
||||
}
|
||||
]
|
||||
},
|
||||
"mainClass": "TanksTestingTool",
|
||||
"application": "TanksTestingTool-app.xml"
|
||||
}
|
||||
Reference in New Issue
Block a user