Skip to content

Commit

Permalink
修改文件结构使其能被编译为SWC文件
Browse files Browse the repository at this point in the history
  • Loading branch information
BearBrine committed Oct 24, 2024
1 parent 5bc9fa9 commit 2092ea2
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 122 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
asdoc-output
bin
settings.json
*.zip
93 changes: 0 additions & 93 deletions Scripts.as3proj

This file was deleted.

9 changes: 0 additions & 9 deletions Untitled.docproj

This file was deleted.

26 changes: 7 additions & 19 deletions asconfig.json
Original file line number Diff line number Diff line change
@@ -1,26 +1,14 @@
{
"type": "lib",
"config": "air",
"compilerOptions": {
"source-path": [
"."
],
"default-frame-rate": 30,
"default-background-color": "#FFFFFF",
"default-size": {
"width": 800,
"height": 600
},
"target-player": "21.0",
"accessible": false,
"advanced-telemetry": false,
"benchmark": false,
"optimize": true,
"omit-trace-statements": true,
"show-unused-type-selector-warnings": true,
"strict": true,
"use-network": true,
"use-resource-bundle-metadata": true,
"warnings": true,
"verbose-stacktraces": false,
"static-link-runtime-shared-libraries": true
"include-sources": [
"."
],
"strict": false,
"output": "bin/BBBVNLib.swc"
}
}
2 changes: 1 addition & 1 deletion bvn/math/BBMath.as
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@

obj.transform.matrix = matrix.clone();
if (container != null) {
for (var parent: DisplayObjectContainer = obj.parent; ; parent = parent.parent) {
for (var parent: DisplayObjectContainer = obj.parent; true; parent = parent.parent) {
matrix.concat(parent.transform.matrix);
if (parent == container) {
break;
Expand Down

0 comments on commit 2092ea2

Please sign in to comment.