diff --git a/.gitignore b/.gitignore
index 05dd0242d..8d455070c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -28,6 +28,9 @@ out/
**/.idea/tasks.xml
**/.idea/dictionaries
+# Visual Studio Code
+**/.vscode/settings.json
+
# Gradle CI
.gradle/
build/
@@ -45,3 +48,6 @@ FlexUnitCompilerApplication.as
# Release package
starling/bin/starling-*.zip
+
+# ANE dir
+samples/scaffold_mobile/lib/
diff --git a/samples/demo/README.md b/samples/demo/README.md
deleted file mode 100644
index be38dc408..000000000
--- a/samples/demo/README.md
+++ /dev/null
@@ -1 +0,0 @@
-This folder does not contain an actual project, but just the data that needs to be referenced by the "demo_web" and "demo_mobile" projects. To compile the demo, have a look at those folders.
\ No newline at end of file
diff --git a/samples/demo/demo-shared.iml b/samples/demo/demo-shared.iml
deleted file mode 100644
index 3525a9fc5..000000000
--- a/samples/demo/demo-shared.iml
+++ /dev/null
@@ -1,32 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/samples/demo/system/Default-Portrait.png b/samples/demo/system/Default-Portrait.png
deleted file mode 100644
index 37997faba..000000000
Binary files a/samples/demo/system/Default-Portrait.png and /dev/null differ
diff --git a/samples/demo/system/Default.png b/samples/demo/system/Default.png
deleted file mode 100644
index 04b1cea7b..000000000
Binary files a/samples/demo/system/Default.png and /dev/null differ
diff --git a/samples/demo/system/Default@2x.png b/samples/demo/system/Default@2x.png
deleted file mode 100644
index efbcac9f1..000000000
Binary files a/samples/demo/system/Default@2x.png and /dev/null differ
diff --git a/samples/demo/system/README.md b/samples/demo/system/README.md
deleted file mode 100644
index 2004f4d36..000000000
--- a/samples/demo/system/README.md
+++ /dev/null
@@ -1,20 +0,0 @@
-Add this folder as a source path to your project.
-That way, the graphics will be added to the application package - which is needed so that iOS & Android pick them up.
-
-Launch images:
-
- * Default-Portrait.png -> iPad
- * Default.png -> iPhone
- * Default.png -> iPhone Retina
-
-Icons:
-
- * icon57.png -> iPhone
- * icon72.png -> iPad
- * icon114.png -> iPhone Retina
- * icon144.png -> iPad Retina
-
-AIR Startup images: (displayed when AIR is ready, but Starling is still loading)
-
- * startup.jpg -> iPhone
- * startupHD.jpg -> iPhone Retina, iPad
diff --git a/samples/demo/system/icon114.png b/samples/demo/system/icon114.png
deleted file mode 100644
index 70057b667..000000000
Binary files a/samples/demo/system/icon114.png and /dev/null differ
diff --git a/samples/demo/system/icon144.png b/samples/demo/system/icon144.png
deleted file mode 100644
index 9e8d0686f..000000000
Binary files a/samples/demo/system/icon144.png and /dev/null differ
diff --git a/samples/demo/system/icon57.png b/samples/demo/system/icon57.png
deleted file mode 100644
index 4d0b161f1..000000000
Binary files a/samples/demo/system/icon57.png and /dev/null differ
diff --git a/samples/demo/system/icon72.png b/samples/demo/system/icon72.png
deleted file mode 100644
index ba4f6ff0c..000000000
Binary files a/samples/demo/system/icon72.png and /dev/null differ
diff --git a/samples/demo_mobile/.vscode/launch.json b/samples/demo_mobile/.vscode/launch.json
new file mode 100644
index 000000000..8acd4fc0a
--- /dev/null
+++ b/samples/demo_mobile/.vscode/launch.json
@@ -0,0 +1,41 @@
+{
+ // Use IntelliSense to learn about possible attributes.
+ // Hover to view descriptions of existing attributes.
+ // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
+ "version": "0.2.0",
+ "configurations": [
+ {
+ "name": "Debug (Android device)",
+ "type": "swf",
+ "request": "attach",
+ "platform": "android",
+ "connect": true,
+ "preLaunchTask": "Adobe AIR: package Android debug - asconfig.json"
+ },
+ {
+ "name": "Debug (iOS device)",
+ "type": "swf",
+ "request": "attach",
+ "platform": "ios",
+ "connect": true,
+ "preLaunchTask": "Adobe AIR: package iOS debug - asconfig.json"
+ },
+ {
+ "name": "Debug (AIR Simulator)",
+ "type": "swf",
+ "request": "launch",
+ "profile": "mobileDevice",
+ "screensize": "640x960:640x960", // iPhone 4S, a modern classic! ;)
+ "screenDPI": 326,
+ "versionPlatform": "IOS",
+ "preLaunchTask": "ActionScript: compile debug - asconfig.json"
+ },
+ {
+ "name": "Debug (iOS Simulator)",
+ "type": "swf",
+ "request": "attach",
+ "platform": "ios_simulator",
+ "preLaunchTask": "Adobe AIR: package iOS simulator debug - asconfig.json"
+ }
+ ]
+}
\ No newline at end of file
diff --git a/samples/demo_mobile/README.md b/samples/demo_mobile/README.md
index ec2f5d4e2..d9db64180 100644
--- a/samples/demo_mobile/README.md
+++ b/samples/demo_mobile/README.md
@@ -1,20 +1,18 @@
-How to build this Sample
-========================
+About this Demo
+===============
-The mobile demo shows some of the features of Starling. It runs on both iOS and Android devices.
+The mobile demo showcases some of the features of Starling. It runs on both iOS and Android devices.
-This folder contains just the Startup-code and AIR settings. The rest of the code, as well as the assets, are found in the "demo" folder, and needs to be referenced in your project.
+## Building the project
-If you are working with Flash Builder, you can import the project using "File - Import Flash Builder Project". However, the project requires you to set up an Eclipse workspace path pointing to Starling. To do that, enter "Preferences - General - Workspace - Linked Resources" and add a new path variable called STARLING_FRAMEWORK that points to the root of the Starling-Framework directory.
+Users of "IntelliJ IDEA" can open the project that's stored in `starling/build/idea`.
+It has everything set up.
-If you are using another IDE, it might unfortunately be a little more complicated. You have to create a project that is based in this folder and add the following source paths to your project:
+Users of "Visual Studio Code" can run this demo like this:
- * '../demo/src' -> the actual code of the demo
- * '../demo/media' -> the assets of the demo
- * '../demo/system' -> the system graphics (icons, launch images) of the demo
+1. Install the "ActionScript & MXML" extension from Josh Tynjala and point it to the latest AIR SDK.
+2. Open the project folder in Visual Studio Code.
+3. (Optional) To run on an actual device, adapt the "signingOptions" in `asconfig.json` so that they point to your local development keys from Apple and Google.
+4. Enter the "Run and Debug" menu in the sidebar and start of one of the available configurations.
-Starling itself can either be linked via a source path, or by referencing its swc file.
-
-If your IDE doesn't allow adding source paths outside the project root, I recommend you create a new folder where you manually merge the "demo" and "demo_web" folders together. Then add just the "media" and "system" folders to your source paths (that's required so that their contents is added to the compiled application package).
-
-**Note:** You need at least AIR 3.2 to deploy AIR applications on a mobile device. Furthermore, you need the development certificates and profiles (provided by Apple or Google).
+All others, please refer to the documentation of their respective IDE.
diff --git a/samples/demo_mobile/asconfig.json b/samples/demo_mobile/asconfig.json
new file mode 100644
index 000000000..6e827b861
--- /dev/null
+++ b/samples/demo_mobile/asconfig.json
@@ -0,0 +1,52 @@
+{
+ "config": "airmobile",
+ "compilerOptions": {
+ "output": "out/demo.swf",
+ "source-path": [
+ "src",
+ "../../starling/src"
+ ]
+ },
+ "mainClass": "Demo",
+ "application": "src/Demo-app.xml",
+ "airOptions": {
+ "android": {
+ "output": "out/demo.apk",
+ "listen": true,
+ "signingOptions": {
+ "storetype": "JKS",
+ "keystore": "../../../library/android/dev-key.keystore"
+ },
+ "resdir": "system/res"
+ },
+ "ios": {
+ "output": "out/demo.ipa",
+ "listen": true,
+ "signingOptions": {
+ "storetype": "pkcs12",
+ "keystore": "../../../library/ios/daniel_dev_certificate.p12",
+ "provisioning-profile": "../../../library/ios/ios_dev_profile.mobileprovision"
+ }
+ },
+ "ios_simulator": {
+ "output": "out/demo-simulator.ipa",
+ "platformsdk": "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk",
+ "target": "ipa-debug-interpreter-simulator",
+ "signingOptions": {
+ "storetype": "pkcs12",
+ "keystore": "../../../library/ios/daniel_dev_certificate.p12",
+ "provisioning-profile": "../../../library/ios/ios_dev_profile.mobileprovision"
+ }
+ },
+ "files": [
+ {
+ "file": "assets",
+ "path": "assets"
+ },
+ {
+ "file": "system",
+ "path": ""
+ }
+ ]
+ }
+}
\ No newline at end of file
diff --git a/samples/demo/assets/audio/wing_flap.mp3 b/samples/demo_mobile/assets/audio/wing_flap.mp3
similarity index 100%
rename from samples/demo/assets/audio/wing_flap.mp3
rename to samples/demo_mobile/assets/audio/wing_flap.mp3
diff --git a/samples/demo/assets/fonts/1x/desyrel.fnt b/samples/demo_mobile/assets/fonts/1x/desyrel.fnt
similarity index 100%
rename from samples/demo/assets/fonts/1x/desyrel.fnt
rename to samples/demo_mobile/assets/fonts/1x/desyrel.fnt
diff --git a/samples/demo/assets/fonts/1x/desyrel.png b/samples/demo_mobile/assets/fonts/1x/desyrel.png
similarity index 100%
rename from samples/demo/assets/fonts/1x/desyrel.png
rename to samples/demo_mobile/assets/fonts/1x/desyrel.png
diff --git a/samples/demo/assets/fonts/2x/desyrel.fnt b/samples/demo_mobile/assets/fonts/2x/desyrel.fnt
similarity index 100%
rename from samples/demo/assets/fonts/2x/desyrel.fnt
rename to samples/demo_mobile/assets/fonts/2x/desyrel.fnt
diff --git a/samples/demo/assets/fonts/2x/desyrel.png b/samples/demo_mobile/assets/fonts/2x/desyrel.png
similarity index 100%
rename from samples/demo/assets/fonts/2x/desyrel.png
rename to samples/demo_mobile/assets/fonts/2x/desyrel.png
diff --git a/samples/demo/assets/fonts/Ubuntu-License.txt b/samples/demo_mobile/assets/fonts/Ubuntu-License.txt
similarity index 100%
rename from samples/demo/assets/fonts/Ubuntu-License.txt
rename to samples/demo_mobile/assets/fonts/Ubuntu-License.txt
diff --git a/samples/demo/assets/fonts/Ubuntu-R.ttf b/samples/demo_mobile/assets/fonts/Ubuntu-R.ttf
similarity index 100%
rename from samples/demo/assets/fonts/Ubuntu-R.ttf
rename to samples/demo_mobile/assets/fonts/Ubuntu-R.ttf
diff --git a/samples/demo/assets/textures/1x/atlas.png b/samples/demo_mobile/assets/textures/1x/atlas.png
similarity index 100%
rename from samples/demo/assets/textures/1x/atlas.png
rename to samples/demo_mobile/assets/textures/1x/atlas.png
diff --git a/samples/demo/assets/textures/1x/atlas.xml b/samples/demo_mobile/assets/textures/1x/atlas.xml
similarity index 100%
rename from samples/demo/assets/textures/1x/atlas.xml
rename to samples/demo_mobile/assets/textures/1x/atlas.xml
diff --git a/samples/demo/assets/textures/1x/background.jpg b/samples/demo_mobile/assets/textures/1x/background.jpg
similarity index 100%
rename from samples/demo/assets/textures/1x/background.jpg
rename to samples/demo_mobile/assets/textures/1x/background.jpg
diff --git a/samples/demo/assets/textures/1x/compressed_texture.atf b/samples/demo_mobile/assets/textures/1x/compressed_texture.atf
similarity index 100%
rename from samples/demo/assets/textures/1x/compressed_texture.atf
rename to samples/demo_mobile/assets/textures/1x/compressed_texture.atf
diff --git a/samples/demo/assets/textures/2x/atlas.png b/samples/demo_mobile/assets/textures/2x/atlas.png
similarity index 100%
rename from samples/demo/assets/textures/2x/atlas.png
rename to samples/demo_mobile/assets/textures/2x/atlas.png
diff --git a/samples/demo/assets/textures/2x/atlas.xml b/samples/demo_mobile/assets/textures/2x/atlas.xml
similarity index 100%
rename from samples/demo/assets/textures/2x/atlas.xml
rename to samples/demo_mobile/assets/textures/2x/atlas.xml
diff --git a/samples/demo/assets/textures/2x/background.jpg b/samples/demo_mobile/assets/textures/2x/background.jpg
similarity index 100%
rename from samples/demo/assets/textures/2x/background.jpg
rename to samples/demo_mobile/assets/textures/2x/background.jpg
diff --git a/samples/demo/assets/textures/2x/compressed_texture.atf b/samples/demo_mobile/assets/textures/2x/compressed_texture.atf
similarity index 100%
rename from samples/demo/assets/textures/2x/compressed_texture.atf
rename to samples/demo_mobile/assets/textures/2x/compressed_texture.atf
diff --git a/samples/demo_mobile/build.gradle b/samples/demo_mobile/build.gradle
index 5a2ead99d..a278c9394 100644
--- a/samples/demo_mobile/build.gradle
+++ b/samples/demo_mobile/build.gradle
@@ -12,5 +12,5 @@ type = 'mobile'
mainClass = 'Demo_Mobile.as'
air {
storepass = 'gradlefx'
- applicationDescriptor = 'src/Demo_Mobile-app.xml'
+ applicationDescriptor = 'src/Demo-app.xml'
}
diff --git a/samples/demo_mobile/demo-mobile.iml b/samples/demo_mobile/demo-mobile.iml
index 71d128dcb..832f0bb08 100644
--- a/samples/demo_mobile/demo-mobile.iml
+++ b/samples/demo_mobile/demo-mobile.iml
@@ -2,17 +2,14 @@
-
+
-
-
-
-
+
-
+
-
-
+
+
-
+
-
-
+
+
@@ -44,9 +41,8 @@
-
+
-
\ No newline at end of file
diff --git a/samples/demo/src/Constants.as b/samples/demo_mobile/src/Constants.as
similarity index 100%
rename from samples/demo/src/Constants.as
rename to samples/demo_mobile/src/Constants.as
diff --git a/samples/demo_mobile/src/Demo_Mobile-app.xml b/samples/demo_mobile/src/Demo-app.xml
similarity index 78%
rename from samples/demo_mobile/src/Demo_Mobile-app.xml
rename to samples/demo_mobile/src/Demo-app.xml
index e544edbe6..67231b1ac 100644
--- a/samples/demo_mobile/src/Demo_Mobile-app.xml
+++ b/samples/demo_mobile/src/Demo-app.xml
@@ -1,5 +1,5 @@
-
+com.gamua.starling.demoStarling-Demo
@@ -46,15 +46,23 @@
-
-
-
-
+
UIDeviceFamily12
+
+
+ UILaunchStoryboardName
+ LaunchScreen
+
+
+ MinimumOSVersion
+ 11.0
]]>
@@ -81,6 +89,12 @@
]]>
-
+
+
+
+
+
+ ../system/res
diff --git a/samples/demo_mobile/src/Demo_Mobile.as b/samples/demo_mobile/src/Demo.as
similarity index 85%
rename from samples/demo_mobile/src/Demo_Mobile.as
rename to samples/demo_mobile/src/Demo.as
index 2f17a3534..9597f6b4d 100644
--- a/samples/demo_mobile/src/Demo_Mobile.as
+++ b/samples/demo_mobile/src/Demo.as
@@ -24,13 +24,8 @@ package
import utils.ProgressBar;
- // This project requires the sources of the "demo" project. Add them either by
- // referencing the "demo/src" directory as a "source path", or by copying the files.
- // The "media" folder of this project has to be added to its "source paths" as well,
- // to make sure the icon and startup images are added to the compiled mobile app.
-
[SWF(width="320", height="480", frameRate="30", backgroundColor="#000000")]
- public class Demo_Mobile extends Sprite
+ public class Demo extends Sprite
{
private const StageWidth:int = 320;
private const StageHeight:int = 480;
@@ -39,11 +34,11 @@ package
private var _background:Loader;
private var _progressBar:ProgressBar;
- public function Demo_Mobile()
+ public function Demo()
{
- // We develop the game in a *fixed* coordinate system of 320x480. The game might
- // then run on a device with a different resolution; for that case, we zoom the
- // viewPort to the optimal size for any display and load the optimal textures.
+ // This demo still uses a fixed coordinate sytem of 320x480, just like the original
+ // iPhone and iPhone 4/4S. The contents is then centered on the screen. Nowadays,
+ // you'd use a different approach, of course. See the "Scaffold" project for a sample.
var iOS:Boolean = SystemUtil.platform == "IOS";
var stageSize:Rectangle = new Rectangle(0, 0, StageWidth, StageHeight);
@@ -89,9 +84,9 @@ package
assets.verbose = Capabilities.isDebugger;
assets.enqueue(
- appDir.resolvePath("audio"),
- appDir.resolvePath(StringUtil.format("fonts/{0}x", scaleFactor)),
- appDir.resolvePath(StringUtil.format("textures/{0}x", scaleFactor))
+ appDir.resolvePath("assets/audio"),
+ appDir.resolvePath(StringUtil.format("assets/fonts/{0}x", scaleFactor)),
+ appDir.resolvePath(StringUtil.format("assets/textures/{0}x", scaleFactor))
);
// Now, while the AssetManager now contains pointers to all the assets, it actually
@@ -131,7 +126,7 @@ package
{
// Add background image. By using "loadBytes", we can avoid any flickering.
- var bgPath:String = StringUtil.format("textures/{0}x/background.jpg", scaleFactor);
+ var bgPath:String = StringUtil.format("assets/textures/{0}x/background.jpg", scaleFactor);
var bgFile:File = File.applicationDirectory.resolvePath(bgPath);
var bytes:ByteArray = new ByteArray();
var stream:FileStream = new FileStream();
diff --git a/samples/demo/src/Game.as b/samples/demo_mobile/src/Game.as
similarity index 96%
rename from samples/demo/src/Game.as
rename to samples/demo_mobile/src/Game.as
index 215a26f4d..1e0c5e7c6 100644
--- a/samples/demo/src/Game.as
+++ b/samples/demo_mobile/src/Game.as
@@ -18,7 +18,7 @@ package
public class Game extends Sprite
{
// Embed the Ubuntu Font. Beware: the 'embedAsCFF'-part IS REQUIRED!!!
- [Embed(source="../../demo/assets/fonts/Ubuntu-R.ttf", embedAsCFF="false", fontFamily="Ubuntu")]
+ [Embed(source="../assets/fonts/Ubuntu-R.ttf", embedAsCFF="false", fontFamily="Ubuntu")]
private static const UbuntuRegular:Class;
private var _mainMenu:MainMenu;
diff --git a/samples/demo/src/MainMenu.as b/samples/demo_mobile/src/MainMenu.as
similarity index 100%
rename from samples/demo/src/MainMenu.as
rename to samples/demo_mobile/src/MainMenu.as
diff --git a/samples/demo/src/scenes/AnimationScene.as b/samples/demo_mobile/src/scenes/AnimationScene.as
similarity index 100%
rename from samples/demo/src/scenes/AnimationScene.as
rename to samples/demo_mobile/src/scenes/AnimationScene.as
diff --git a/samples/demo/src/scenes/BenchmarkScene.as b/samples/demo_mobile/src/scenes/BenchmarkScene.as
similarity index 100%
rename from samples/demo/src/scenes/BenchmarkScene.as
rename to samples/demo_mobile/src/scenes/BenchmarkScene.as
diff --git a/samples/demo/src/scenes/BlendModeScene.as b/samples/demo_mobile/src/scenes/BlendModeScene.as
similarity index 100%
rename from samples/demo/src/scenes/BlendModeScene.as
rename to samples/demo_mobile/src/scenes/BlendModeScene.as
diff --git a/samples/demo/src/scenes/CustomHitTestScene.as b/samples/demo_mobile/src/scenes/CustomHitTestScene.as
similarity index 100%
rename from samples/demo/src/scenes/CustomHitTestScene.as
rename to samples/demo_mobile/src/scenes/CustomHitTestScene.as
diff --git a/samples/demo/src/scenes/FilterScene.as b/samples/demo_mobile/src/scenes/FilterScene.as
similarity index 100%
rename from samples/demo/src/scenes/FilterScene.as
rename to samples/demo_mobile/src/scenes/FilterScene.as
diff --git a/samples/demo/src/scenes/MaskScene.as b/samples/demo_mobile/src/scenes/MaskScene.as
similarity index 100%
rename from samples/demo/src/scenes/MaskScene.as
rename to samples/demo_mobile/src/scenes/MaskScene.as
diff --git a/samples/demo/src/scenes/MovieScene.as b/samples/demo_mobile/src/scenes/MovieScene.as
similarity index 100%
rename from samples/demo/src/scenes/MovieScene.as
rename to samples/demo_mobile/src/scenes/MovieScene.as
diff --git a/samples/demo/src/scenes/RenderTextureScene.as b/samples/demo_mobile/src/scenes/RenderTextureScene.as
similarity index 100%
rename from samples/demo/src/scenes/RenderTextureScene.as
rename to samples/demo_mobile/src/scenes/RenderTextureScene.as
diff --git a/samples/demo/src/scenes/Scene.as b/samples/demo_mobile/src/scenes/Scene.as
similarity index 100%
rename from samples/demo/src/scenes/Scene.as
rename to samples/demo_mobile/src/scenes/Scene.as
diff --git a/samples/demo/src/scenes/Sprite3DScene.as b/samples/demo_mobile/src/scenes/Sprite3DScene.as
similarity index 100%
rename from samples/demo/src/scenes/Sprite3DScene.as
rename to samples/demo_mobile/src/scenes/Sprite3DScene.as
diff --git a/samples/demo/src/scenes/TextScene.as b/samples/demo_mobile/src/scenes/TextScene.as
similarity index 100%
rename from samples/demo/src/scenes/TextScene.as
rename to samples/demo_mobile/src/scenes/TextScene.as
diff --git a/samples/demo/src/scenes/TextureScene.as b/samples/demo_mobile/src/scenes/TextureScene.as
similarity index 100%
rename from samples/demo/src/scenes/TextureScene.as
rename to samples/demo_mobile/src/scenes/TextureScene.as
diff --git a/samples/demo/src/scenes/TouchScene.as b/samples/demo_mobile/src/scenes/TouchScene.as
similarity index 100%
rename from samples/demo/src/scenes/TouchScene.as
rename to samples/demo_mobile/src/scenes/TouchScene.as
diff --git a/samples/demo/src/utils/MenuButton.as b/samples/demo_mobile/src/utils/MenuButton.as
similarity index 100%
rename from samples/demo/src/utils/MenuButton.as
rename to samples/demo_mobile/src/utils/MenuButton.as
diff --git a/samples/demo/src/utils/ProgressBar.as b/samples/demo_mobile/src/utils/ProgressBar.as
similarity index 100%
rename from samples/demo/src/utils/ProgressBar.as
rename to samples/demo_mobile/src/utils/ProgressBar.as
diff --git a/samples/demo/src/utils/RoundButton.as b/samples/demo_mobile/src/utils/RoundButton.as
similarity index 100%
rename from samples/demo/src/utils/RoundButton.as
rename to samples/demo_mobile/src/utils/RoundButton.as
diff --git a/samples/demo/src/utils/TextButton.as b/samples/demo_mobile/src/utils/TextButton.as
similarity index 100%
rename from samples/demo/src/utils/TextButton.as
rename to samples/demo_mobile/src/utils/TextButton.as
diff --git a/samples/demo/src/utils/TouchSheet.as b/samples/demo_mobile/src/utils/TouchSheet.as
similarity index 100%
rename from samples/demo/src/utils/TouchSheet.as
rename to samples/demo_mobile/src/utils/TouchSheet.as
diff --git a/samples/demo_mobile/system/Assets.car b/samples/demo_mobile/system/Assets.car
new file mode 100644
index 000000000..ea1d3c612
Binary files /dev/null and b/samples/demo_mobile/system/Assets.car differ
diff --git a/samples/demo_mobile/system/LaunchScreen.storyboardc/01J-lp-oVM-view-Ze5-6b-2t3.nib b/samples/demo_mobile/system/LaunchScreen.storyboardc/01J-lp-oVM-view-Ze5-6b-2t3.nib
new file mode 100644
index 000000000..dea705dee
Binary files /dev/null and b/samples/demo_mobile/system/LaunchScreen.storyboardc/01J-lp-oVM-view-Ze5-6b-2t3.nib differ
diff --git a/samples/demo_mobile/system/LaunchScreen.storyboardc/Info.plist b/samples/demo_mobile/system/LaunchScreen.storyboardc/Info.plist
new file mode 100644
index 000000000..32288e88f
Binary files /dev/null and b/samples/demo_mobile/system/LaunchScreen.storyboardc/Info.plist differ
diff --git a/samples/demo_mobile/system/LaunchScreen.storyboardc/UIViewController-01J-lp-oVM.nib b/samples/demo_mobile/system/LaunchScreen.storyboardc/UIViewController-01J-lp-oVM.nib
new file mode 100644
index 000000000..a985e5159
Binary files /dev/null and b/samples/demo_mobile/system/LaunchScreen.storyboardc/UIViewController-01J-lp-oVM.nib differ
diff --git a/samples/demo_mobile/system/icon114.png b/samples/demo_mobile/system/icon114.png
new file mode 100644
index 000000000..eb5ff5d29
Binary files /dev/null and b/samples/demo_mobile/system/icon114.png differ
diff --git a/samples/demo_mobile/system/icon144.png b/samples/demo_mobile/system/icon144.png
new file mode 100644
index 000000000..868ed2851
Binary files /dev/null and b/samples/demo_mobile/system/icon144.png differ
diff --git a/samples/demo_mobile/system/icon57.png b/samples/demo_mobile/system/icon57.png
new file mode 100644
index 000000000..17550a8d2
Binary files /dev/null and b/samples/demo_mobile/system/icon57.png differ
diff --git a/samples/demo_mobile/system/icon72.png b/samples/demo_mobile/system/icon72.png
new file mode 100644
index 000000000..cde05df09
Binary files /dev/null and b/samples/demo_mobile/system/icon72.png differ
diff --git a/samples/demo_mobile/system/res/mipmap-anydpi-v26/icon.xml b/samples/demo_mobile/system/res/mipmap-anydpi-v26/icon.xml
new file mode 100644
index 000000000..1ed403703
--- /dev/null
+++ b/samples/demo_mobile/system/res/mipmap-anydpi-v26/icon.xml
@@ -0,0 +1,5 @@
+
+
+
+
+
\ No newline at end of file
diff --git a/samples/demo_mobile/system/res/mipmap-anydpi-v26/icon_round.xml b/samples/demo_mobile/system/res/mipmap-anydpi-v26/icon_round.xml
new file mode 100644
index 000000000..1ed403703
--- /dev/null
+++ b/samples/demo_mobile/system/res/mipmap-anydpi-v26/icon_round.xml
@@ -0,0 +1,5 @@
+
+
+
+
+
\ No newline at end of file
diff --git a/samples/demo_mobile/system/res/mipmap-hdpi/icon.png b/samples/demo_mobile/system/res/mipmap-hdpi/icon.png
new file mode 100644
index 000000000..9db205c02
Binary files /dev/null and b/samples/demo_mobile/system/res/mipmap-hdpi/icon.png differ
diff --git a/samples/demo_mobile/system/res/mipmap-hdpi/icon_background.png b/samples/demo_mobile/system/res/mipmap-hdpi/icon_background.png
new file mode 100644
index 000000000..596c1d5aa
Binary files /dev/null and b/samples/demo_mobile/system/res/mipmap-hdpi/icon_background.png differ
diff --git a/samples/demo_mobile/system/res/mipmap-hdpi/icon_foreground.png b/samples/demo_mobile/system/res/mipmap-hdpi/icon_foreground.png
new file mode 100644
index 000000000..7537f54ac
Binary files /dev/null and b/samples/demo_mobile/system/res/mipmap-hdpi/icon_foreground.png differ
diff --git a/samples/demo_mobile/system/res/mipmap-hdpi/icon_round.png b/samples/demo_mobile/system/res/mipmap-hdpi/icon_round.png
new file mode 100644
index 000000000..bd0384b20
Binary files /dev/null and b/samples/demo_mobile/system/res/mipmap-hdpi/icon_round.png differ
diff --git a/samples/demo_mobile/system/res/mipmap-mdpi/icon.png b/samples/demo_mobile/system/res/mipmap-mdpi/icon.png
new file mode 100644
index 000000000..794ebce04
Binary files /dev/null and b/samples/demo_mobile/system/res/mipmap-mdpi/icon.png differ
diff --git a/samples/demo_mobile/system/res/mipmap-mdpi/icon_background.png b/samples/demo_mobile/system/res/mipmap-mdpi/icon_background.png
new file mode 100644
index 000000000..48625df74
Binary files /dev/null and b/samples/demo_mobile/system/res/mipmap-mdpi/icon_background.png differ
diff --git a/samples/demo_mobile/system/res/mipmap-mdpi/icon_foreground.png b/samples/demo_mobile/system/res/mipmap-mdpi/icon_foreground.png
new file mode 100644
index 000000000..ce1167a56
Binary files /dev/null and b/samples/demo_mobile/system/res/mipmap-mdpi/icon_foreground.png differ
diff --git a/samples/demo_mobile/system/res/mipmap-mdpi/icon_round.png b/samples/demo_mobile/system/res/mipmap-mdpi/icon_round.png
new file mode 100644
index 000000000..3a200166e
Binary files /dev/null and b/samples/demo_mobile/system/res/mipmap-mdpi/icon_round.png differ
diff --git a/samples/demo_mobile/system/res/mipmap-xhdpi/icon.png b/samples/demo_mobile/system/res/mipmap-xhdpi/icon.png
new file mode 100644
index 000000000..c95630485
Binary files /dev/null and b/samples/demo_mobile/system/res/mipmap-xhdpi/icon.png differ
diff --git a/samples/demo_mobile/system/res/mipmap-xhdpi/icon_background.png b/samples/demo_mobile/system/res/mipmap-xhdpi/icon_background.png
new file mode 100644
index 000000000..521d54bc7
Binary files /dev/null and b/samples/demo_mobile/system/res/mipmap-xhdpi/icon_background.png differ
diff --git a/samples/demo_mobile/system/res/mipmap-xhdpi/icon_foreground.png b/samples/demo_mobile/system/res/mipmap-xhdpi/icon_foreground.png
new file mode 100644
index 000000000..d6a0c3fed
Binary files /dev/null and b/samples/demo_mobile/system/res/mipmap-xhdpi/icon_foreground.png differ
diff --git a/samples/demo_mobile/system/res/mipmap-xhdpi/icon_round.png b/samples/demo_mobile/system/res/mipmap-xhdpi/icon_round.png
new file mode 100644
index 000000000..7571e57b5
Binary files /dev/null and b/samples/demo_mobile/system/res/mipmap-xhdpi/icon_round.png differ
diff --git a/samples/demo_mobile/system/res/mipmap-xxhdpi/icon.png b/samples/demo_mobile/system/res/mipmap-xxhdpi/icon.png
new file mode 100644
index 000000000..e5378fd00
Binary files /dev/null and b/samples/demo_mobile/system/res/mipmap-xxhdpi/icon.png differ
diff --git a/samples/demo_mobile/system/res/mipmap-xxhdpi/icon_background.png b/samples/demo_mobile/system/res/mipmap-xxhdpi/icon_background.png
new file mode 100644
index 000000000..ceeefc779
Binary files /dev/null and b/samples/demo_mobile/system/res/mipmap-xxhdpi/icon_background.png differ
diff --git a/samples/demo_mobile/system/res/mipmap-xxhdpi/icon_foreground.png b/samples/demo_mobile/system/res/mipmap-xxhdpi/icon_foreground.png
new file mode 100644
index 000000000..d008e04db
Binary files /dev/null and b/samples/demo_mobile/system/res/mipmap-xxhdpi/icon_foreground.png differ
diff --git a/samples/demo_mobile/system/res/mipmap-xxhdpi/icon_round.png b/samples/demo_mobile/system/res/mipmap-xxhdpi/icon_round.png
new file mode 100644
index 000000000..bcc75c828
Binary files /dev/null and b/samples/demo_mobile/system/res/mipmap-xxhdpi/icon_round.png differ
diff --git a/samples/demo_mobile/system/res/mipmap-xxxhdpi/icon.png b/samples/demo_mobile/system/res/mipmap-xxxhdpi/icon.png
new file mode 100644
index 000000000..c46a41254
Binary files /dev/null and b/samples/demo_mobile/system/res/mipmap-xxxhdpi/icon.png differ
diff --git a/samples/demo_mobile/system/res/mipmap-xxxhdpi/icon_background.png b/samples/demo_mobile/system/res/mipmap-xxxhdpi/icon_background.png
new file mode 100644
index 000000000..b9847e4d7
Binary files /dev/null and b/samples/demo_mobile/system/res/mipmap-xxxhdpi/icon_background.png differ
diff --git a/samples/demo_mobile/system/res/mipmap-xxxhdpi/icon_foreground.png b/samples/demo_mobile/system/res/mipmap-xxxhdpi/icon_foreground.png
new file mode 100644
index 000000000..c7fb0262b
Binary files /dev/null and b/samples/demo_mobile/system/res/mipmap-xxxhdpi/icon_foreground.png differ
diff --git a/samples/demo_mobile/system/res/mipmap-xxxhdpi/icon_round.png b/samples/demo_mobile/system/res/mipmap-xxxhdpi/icon_round.png
new file mode 100644
index 000000000..b9f7e9748
Binary files /dev/null and b/samples/demo_mobile/system/res/mipmap-xxxhdpi/icon_round.png differ
diff --git a/samples/demo_web/.actionScriptProperties b/samples/demo_web/.actionScriptProperties
deleted file mode 100644
index 509baad11..000000000
--- a/samples/demo_web/.actionScriptProperties
+++ /dev/null
@@ -1,47 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/samples/demo_web/.project b/samples/demo_web/.project
deleted file mode 100644
index 7b75adeef..000000000
--- a/samples/demo_web/.project
+++ /dev/null
@@ -1,35 +0,0 @@
-
-
- Starling-Demo-Web
-
-
- Starling
-
-
-
- com.adobe.flexbuilder.project.flexbuilder
-
-
-
-
-
- com.adobe.flexbuilder.project.actionscriptnature
-
-
-
- [source path] assets
- 2
- STARLING_FRAMEWORK/samples/demo/assets
-
-
- [source path] src
- 2
- STARLING_FRAMEWORK/samples/demo/src
-
-
- [source path] system
- 2
- STARLING_FRAMEWORK/samples/demo/system
-
-
-
diff --git a/samples/demo_web/README.md b/samples/demo_web/README.md
deleted file mode 100644
index c006b300a..000000000
--- a/samples/demo_web/README.md
+++ /dev/null
@@ -1,18 +0,0 @@
-How to build this Sample
-========================
-
-The web demo shows some of the features of Starling. It can be run via the Flash plugin.
-
-This folder contains just the Startup-code. The rest of the code, as well as the assets, are found in the "demo" folder, and needs to be referenced in your project.
-
-If you are working with Flash Builder, you can import the project using "File - Import Flash Builder Project". However, the project requires you to set up an Eclipse workspace path pointing to Starling. To do that, enter "Preferences - General - Workspace - Linked Resources" and add a new path variable called STARLING_FRAMEWORK that points to the root of the Starling-Framework directory.
-
-If you are using another IDE, it might unfortunately be a little more complicated. You have to create a project that is based in this folder and add the following source paths to your project:
-
- * '../demo/src' -> the actual code of the demo
- * '../demo/media' -> the assets of the demo
- * '../demo/system' -> the system graphics (icons, launch images) of the demo
-
-Starling itself can either be linked via a source path, or by referencing its swc file.
-
-If your IDE doesn't allow adding source paths outside the project root, I recommend you create a new folder where you manually merge the "demo" and "demo_web" folders together. Then add just the "media" and "system" folders to your source paths (that's required so that the "Embed" statements can find them).
diff --git a/samples/demo_web/build.gradle b/samples/demo_web/build.gradle
deleted file mode 100644
index 39b6f5b09..000000000
--- a/samples/demo_web/build.gradle
+++ /dev/null
@@ -1,12 +0,0 @@
-// =================================================================================================
-//
-// Starling Framework
-// Copyright Gamua GmbH. All Rights Reserved.
-//
-// This program is free software. You can redistribute and/or modify it
-// in accordance with the terms of the accompanying license agreement.
-//
-// =================================================================================================
-
-type = 'swf'
-mainClass = 'Demo_Web.as'
\ No newline at end of file
diff --git a/samples/demo_web/demo-web.iml b/samples/demo_web/demo-web.iml
deleted file mode 100644
index adbd915c5..000000000
--- a/samples/demo_web/demo-web.iml
+++ /dev/null
@@ -1,42 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/samples/demo_web/src/Demo_Web.as b/samples/demo_web/src/Demo_Web.as
deleted file mode 100644
index e0f1b3111..000000000
--- a/samples/demo_web/src/Demo_Web.as
+++ /dev/null
@@ -1,139 +0,0 @@
-package
-{
- import flash.display.Bitmap;
- import flash.display.Sprite;
- import flash.system.Capabilities;
- import flash.system.System;
- import flash.utils.setTimeout;
-
- import starling.assets.AssetManager;
- import starling.core.Starling;
- import starling.events.Event;
-
- import utils.ProgressBar;
-
- // If you set this class as your 'default application', it will run without a preloader.
- // To use a preloader, see 'Demo_Web_Preloader.as'.
-
- // This project requires the sources of the "demo" project. Add them either by
- // referencing the "demo/src" directory as a "source path", or by copying the files.
- // The "media" folder of this project has to be added to its "source paths" as well,
- // to make sure the icon and startup images are added to the compiled mobile app.
-
- [SWF(width="320", height="480", frameRate="60", backgroundColor="#222222")]
- public class Demo_Web extends Sprite
- {
- private var _starling:Starling;
- private var _background:Bitmap;
- private var _progressBar:ProgressBar;
-
- public function Demo_Web()
- {
- if (stage) start();
- else addEventListener(Event.ADDED_TO_STAGE, onAddedToStage);
- }
-
- private function onAddedToStage(event:Object):void
- {
- removeEventListener(Event.ADDED_TO_STAGE, onAddedToStage);
- start();
- }
-
- private function start():void
- {
- // We develop the game in a *fixed* coordinate system of 320x480. The game might
- // then run on a device with a different resolution; for that case, we zoom the
- // viewPort to the optimal size for any display and load the optimal textures.
-
- Starling.multitouchEnabled = true; // for Multitouch Scene
-
- _starling = new Starling(Game, stage);
- _starling.simulateMultitouch = true;
- _starling.skipUnchangedFrames = true;
- _starling.supportBrowserZoom = true;
- _starling.supportHighResolutions = true;
- _starling.enableErrorChecking = Capabilities.isDebugger;
- _starling.addEventListener(Event.ROOT_CREATED, function():void
- {
- loadAssets(startGame);
- });
-
- _starling.start();
- initElements();
- }
-
- private function loadAssets(onComplete:Function):void
- {
- // Our assets are loaded and managed by the 'AssetManager'. To use that class,
- // we first have to enqueue pointers to all assets we want it to load.
-
- var assets:AssetManager = new AssetManager();
-
- assets.verbose = Capabilities.isDebugger;
- assets.enqueue(EmbeddedAssets);
-
- // Now, while the AssetManager now contains pointers to all the assets, it actually
- // has not loaded them yet. This happens in the "loadQueue" method; and since this
- // will take a while, we'll update the progress bar accordingly.
-
- assets.loadQueue(onLoadComplete, onLoadError, onLoadProgress);
-
- function onLoadComplete():void
- {
- // now would be a good time for a clean-up
- System.pauseForGCIfCollectionImminent(0);
- System.gc();
-
- onComplete(assets);
- }
-
- function onLoadError(error:String):void
- {
- trace("Error while loading assets: " + error);
- }
-
- function onLoadProgress(ratio:Number):void
- {
- _progressBar.ratio = ratio;
- }
- }
-
- private function startGame(assets:AssetManager):void
- {
- var game:Game = _starling.root as Game;
- game.start(assets);
- setTimeout(removeElements, 150); // delay to make 100% sure there's no flickering.
- }
-
- private function initElements():void
- {
- // Add background image.
-
- _background = new EmbeddedAssets.background();
- _background.smoothing = true;
- addChild(_background);
-
- // While the assets are loaded, we will display a progress bar.
-
- _progressBar = new ProgressBar(175, 20);
- _progressBar.x = (_background.width - _progressBar.width) / 2;
- _progressBar.y = _background.height * 0.7;
- addChild(_progressBar);
- }
-
- private function removeElements():void
- {
- if (_background)
- {
- removeChild(_background);
- _background = null;
- }
-
- if (_progressBar)
- {
- removeChild(_progressBar);
- _progressBar = null;
- }
- }
- }
-}
\ No newline at end of file
diff --git a/samples/demo_web/src/Demo_Web_Preloader.as b/samples/demo_web/src/Demo_Web_Preloader.as
deleted file mode 100644
index a2aa79b21..000000000
--- a/samples/demo_web/src/Demo_Web_Preloader.as
+++ /dev/null
@@ -1,114 +0,0 @@
-package
-{
- import flash.display.DisplayObject;
- import flash.display.MovieClip;
- import flash.display.Shape;
- import flash.display.StageAlign;
- import flash.display.StageScaleMode;
- import flash.events.Event;
- import flash.utils.getDefinitionByName;
-
- import starling.utils.Color;
-
- // To show a Preloader while the SWF is being transferred from the server,
- // set this class as your 'default application' and add the following
- // compiler argument: '-frame StartupFrame Demo_Web'
-
- [SWF(width="320", height="480", frameRate="60", backgroundColor="#222222")]
- public class Demo_Web_Preloader extends MovieClip
- {
- private const STARTUP_CLASS:String = "Demo_Web";
-
- private var _progressIndicator:Shape;
- private var _frameCount:int = 0;
-
- public function Demo_Web_Preloader()
- {
- addEventListener(Event.ADDED_TO_STAGE, onAddedToStage);
- stop();
- }
-
- private function onAddedToStage(event:Event):void
- {
- stage.scaleMode = StageScaleMode.SHOW_ALL;
- stage.align = StageAlign.TOP_LEFT;
-
- addEventListener(Event.ENTER_FRAME, onEnterFrame);
- removeEventListener(Event.ADDED_TO_STAGE, onAddedToStage);
- }
-
- private function onEnterFrame(event:Event):void
- {
- var bytesLoaded:int = root.loaderInfo.bytesLoaded;
- var bytesTotal:int = root.loaderInfo.bytesTotal;
-
- if (bytesLoaded >= bytesTotal)
- {
- dispose();
- run();
- }
- else
- {
- if (_progressIndicator == null)
- {
- _progressIndicator = createProgressIndicator();
- _progressIndicator.x = stage.stageWidth / 2;
- _progressIndicator.y = stage.stageHeight / 2;
- addChild(_progressIndicator);
- }
- else
- {
- if (_frameCount++ % 5 == 0)
- _progressIndicator.rotation -= 45;
- }
- }
- }
-
- private function createProgressIndicator(radius:Number=12, elements:int=8):Shape
- {
- var shape:Shape = new Shape();
- var angleDelta:Number = Math.PI * 2 / elements;
- var x:Number, y:Number;
- var innerRadius:Number = radius / 4;
- var color:uint;
-
- for (var i:int=0; i
-
+
@@ -13,15 +13,15 @@
-
+
-
+
-
+
-
+
diff --git a/samples/scaffold_mobile/src/Root.as b/samples/scaffold_mobile/src/Root.as
index e26c09320..374b585a5 100644
--- a/samples/scaffold_mobile/src/Root.as
+++ b/samples/scaffold_mobile/src/Root.as
@@ -34,7 +34,7 @@ package
public function start(assets:AssetManager, screen:ScreenSetup):void
{
// the safe area overlay just shows us where the interactive content of our app
- // should be.
+ // should be. Of course, this should be removed later. ;)
_safeAreaOverlay = new SafeAreaOverlay();
addChild(_safeAreaOverlay);
diff --git a/samples/scaffold_mobile/src/Scaffold_Mobile-app.xml b/samples/scaffold_mobile/src/Scaffold-app.xml
similarity index 89%
rename from samples/scaffold_mobile/src/Scaffold_Mobile-app.xml
rename to samples/scaffold_mobile/src/Scaffold-app.xml
index dff19316c..663629641 100644
--- a/samples/scaffold_mobile/src/Scaffold_Mobile-app.xml
+++ b/samples/scaffold_mobile/src/Scaffold-app.xml
@@ -56,15 +56,23 @@
-
-
-
+
UIDeviceFamily12
+
+
+ UILaunchStoryboardName
+ LaunchScreen
+
+
+ MinimumOSVersion
+ 11.0
]]>
diff --git a/samples/scaffold_mobile/src/Scaffold_Mobile.as b/samples/scaffold_mobile/src/Scaffold.as
similarity index 92%
rename from samples/scaffold_mobile/src/Scaffold_Mobile.as
rename to samples/scaffold_mobile/src/Scaffold.as
index 1b42826fe..a2e9b5675 100644
--- a/samples/scaffold_mobile/src/Scaffold_Mobile.as
+++ b/samples/scaffold_mobile/src/Scaffold.as
@@ -22,17 +22,17 @@ package
import utils.ProgressBar;
import utils.ScreenSetup;
- [SWF(width="320", height="480", frameRate="30", backgroundColor="#badefe")]
- public class Scaffold_Mobile extends Sprite
+ [SWF(width="320", height="480", frameRate="30", backgroundColor="#CFEAF9")]
+ public class Scaffold extends Sprite
{
- [Embed(source="../../demo/assets/fonts/Ubuntu-R.ttf", embedAsCFF="false", fontFamily="Ubuntu")]
+ [Embed(source="../assets/fonts/Ubuntu-R.ttf", embedAsCFF="false", fontFamily="Ubuntu")]
private static const UbuntuRegular:Class;
private var _starling:Starling;
private var _logo:Loader;
private var _progressBar:ProgressBar;
- public function Scaffold_Mobile()
+ public function Scaffold()
{
var resX:int = Capabilities.screenResolutionX;
var resY:int = Capabilities.screenResolutionY;
@@ -97,9 +97,9 @@ package
assets.verbose = Capabilities.isDebugger;
assets.enqueue(
- appDir.resolvePath("audio"),
- appDir.resolvePath(StringUtil.format("fonts/{0}x", scale)),
- appDir.resolvePath(StringUtil.format("textures/{0}x", scale))
+ appDir.resolvePath("assets/audio"),
+ appDir.resolvePath(StringUtil.format("assets/fonts/{0}x", scale)),
+ appDir.resolvePath(StringUtil.format("assets/textures/{0}x", scale))
);
// Now, while the AssetManager now contains pointers to all the assets, it actually
@@ -148,7 +148,7 @@ package
// ... and a centered logo.
- var logoPath:String = StringUtil.format("textures/{0}x/logo.png", scale);
+ var logoPath:String = StringUtil.format("assets/textures/{0}x/logo.png", scale);
var logoFile:File = File.applicationDirectory.resolvePath(logoPath);
_logo = new Loader();
diff --git a/samples/scaffold_mobile/system/Assets.car b/samples/scaffold_mobile/system/Assets.car
index 5c0f31a07..ea1d3c612 100644
Binary files a/samples/scaffold_mobile/system/Assets.car and b/samples/scaffold_mobile/system/Assets.car differ
diff --git a/samples/scaffold_mobile/system/LaunchScreen.storyboardc/01J-lp-oVM-view-Ze5-6b-2t3.nib b/samples/scaffold_mobile/system/LaunchScreen.storyboardc/01J-lp-oVM-view-Ze5-6b-2t3.nib
new file mode 100644
index 000000000..dea705dee
Binary files /dev/null and b/samples/scaffold_mobile/system/LaunchScreen.storyboardc/01J-lp-oVM-view-Ze5-6b-2t3.nib differ
diff --git a/samples/scaffold_mobile/system/LaunchScreen.storyboardc/Info.plist b/samples/scaffold_mobile/system/LaunchScreen.storyboardc/Info.plist
new file mode 100644
index 000000000..32288e88f
Binary files /dev/null and b/samples/scaffold_mobile/system/LaunchScreen.storyboardc/Info.plist differ
diff --git a/samples/scaffold_mobile/system/LaunchScreen.storyboardc/UIViewController-01J-lp-oVM.nib b/samples/scaffold_mobile/system/LaunchScreen.storyboardc/UIViewController-01J-lp-oVM.nib
new file mode 100644
index 000000000..a985e5159
Binary files /dev/null and b/samples/scaffold_mobile/system/LaunchScreen.storyboardc/UIViewController-01J-lp-oVM.nib differ
diff --git a/starling/asconfig.json b/starling/asconfig.json
new file mode 100644
index 000000000..ff696f519
--- /dev/null
+++ b/starling/asconfig.json
@@ -0,0 +1,13 @@
+{
+ "type": "lib",
+ "config": "air",
+ "compilerOptions": {
+ "output": "bin-debug/starling.swc",
+ "source-path": [
+ "src"
+ ],
+ "include-sources": [
+ "src"
+ ]
+ }
+}
\ No newline at end of file
diff --git a/starling/build/idea/.idea/modules.xml b/starling/build/idea/.idea/modules.xml
index e30b6c4f2..bd97ea6fb 100644
--- a/starling/build/idea/.idea/modules.xml
+++ b/starling/build/idea/.idea/modules.xml
@@ -3,8 +3,6 @@
-
-
diff --git a/starling/starling.iml b/starling/starling.iml
index 8ecc8ed0f..36b93af97 100644
--- a/starling/starling.iml
+++ b/starling/starling.iml
@@ -4,7 +4,7 @@
-
+
@@ -23,7 +23,7 @@
-
+
\ No newline at end of file
diff --git a/util/idea/.idea/.gitignore b/util/idea/.idea/.gitignore
new file mode 100644
index 000000000..73f69e095
--- /dev/null
+++ b/util/idea/.idea/.gitignore
@@ -0,0 +1,8 @@
+# Default ignored files
+/shelf/
+/workspace.xml
+# Datasource local storage ignored files
+/dataSources/
+/dataSources.local.xml
+# Editor-based HTTP Client requests
+/httpRequests/
diff --git a/util/idea/.idea/idea.iml b/util/idea/.idea/idea.iml
new file mode 100644
index 000000000..d6ebd4805
--- /dev/null
+++ b/util/idea/.idea/idea.iml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/util/idea/.idea/inspectionProfiles/profiles_settings.xml b/util/idea/.idea/inspectionProfiles/profiles_settings.xml
new file mode 100644
index 000000000..0eefe328a
--- /dev/null
+++ b/util/idea/.idea/inspectionProfiles/profiles_settings.xml
@@ -0,0 +1,5 @@
+
+
+
+
+
\ No newline at end of file
diff --git a/util/idea/.idea/misc.xml b/util/idea/.idea/misc.xml
new file mode 100644
index 000000000..639900d13
--- /dev/null
+++ b/util/idea/.idea/misc.xml
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/util/idea/.idea/modules.xml b/util/idea/.idea/modules.xml
new file mode 100644
index 000000000..a4e6d6fe9
--- /dev/null
+++ b/util/idea/.idea/modules.xml
@@ -0,0 +1,8 @@
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/util/idea/.idea/vcs.xml b/util/idea/.idea/vcs.xml
new file mode 100644
index 000000000..b2bdec2d7
--- /dev/null
+++ b/util/idea/.idea/vcs.xml
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file