Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
H
hy03_zadan
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
template admin
hy03_zadan
Commits
8bfc5972
Commit
8bfc5972
authored
Jun 30, 2023
by
yu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
caf082ff
Changes
9
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
1136 additions
and
882 deletions
+1136
-882
movecz.mp3
assets/hy03_zadan/audios/movecz.mp3
+0
-0
movecz.mp3.meta
assets/hy03_zadan/audios/movecz.mp3.meta
+7
-0
hy03_zadan.fire
assets/hy03_zadan/scene/hy03_zadan.fire
+1080
-872
hy03_zadan.ts
assets/hy03_zadan/scene/hy03_zadan.ts
+10
-7
image_bakeground_hy03_zadan.jpg
assets/hy03_zadan/textures/image_bakeground_hy03_zadan.jpg
+0
-0
image_bakeground_hy03_zadan.jpg.meta
.../hy03_zadan/textures/image_bakeground_hy03_zadan.jpg.meta
+3
-3
image_bakeground_hy03_zadan.png
assets/hy03_zadan/textures/image_bakeground_hy03_zadan.png
+0
-0
yy.png
assets/hy03_zadan/textures/yy.png
+0
-0
yy.png.meta
assets/hy03_zadan/textures/yy.png.meta
+36
-0
No files found.
assets/hy03_zadan/audios/movecz.mp3
0 → 100644
View file @
8bfc5972
File added
assets/hy03_zadan/audios/movecz.mp3.meta
0 → 100644
View file @
8bfc5972
{
"ver": "2.0.1",
"uuid": "c840a043-5599-47ac-868a-d35cf810b666",
"downloadMode": 0,
"duration": 0.365714,
"subMetas": {}
}
\ No newline at end of file
assets/hy03_zadan/scene/hy03_zadan.fire
View file @
8bfc5972
This diff is collapsed.
Click to expand it.
assets/hy03_zadan/scene/hy03_zadan.ts
View file @
8bfc5972
...
@@ -100,6 +100,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
...
@@ -100,6 +100,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
this
.
gameStart
();
this
.
gameStart
();
this
.
randomPopo
();
this
.
randomPopo
();
this
.
starAction
();
this
.
starAction
();
this
.
flyAction
();
}
}
initEvent
()
{
initEvent
()
{
...
@@ -277,6 +278,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
...
@@ -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
hammerPos
=
[{
x
:
-
345
,
y
:
30
},
{
x
:
24
,
y
:
30
},
{
x
:
305
,
y
:
30
},
{
x
:
545
,
y
:
30
}]
private
hammerAction
(
pos
)
{
private
hammerAction
(
pos
)
{
this
.
playLocalAudio
(
"
movecz
"
);
let
hammer
=
cc
.
find
(
"
hammer
"
,
this
.
layout_game
);
let
hammer
=
cc
.
find
(
"
hammer
"
,
this
.
layout_game
);
hammer
.
active
=
true
;
hammer
.
active
=
true
;
hammer
.
x
=
pos
.
x
+
195
;
hammer
.
x
=
pos
.
x
+
195
;
...
@@ -295,15 +297,16 @@ export default class SceneComponent extends MyCocosSceneComponent {
...
@@ -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
();
}
...
...
assets/hy03_zadan/textures/image_bakeground_hy03_zadan.jpg
0 → 100644
View file @
8bfc5972
197 KB
assets/hy03_zadan/textures/image_bakeground_hy03_zadan.
pn
g.meta
→
assets/hy03_zadan/textures/image_bakeground_hy03_zadan.
jp
g.meta
View file @
8bfc5972
{
{
"ver": "2.3.5",
"ver": "2.3.5",
"uuid": "
b53e5926-9719-4191-b15b-716082e7e660
",
"uuid": "
88e48541-fbd5-473f-b6f7-0ee846811565
",
"type": "sprite",
"type": "sprite",
"wrapMode": "clamp",
"wrapMode": "clamp",
"filterMode": "bilinear",
"filterMode": "bilinear",
...
@@ -13,8 +13,8 @@
...
@@ -13,8 +13,8 @@
"subMetas": {
"subMetas": {
"image_bakeground_hy03_zadan": {
"image_bakeground_hy03_zadan": {
"ver": "1.0.4",
"ver": "1.0.4",
"uuid": "
507f1034-b908-44a2-be22-e3265f84bbf8
",
"uuid": "
9c33fffe-48b9-4ca7-abb4-cb90c6c2d2b6
",
"rawTextureUuid": "
b53e5926-9719-4191-b15b-716082e7e660
",
"rawTextureUuid": "
88e48541-fbd5-473f-b6f7-0ee846811565
",
"trimType": "auto",
"trimType": "auto",
"trimThreshold": 1,
"trimThreshold": 1,
"rotated": false,
"rotated": false,
...
...
assets/hy03_zadan/textures/image_bakeground_hy03_zadan.png
deleted
100644 → 0
View file @
caf082ff
This diff is collapsed.
Click to expand it.
assets/hy03_zadan/textures/yy.png
0 → 100644
View file @
8bfc5972
161 KB
assets/hy03_zadan/textures/yy.png.meta
0 → 100644
View file @
8bfc5972
{
"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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment