Commit 8bfc5972 authored by yu's avatar yu

1

parent caf082ff
{
"ver": "2.0.1",
"uuid": "c840a043-5599-47ac-868a-d35cf810b666",
"downloadMode": 0,
"duration": 0.365714,
"subMetas": {}
}
\ No newline at end of file
This diff is collapsed.
......@@ -100,6 +100,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
this.gameStart();
this.randomPopo();
this.starAction();
this.flyAction();
}
initEvent() {
......@@ -277,6 +278,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
private hammerPos = [{ x: -345, y: 30 }, { x: 24, y: 30 }, { x: 305, y: 30 }, { x: 545, y: 30 }]
private hammerAction(pos) {
this.playLocalAudio("movecz");
let hammer = cc.find("hammer", this.layout_game);
hammer.active = true;
hammer.x = pos.x + 195;
......@@ -295,15 +297,16 @@ export default class SceneComponent extends MyCocosSceneComponent {
private flyAction() {
let image_aircraft = cc.find("bg/image_aircraft", this.node);
image_aircraft.setPosition(1200, 300);
cc.tween(image_aircraft).repeatForever(cc.tween(image_aircraft).to(10, { x: 0, y: 50 }).to(10, { x: -1200, y: 300 })
.call(() => {
image_aircraft.setPosition(1200, 300);
})).start();
}
......
{
"ver": "2.3.5",
"uuid": "b53e5926-9719-4191-b15b-716082e7e660",
"uuid": "88e48541-fbd5-473f-b6f7-0ee846811565",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
......@@ -13,8 +13,8 @@
"subMetas": {
"image_bakeground_hy03_zadan": {
"ver": "1.0.4",
"uuid": "507f1034-b908-44a2-be22-e3265f84bbf8",
"rawTextureUuid": "b53e5926-9719-4191-b15b-716082e7e660",
"uuid": "9c33fffe-48b9-4ca7-abb4-cb90c6c2d2b6",
"rawTextureUuid": "88e48541-fbd5-473f-b6f7-0ee846811565",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
......
{
"ver": "2.3.5",
"uuid": "840e459b-c4a4-4cc4-bbbe-aa7b60859d7d",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 600,
"height": 400,
"platformSettings": {},
"subMetas": {
"yy": {
"ver": "1.0.4",
"uuid": "51303cc0-be4d-439d-9595-08df0def198d",
"rawTextureUuid": "840e459b-c4a4-4cc4-bbbe-aa7b60859d7d",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": -0.5,
"trimX": 31,
"trimY": 101,
"width": 538,
"height": 199,
"rawWidth": 600,
"rawHeight": 400,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
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