mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-21 01:36:02 +08:00
Updated README and launch configuration for latest VS Code and download links.
This commit is contained in:
parent
4f549341e3
commit
c8f5d2f6dd
@ -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/).
|
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).
|
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).
|
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. Install the [Adobe AIR SDK 32](http://www.adobe.com/devnet/air/air-sdk-download.html) by simply extracting it to a known location.
|
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.
|
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.
|
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:
|
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:
|
||||||
|
|||||||
@ -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",
|
"version": "0.2.0",
|
||||||
"configurations": [
|
"configurations": [
|
||||||
{
|
{
|
||||||
"type": "swf",
|
"type": "swf",
|
||||||
"request": "launch",
|
"request": "launch",
|
||||||
"name": "Launch Spine AS3 SWF",
|
"name": "Launch Spine AS3 SWF",
|
||||||
"preLaunchTask": "ActionScript: compile debug - asconfig.json"
|
"preLaunchTask": "Compile debug"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
10
spine-as3/spine-as3-example/.vscode/tasks.json
vendored
Normal file
10
spine-as3/spine-as3-example/.vscode/tasks.json
vendored
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
{
|
||||||
|
"version": "2.0.0",
|
||||||
|
"tasks": [
|
||||||
|
{
|
||||||
|
"label": "Compile debug",
|
||||||
|
"type": "actionscript",
|
||||||
|
"debug": true
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
@ -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/).
|
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).
|
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).
|
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. Install the [Adobe AIR SDK 32](http://www.adobe.com/devnet/air/air-sdk-download.html) by simply extracting it to a known location.
|
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.
|
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.
|
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:
|
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:
|
||||||
|
|||||||
@ -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",
|
"version": "0.2.0",
|
||||||
"configurations": [
|
"configurations": [
|
||||||
{
|
{
|
||||||
"type": "swf",
|
"type": "swf",
|
||||||
"request": "launch",
|
"request": "launch",
|
||||||
"name": "Launch Spine Starling Example",
|
"name": "Launch Spine Starling Example"
|
||||||
"preLaunchTask": "ActionScript: compile debug - asconfig.json"
|
"preLaunchTask": "Compile debug"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
10
spine-starling/spine-starling-example/.vscode/tasks.json
vendored
Normal file
10
spine-starling/spine-starling-example/.vscode/tasks.json
vendored
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
{
|
||||||
|
"version": "2.0.0",
|
||||||
|
"tasks": [
|
||||||
|
{
|
||||||
|
"label": "Compile debug",
|
||||||
|
"type": "actionscript",
|
||||||
|
"debug": true
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user