mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-22 02:06:03 +08:00
[as3] Updated FDT projects to use player 23
This commit is contained in:
parent
c0908f19ed
commit
7637fdbefd
@ -14,7 +14,7 @@ com.powerflasher.fdt.core.PassManifests=true
|
|||||||
com.powerflasher.fdt.core.PassRsls=false
|
com.powerflasher.fdt.core.PassRsls=false
|
||||||
com.powerflasher.fdt.core.PassSwcs=true
|
com.powerflasher.fdt.core.PassSwcs=true
|
||||||
com.powerflasher.fdt.core.PlatformType=WEB
|
com.powerflasher.fdt.core.PlatformType=WEB
|
||||||
com.powerflasher.fdt.core.PlayerVersion=22.0
|
com.powerflasher.fdt.core.PlayerVersion=23.0
|
||||||
com.powerflasher.fdt.core.ProjectTypeHint=Web
|
com.powerflasher.fdt.core.ProjectTypeHint=Web
|
||||||
com.powerflasher.fdt.core.Runtime=Flash_Player
|
com.powerflasher.fdt.core.Runtime=Flash_Player
|
||||||
com.powerflasher.fdt.core.SdkName=Flex 4.6.0
|
com.powerflasher.fdt.core.SdkName=Flex 4.6.0
|
||||||
|
|||||||
@ -14,7 +14,7 @@ com.powerflasher.fdt.core.PassManifests=true
|
|||||||
com.powerflasher.fdt.core.PassRsls=false
|
com.powerflasher.fdt.core.PassRsls=false
|
||||||
com.powerflasher.fdt.core.PassSwcs=true
|
com.powerflasher.fdt.core.PassSwcs=true
|
||||||
com.powerflasher.fdt.core.PlatformType=WEB
|
com.powerflasher.fdt.core.PlatformType=WEB
|
||||||
com.powerflasher.fdt.core.PlayerVersion=22.0
|
com.powerflasher.fdt.core.PlayerVersion=23.0
|
||||||
com.powerflasher.fdt.core.ProjectTypeHint=Web
|
com.powerflasher.fdt.core.ProjectTypeHint=Web
|
||||||
com.powerflasher.fdt.core.Runtime=Flash_Player
|
com.powerflasher.fdt.core.Runtime=Flash_Player
|
||||||
com.powerflasher.fdt.core.SdkName=Flex 4.6.0
|
com.powerflasher.fdt.core.SdkName=Flex 4.6.0
|
||||||
|
|||||||
@ -727,7 +727,7 @@ public class SkeletonJson {
|
|||||||
|
|
||||||
import spine.attachments.MeshAttachment;
|
import spine.attachments.MeshAttachment;
|
||||||
|
|
||||||
internal class LinkedMesh {
|
class LinkedMesh {
|
||||||
internal var parent:String, skin:String;
|
internal var parent:String, skin:String;
|
||||||
internal var slotIndex:int;
|
internal var slotIndex:int;
|
||||||
internal var mesh:MeshAttachment;
|
internal var mesh:MeshAttachment;
|
||||||
|
|||||||
@ -14,7 +14,7 @@ com.powerflasher.fdt.core.PassManifests=true
|
|||||||
com.powerflasher.fdt.core.PassRsls=false
|
com.powerflasher.fdt.core.PassRsls=false
|
||||||
com.powerflasher.fdt.core.PassSwcs=true
|
com.powerflasher.fdt.core.PassSwcs=true
|
||||||
com.powerflasher.fdt.core.PlatformType=WEB
|
com.powerflasher.fdt.core.PlatformType=WEB
|
||||||
com.powerflasher.fdt.core.PlayerVersion=22.0
|
com.powerflasher.fdt.core.PlayerVersion=23.0
|
||||||
com.powerflasher.fdt.core.ProjectTypeHint=Web
|
com.powerflasher.fdt.core.ProjectTypeHint=Web
|
||||||
com.powerflasher.fdt.core.Runtime=Flash_Player
|
com.powerflasher.fdt.core.Runtime=Flash_Player
|
||||||
com.powerflasher.fdt.core.SdkName=Flex 4.6.0
|
com.powerflasher.fdt.core.SdkName=Flex 4.6.0
|
||||||
|
|||||||
@ -64,9 +64,9 @@ public class SpineboyExample extends Sprite {
|
|||||||
var skeletonData:SkeletonData = json.readSkeletonData(new SpineboyJson());
|
var skeletonData:SkeletonData = json.readSkeletonData(new SpineboyJson());
|
||||||
|
|
||||||
var stateData:AnimationStateData = new AnimationStateData(skeletonData);
|
var stateData:AnimationStateData = new AnimationStateData(skeletonData);
|
||||||
stateData.setMixByName("run", "jump", 0.2);
|
stateData.setMixByName("run", "jump", 0.4);
|
||||||
stateData.setMixByName("jump", "run", 0.4);
|
stateData.setMixByName("jump", "run", 0.4);
|
||||||
stateData.setMixByName("jump", "jump", 0.2);
|
stateData.setMixByName("jump", "jump", 0.4);
|
||||||
|
|
||||||
skeleton = new SkeletonAnimation(skeletonData, stateData);
|
skeleton = new SkeletonAnimation(skeletonData, stateData);
|
||||||
skeleton.x = 400;
|
skeleton.x = 400;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user