微信小游戏

创建于:2017-12-28

创建人: MotionWalk Studios

75 信息 764 成员
关于微信小游戏的内容

请教微信小游戏的问题

2018-12-28

Image title

请问这是什么问题啊,代码如下,

console.log(canvas);
const conf = {
width: Constants.ASSETS_WIDTH,
height: Constants.ASSETS_HEIGH,
canvas: canvas,
renderer: Phaser.CANVAS
// parent: 'phaser',
// transparent: false,
// antialias: false,
// state: { init:this.init, preload: this.preload, create: this.create, update: this.update, render:this.render },
// scaleMode: Phaser.ScaleManager.EXACT_FIT
};
this.game = new Phaser.Game(conf)



 
Novacada 2018-12-30

报错都是写简单的英文单词,串起来就知道为啥错了

 
2019-01-05

用微信的API创建canvas

 
kunnisser 2019-01-29

注意源码里的this.device.canvas 在手机里输出为false

 

加入 indienova

  • 建立个人/工作室档案
  • 建立开发中的游戏档案
  • 关注个人/工作室动态
  • 寻找合作伙伴共同开发
  • 寻求线上发行
  • 更多服务……
登录/注册