Commit 11c3d433 authored by lujinlei's avatar lujinlei

'1'

parent 877581ed
......@@ -12,6 +12,8 @@ class Main extends MainBase {
}
window['Main'] = Main;
egret.runEgret({
renderMode: "webgl", audioType: 0, calculateCanvasScaleFactor: (context: any) => {
......
......@@ -14,7 +14,7 @@ export default class PlayScene extends PlaySceneBase {
system:GravityParticleSystem;
async start(data?) {
super.start();
console.log("招行");
await Promise.all([
RES.getResAsync("newParticle_png"),
RES.getResAsync("newParticle_json"),
......
......@@ -12,6 +12,9 @@ export default class StartScene extends StartSceneBase {
RES.getResAsync("firePot_png")
]);
const bg = new egret.Bitmap();
bg.texture = RES.getRes("firePot_png");
this.addChild(bg);
......
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