This commit is contained in:
2024-07-22 17:28:32 +08:00
parent 5c961f1f37
commit 90cd2a9a36
6 changed files with 19 additions and 19 deletions

View File

@@ -396,7 +396,7 @@
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
"x": 0, "x": 0,
"y": 113, "y": 50,
"z": 0 "z": 0
}, },
"_lrot": { "_lrot": {
@@ -489,7 +489,7 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 189.390625, "width": 56.04296875,
"height": 34.24 "height": 34.24
}, },
"_anchorPoint": { "_anchorPoint": {
@@ -525,7 +525,7 @@
"b": 255, "b": 255,
"a": 255 "a": 255
}, },
"_string": "oops - framework", "_string": "oops",
"_horizontalAlign": 1, "_horizontalAlign": 1,
"_verticalAlign": 1, "_verticalAlign": 1,
"_actualFontSize": 24, "_actualFontSize": 24,

View File

@@ -396,7 +396,7 @@
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
"x": 0, "x": 0,
"y": 113, "y": 50,
"z": 0 "z": 0
}, },
"_lrot": { "_lrot": {
@@ -489,7 +489,7 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 189.390625, "width": 56.04296875,
"height": 34.24 "height": 34.24
}, },
"_anchorPoint": { "_anchorPoint": {
@@ -525,7 +525,7 @@
"b": 255, "b": 255,
"a": 255 "a": 255
}, },
"_string": "oops - framework", "_string": "oops",
"_horizontalAlign": 1, "_horizontalAlign": 1,
"_verticalAlign": 1, "_verticalAlign": 1,
"_actualFontSize": 24, "_actualFontSize": 24,

View File

@@ -396,7 +396,7 @@
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
"x": 0, "x": 0,
"y": 113, "y": 50,
"z": 0 "z": 0
}, },
"_lrot": { "_lrot": {
@@ -489,7 +489,7 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 189.390625, "width": 56.04296875,
"height": 34.24 "height": 34.24
}, },
"_anchorPoint": { "_anchorPoint": {
@@ -525,7 +525,7 @@
"b": 255, "b": 255,
"a": 255 "a": 255
}, },
"_string": "oops - framework", "_string": "oops",
"_horizontalAlign": 1, "_horizontalAlign": 1,
"_verticalAlign": 1, "_verticalAlign": 1,
"_actualFontSize": 24, "_actualFontSize": 24,

View File

@@ -250,8 +250,8 @@
}, },
"_lscale": { "_lscale": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
"x": 0.25, "x": -0.7,
"y": 0.25, "y": 0.7,
"z": 1 "z": 1
}, },
"_mobility": 0, "_mobility": 0,
@@ -396,7 +396,7 @@
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
"x": 0, "x": 0,
"y": 113, "y": 110,
"z": 0 "z": 0
}, },
"_lrot": { "_lrot": {
@@ -489,7 +489,7 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 189.390625, "width": 56.04296875,
"height": 34.24 "height": 34.24
}, },
"_anchorPoint": { "_anchorPoint": {
@@ -525,7 +525,7 @@
"b": 255, "b": 255,
"a": 255 "a": 255
}, },
"_string": "oops - framework", "_string": "boos",
"_horizontalAlign": 1, "_horizontalAlign": 1,
"_verticalAlign": 1, "_verticalAlign": 1,
"_actualFontSize": 24, "_actualFontSize": 24,

View File

@@ -250,7 +250,7 @@
}, },
"_lscale": { "_lscale": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
"x": 0.25, "x": -0.25,
"y": 0.25, "y": 0.25,
"z": 1 "z": 1
}, },
@@ -396,7 +396,7 @@
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
"x": 0, "x": 0,
"y": 113, "y": 60,
"z": 0 "z": 0
}, },
"_lrot": { "_lrot": {
@@ -489,7 +489,7 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 189.390625, "width": 90.6953125,
"height": 34.24 "height": 34.24
}, },
"_anchorPoint": { "_anchorPoint": {
@@ -525,7 +525,7 @@
"b": 255, "b": 255,
"a": 255 "a": 255
}, },
"_string": "oops - framework", "_string": "monster",
"_horizontalAlign": 1, "_horizontalAlign": 1,
"_verticalAlign": 1, "_verticalAlign": 1,
"_actualFontSize": 24, "_actualFontSize": 24,

View File

@@ -47,7 +47,7 @@ export class Monster extends ecs.Entity {
var mv = node.getComponent(MonsterViewComp)!; var mv = node.getComponent(MonsterViewComp)!;
this.add(mv); this.add(mv);
node.setScale(-1, 1, 1); // node.setScale(-1, 1, 1);
tween(node).to(1, { position: new Vec3(0, -60, 0) }, { tween(node).to(1, { position: new Vec3(0, -60, 0) }, {
onComplete: () => { onComplete: () => {
// this.as.walk(); // this.as.walk();