Commit d0562263 by Shawn Wang

mock

parent 1c0c374e
{
"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
......@@ -21,6 +21,12 @@ class Controller extends egret.Sprite {
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")
this.control.texture = texture
......
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