Coder Social home page Coder Social logo

generatehtml's Introduction

generate 单个Html用于制作playable广告 cocos creator 3.3.2

生成后的文件可以直接预览, https://uurain.github.io/generateHtml/index

支持png jpg plist animation plist 模型 声音的demo

1.站在巨人的肩膀上https://github.com/fkworld/cocos-to-playable-ad

2.引擎版本是最新的creator 3.3.2版本

3.test3_3_2是测试工程

4.generate_332是生成工程

5.生成后的文件在dist/test/index.html

6.修改了system.js文件,加了一些特殊的写法用来支持register方法

7.增加build-templates模板,物理引擎选择了内置的版本,理论上用啥版本都可以,需要自己动手解决

8.因为mp3的播放用loader复写不了 所以用了一个很恶心的办法去 直接替换读取,参考main.js 166行,有啥比较好的方法 欢迎联系我

generatehtml's People

Contributors

uurain avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.