Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
akdcl committed Jun 21, 2016
1 parent 29c88ac commit 243723d
Show file tree
Hide file tree
Showing 8 changed files with 27 additions and 34 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2012-2013 DragonBones team and other contributors
Copyright (c) 2012-2016 DragonBones team and other contributors

Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
Expand Down
28 changes: 16 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,20 @@
DragonBones ActionScript Library
======================
http://dragonbones.github.com/
DragonBones ActionScript Runtime
=========================
* [DragonBones source code][10]

Following steps show you how to use the source code:
1. Make sure you have got starling.swc.
2. Make sure you have installed some Flash IDE such as Flash Builder.
3. Create a ActionScript Library project and include the source code.
4. Import starling.swc into the project.
5. Build project and have fun.
# Supported engines
* [Startling][2] / [DragonBones startling Library][11]

There are some demos in [SkeletonAnimationDemos](https://github.com/DragonBones/SkeletonAnimationDemos) project shows how to use the library
# How to use
1. Make sure you have installed some Flash IDE such as Flash Builder.
2. Create a ActionScript Library project and include the [DragonBones source code][10].
3. Import engine source code such as [Startling source code][111] and [DragonBones startling source code][11].
4. Build project and have fun.

**All things you need to download can be found [here](http://dragonbones.github.com/download.html)**
Copyright 2012-2016 The DragonBones Team

Copyright 2012-2013 the DragonBones Team
[1]: http://dragonbones.github.com/
[2]: http://gamua.com/starling/
[10]: ./DragonBones/
[11]: ./Starling/
[111]: https://github.com/Gamua/Starling-Framework/
1 change: 1 addition & 0 deletions Starling/Demos/assets/Ubbie/Ubbie.json

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions Starling/Demos/assets/Ubbie/texture.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"imagePath":"texture.png","name":"Ubbie","SubTexture":[{"width":259,"y":579,"height":59,"name":"shade","x":225},{"width":347,"y":366,"height":211,"name":"pifeng","x":462},{"width":79,"y":162,"height":177,"name":"hand_r1","x":913},{"width":135,"y":425,"height":78,"name":"hand_r2","x":225},{"width":80,"y":621,"height":123,"name":"hand_l11","x":1},{"width":76,"y":621,"height":121,"name":"hand_l22","x":83},{"width":114,"y":1,"height":159,"name":"leg_r","x":898},{"width":115,"y":366,"height":153,"name":"leg_l","x":811},{"width":222,"y":425,"height":194,"name":"body","x":1},{"width":80,"y":341,"height":123,"name":"hand_l1","x":928},{"width":459,"y":1,"height":422,"name":"head_2","x":1},{"width":76,"y":579,"height":121,"name":"hand_l2","x":486},{"width":449,"y":199,"height":165,"name":"eye_hmj","x":462},{"width":199,"y":505,"height":50,"name":"eye","x":225},{"width":207,"y":640,"height":38,"name":"eye2","x":564},{"width":58,"y":466,"height":34,"name":"mouth","x":928},{"width":144,"y":521,"height":120,"name":"apple_","x":811},{"y":1,"frameX":-5,"frameHeight":214,"frameY":-10,"width":434,"frameWidth":448,"height":196,"name":"logo24","x":462}]}
Binary file added Starling/Demos/assets/Ubbie/texture.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion Starling/Demos/src/CoreElement.as
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ class Game extends Sprite

_player = new Mecha();

const text: TextField = new TextField(800, 60, "Press W/A/S/D to move. Press Q/E/SPACE to switch weapens.\nMove mouse to aim. Click to fire.");
const text: TextField = new TextField(800, 60, "Press W/A/S/D to move. Press Q/E/SPACE to switch weapens.\nMouse Move to aim. Click to fire.");
text.x = 0;
text.y = this.stage.stageHeight - 60;
text.autoSize = "center";
Expand Down
6 changes: 3 additions & 3 deletions Starling/Demos/src/HelloDragonBones.as
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@
[SWF(width = "800", height = "600", frameRate = "60", backgroundColor = "#666666")]
public class HelloDragonBones extends Sprite
{
[Embed(source = "../assets/DragonBoy/DragonBoy.json", mimeType = "application/octet-stream")]
[Embed(source = "../assets/TestC/002/taidiyounian.json", mimeType = "application/octet-stream")]
public static const DBDataA: Class;

[Embed(source = "../assets/DragonBoy/DragonBoy_texture_1.json", mimeType = "application/octet-stream")]
[Embed(source = "../assets/TestC/002/texture.json", mimeType = "application/octet-stream")]
public static const TADataA1: Class;

[Embed(source = "../assets/DragonBoy/DragonBoy_texture_1.png")]
[Embed(source = "../assets/TestC/002/texture.png")]
public static const TextureA1: Class;

private var _isMoved:Boolean = false;
Expand Down
21 changes: 4 additions & 17 deletions Starling/README.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,5 @@
DragonBones ActionScript Library
======================
http://dragonbones.github.com/
DragonBones Starling Library
=========================
* [Demos][1]

In this project you can find the source code of DragonBones' skeleton animation library, which is a framework support rendering characters with skeleton animation by parsing assets exported from [SkeletonAnimationDesignPanel](https://github.com/DragonBones/SkeletonAnimationDesignPanel).

Following steps show you how to use the source code:
1. Make sure you have got starling.swc v1.2 or later version.
2. Make sure you have installed some Flash IDE such as Flash Builder.
3. Create a ActionScript Library project and include the source code.
4. Import starling.swc into the project.
5. Build project and have fun.

There are some demos in [SkeletonAnimationDemos](https://github.com/DragonBones/SkeletonAnimationDemos) project shows how to use the library

**All things you need to download can be found [here](http://dragonbones.github.com/download.html)**

Copyright 2012-2013 the DragonBones Team
[1]: ./Demos/

0 comments on commit 243723d

Please sign in to comment.