Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
crazyflirt
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
Shawn Wang
crazyflirt
Commits
d0562263
Commit
d0562263
authored
May 06, 2018
by
Shawn Wang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mock
parent
1c0c374e
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
1 deletion
+13
-1
moke.jpg
fe/resource/assets/moke.jpg
+0
-0
default.res.json
fe/resource/default.res.json
+7
-1
Controller.ts
fe/src/Controller.ts
+6
-0
No files found.
fe/resource/assets/moke.jpg
0 → 100644
View file @
d0562263
71 KB
fe/resource/default.res.json
View file @
d0562263
{
"groups"
:
[
{
"keys"
:
"bg_jpg,egret_icon_png,description_json,control_jpg,grid_jpg,logo_jpg,mask_jpg,grid_select_jpg,lighting_jpg,prop_heart_jpg,prop_light_jpg,catched_0_mp3,catched_1_mp3,catched_2_mp3,flirt_mp3,avatar_bg_jpg,bgm_mp3,transition_catcher_jpg,transition_runner_jpg,blood_jpg"
,
"keys"
:
"bg_jpg,egret_icon_png,description_json,control_jpg,grid_jpg,logo_jpg,mask_jpg,grid_select_jpg,lighting_jpg,prop_heart_jpg,prop_light_jpg,catched_0_mp3,catched_1_mp3,catched_2_mp3,flirt_mp3,avatar_bg_jpg,bgm_mp3,transition_catcher_jpg,transition_runner_jpg,blood_jpg
,moke_jpg
"
,
"name"
:
"preload"
}
],
...
...
@@ -105,6 +105,11 @@
"name"
:
"blood_jpg"
,
"type"
:
"image"
,
"url"
:
"assets/blood.jpg"
},
{
"name"
:
"moke_jpg"
,
"type"
:
"image"
,
"url"
:
"assets/moke.jpg"
}
]
}
\ No newline at end of file
fe/src/Controller.ts
View file @
d0562263
...
...
@@ -20,6 +20,12 @@ class Controller extends egret.Sprite {
this
.
panel
.
graphics
.
drawRect
(
1008
,
0
,
326
,
750
)
this
.
panel
.
graphics
.
endFill
()
this
.
addChild
(
this
.
panel
)
let
mock
=
new
egret
.
Bitmap
()
mock
.
texture
=
RES
.
getRes
(
"moke_jpg"
)
mock
.
x
=
1016
mock
.
y
=
10
this
.
addChild
(
mock
)
if
(
!
isCatcher
){
let
texture
:
egret
.
Texture
=
RES
.
getRes
(
"control_jpg"
)
...
...
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