I have to make playaable adverts to run on fb. I’ve tried to construct the challenge with Facebook on the spot or utilizing one other software however I get the warning that the supply incorporates XMLhttprequest.
And the ensuing file can’t be previewed.
The bundle constructed for fb on the spot can NOT be used as playable adverts. You can use this
SmartAd Playabs Ads Pack Tool | Cocos Store for playable adverts.
What if I construct with Web cell and zip the entire thing?
I’m within the dimension, the software you say will increase the dimensions of the construct file an excessive amount of. I attempted it. The playable .html file wants < 2MB , whereas the complete useful resource zip file is < 5MB. Your means doesn’t meet that requirement.
Considering optimizing the dimensions of the sources as your challenge is just too massive. You can use https://tinypng.com to compress photographs.
I’ve packaged a challenge with solely 226k.
How did you this? I simply packed second empty challenge and I’ve 2.8m:
The challenge constructed is in cocos creator2.4.8, it’s worthwhile to crop some options in case you use cocos creator3.6.1.
(Project Settings · Cocos Creator)
I cropped virtually all options, depart simply mandatory, and I’ve 1.6M dimension: