From c8f5d2f6dd278d4008123e77a20f38773348d660 Mon Sep 17 00:00:00 2001 From: Nathan Sweet Date: Sat, 22 May 2021 22:33:10 -0400 Subject: [PATCH] Updated README and launch configuration for latest VS Code and download links. --- spine-as3/README.md | 8 ++++---- spine-as3/spine-as3-example/.vscode/launch.json | 5 +---- spine-as3/spine-as3-example/.vscode/tasks.json | 10 ++++++++++ spine-starling/README.md | 8 ++++---- .../spine-starling-example/.vscode/launch.json | 7 ++----- .../spine-starling-example/.vscode/tasks.json | 10 ++++++++++ 6 files changed, 31 insertions(+), 17 deletions(-) create mode 100644 spine-as3/spine-as3-example/.vscode/tasks.json create mode 100644 spine-starling/spine-starling-example/.vscode/tasks.json diff --git a/spine-as3/README.md b/spine-as3/README.md index 206a16919..d9e1034c3 100644 --- a/spine-as3/README.md +++ b/spine-as3/README.md @@ -28,13 +28,13 @@ The Spine AS3 example works on Windows, Linux and Mac OS X. This guide assumes y 1. Install [Visual Studio Code](https://code.visualstudio.com/). 2. Install the [ActionScript & MXML extension for Visual Studio Code](https://github.com/BowlerHatLLC/vscode-as3mxml/wiki). -3. Install [Adobe Flash Player Projector version 32 with debugging support](https://www.adobe.com/support/flashplayer/debug_downloads.html#fp15). -4. Install the [Adobe AIR SDK 32](http://www.adobe.com/devnet/air/air-sdk-download.html) by simply extracting it to a known location. +3. Download [Adobe Flash Player 32 projector content debugger](https://www.adobe.com/support/flashplayer/debug_downloads.html#fp15). On Windows, run it once to store its path. +4. Download [Adobe AIR 32 SDK & Compiler](https://helpx.adobe.com/air/kb/archived-air-sdk-version.html) and extract it to a folder. -To run the Flash example project `spine-as3-example`. +To run the Flash example project `spine-as3-example`: 1. Open the `spine-as3-example/` folder in Visual Studio Code. -2. Set the AIR SDK location when prompted. +2. Set the AIR SDK location when prompted or by pressing `CTRL + SHIFT + P` (`CMD + SHIFT + P` on macOS) and choosing `>ActionScript: Select Workspace SDK`. 3. Launch the `Launch Spine AS3 Example` launch configuration. Instead of directly adding the sources of from `spine-as3/src` to your project, you can also link the SWC file `spine-as3/lib/spine-as3.swc`. To (re-)compile this file yourself with Visual Studio Code: diff --git a/spine-as3/spine-as3-example/.vscode/launch.json b/spine-as3/spine-as3-example/.vscode/launch.json index d43380a99..8417cb33f 100644 --- a/spine-as3/spine-as3-example/.vscode/launch.json +++ b/spine-as3/spine-as3-example/.vscode/launch.json @@ -1,14 +1,11 @@ { - // 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": [ { "type": "swf", "request": "launch", "name": "Launch Spine AS3 SWF", - "preLaunchTask": "ActionScript: compile debug - asconfig.json" + "preLaunchTask": "Compile debug" } ] } \ No newline at end of file diff --git a/spine-as3/spine-as3-example/.vscode/tasks.json b/spine-as3/spine-as3-example/.vscode/tasks.json new file mode 100644 index 000000000..4712d514d --- /dev/null +++ b/spine-as3/spine-as3-example/.vscode/tasks.json @@ -0,0 +1,10 @@ +{ + "version": "2.0.0", + "tasks": [ + { + "label": "Compile debug", + "type": "actionscript", + "debug": true + } + ] +} \ No newline at end of file diff --git a/spine-starling/README.md b/spine-starling/README.md index 46771692e..497ae69c5 100644 --- a/spine-starling/README.md +++ b/spine-starling/README.md @@ -28,13 +28,13 @@ The Spine Starling example works on Windows, Linux and Mac OS X. This guide assu 1. Install [Visual Studio Code](https://code.visualstudio.com/). 2. Install the [ActionScript & MXML extension for Visual Studio Code](https://github.com/BowlerHatLLC/vscode-as3mxml/wiki). -3. Install [Adobe Flash Player Projector version 32 with debugging support](https://www.adobe.com/support/flashplayer/debug_downloads.html#fp15). -4. Install the [Adobe AIR SDK 32](http://www.adobe.com/devnet/air/air-sdk-download.html) by simply extracting it to a known location. +3. Download [Adobe Flash Player 32 projector content debugger](https://www.adobe.com/support/flashplayer/debug_downloads.html#fp15). On Windows, run it once to store its path. +4. Download [Adobe AIR 32 SDK & Compiler](https://helpx.adobe.com/air/kb/archived-air-sdk-version.html) and extract it to a folder. -To run the Flash example project `spine-starling-example`. +To run the Flash example project `spine-starling-example`: 1. Open the `spine-starling-example/` folder in Visual Studio Code. -2. Set the AIR SDK location when prompted. +2. Set the AIR SDK location when prompted or by pressing `CTRL + SHIFT + P` (`CMD + SHIFT + P` on macOS) and choosing `>ActionScript: Select Workspace SDK`. 3. Launch the `Launch Spine Starling Example` launch configuration. Instead of directly adding the sources of from `spine-starling/src` to your project, you can also link the SWC file `spine-starling/lib/spine-starling.swc`. To (re-)compile this file yourself with Visual Studio Code: diff --git a/spine-starling/spine-starling-example/.vscode/launch.json b/spine-starling/spine-starling-example/.vscode/launch.json index 38add36ee..377a42173 100644 --- a/spine-starling/spine-starling-example/.vscode/launch.json +++ b/spine-starling/spine-starling-example/.vscode/launch.json @@ -1,14 +1,11 @@ { - // 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": [ { "type": "swf", "request": "launch", - "name": "Launch Spine Starling Example", - "preLaunchTask": "ActionScript: compile debug - asconfig.json" + "name": "Launch Spine Starling Example" + "preLaunchTask": "Compile debug" } ] } \ No newline at end of file diff --git a/spine-starling/spine-starling-example/.vscode/tasks.json b/spine-starling/spine-starling-example/.vscode/tasks.json new file mode 100644 index 000000000..4712d514d --- /dev/null +++ b/spine-starling/spine-starling-example/.vscode/tasks.json @@ -0,0 +1,10 @@ +{ + "version": "2.0.0", + "tasks": [ + { + "label": "Compile debug", + "type": "actionscript", + "debug": true + } + ] +} \ No newline at end of file