我希望能够完全调整游戏区的宽度和高度。也就是说,我不想调用openfl测试html5,但我想创建我自己的html并将openfl添加到其中。(就像在画布上工作一样)?我该怎么做呢?
发布于 2021-06-21 17:07:11
您可以在application.xml中指定自定义index.html模板,如下所示:
<template path="assets/index.html" rename="index.html" />(另请参阅documentation)
另一种选择是在<iframe>中嵌入OpenFL应用程序。
https://stackoverflow.com/questions/67936294
复制相似问题