Commit 7232f9e1 authored by liujiaxin's avatar liujiaxin

ff

parent d3037637
...@@ -4743,8 +4743,8 @@ ...@@ -4743,8 +4743,8 @@
"__type__": "TypedArray", "__type__": "TypedArray",
"ctor": "Float64Array", "ctor": "Float64Array",
"array": [ "array": [
-613.402, -606.402,
336.081, 319.081,
0, 0,
0, 0,
0, 0,
...@@ -5738,7 +5738,7 @@ ...@@ -5738,7 +5738,7 @@
"__type__": "TypedArray", "__type__": "TypedArray",
"ctor": "Float64Array", "ctor": "Float64Array",
"array": [ "array": [
-267.466, -606.89,
319.993, 319.993,
0, 0,
0, 0,
...@@ -5876,7 +5876,7 @@ ...@@ -5876,7 +5876,7 @@
"alignMode": 1, "alignMode": 1,
"_target": null, "_target": null,
"_alignFlags": 9, "_alignFlags": 9,
"_left": 358.534, "_left": 19.110000000000014,
"_right": 0, "_right": 0,
"_top": 22.507000000000005, "_top": 22.507000000000005,
"_bottom": 0, "_bottom": 0,
...@@ -11867,7 +11867,7 @@ ...@@ -11867,7 +11867,7 @@
"__type__": "TypedArray", "__type__": "TypedArray",
"ctor": "Float64Array", "ctor": "Float64Array",
"array": [ "array": [
-363.7, -607.539,
321.671, 321.671,
0, 0,
0, 0,
...@@ -12003,7 +12003,7 @@ ...@@ -12003,7 +12003,7 @@
"alignMode": 1, "alignMode": 1,
"_target": null, "_target": null,
"_alignFlags": 9, "_alignFlags": 9,
"_left": 262.3, "_left": 18.461000000000013,
"_right": 0, "_right": 0,
"_top": 20.829000000000008, "_top": 20.829000000000008,
"_bottom": 0, "_bottom": 0,
......
...@@ -90,6 +90,7 @@ export default class SceneComponent extends MyCocosSceneComponent { ...@@ -90,6 +90,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
initData() { initData() {
// 所有全局变量 默认都是null // 所有全局变量 默认都是null
this._cantouch = true; this._cantouch = true;
this.elephentState(user.mood == 0 ? 1 : 2);
} }
private home: cc.Node; private home: cc.Node;
...@@ -108,7 +109,7 @@ export default class SceneComponent extends MyCocosSceneComponent { ...@@ -108,7 +109,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
this.elephant = pg.view.find(this.home, "elephant"); this.elephant = pg.view.find(this.home, "elephant");
this.loading = pg.view.find(this, "loading"); this.loading = pg.view.find(this, "loading");
this.exitButton = pg.view.find(this.home, "exit_btn"); this.exitButton = pg.view.find(this.home, "exit_btn");
this.elephentState(0);
} }
initEvent() { initEvent() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment