eva-engine / eva.js

Eva.js is a front-end game engine specifically for creating interactive game projects.
https://eva.js.org
MIT License
1.75k stars 108 forks source link

RendererSystem动态改变宽高 #92

Closed han-yao-long closed 3 years ago

han-yao-long commented 3 years ago

RendererSystem 尝试切换RendererSystem 但是会报错

Cannot read property 'canvas' of nul 是否有更好的方法?

fanmingfei commented 3 years ago

可以尝试使用 RendererSystem 上面的 resize 方法改变画布宽高