What a shame, playable ads can be very efficient (judging by your own benchmark ).
Iâll try to fix it then. Any pointer about where the error could come from?
What a shame, playable ads can be very efficient (judging by your own benchmark ).
Iâll try to fix it then. Any pointer about where the error could come from?
I added info to the README to point that I didnât update the project for the newest Defold versions.
To fix it you should update html5/engine_template.html
+ the code in the gulpfile.js
.
Updated 2021/07/01:
For the newcomers: look at the new topic about this asset.
Whatâs the difference between building using the IDE and your GULP script?
Building and bundling with Defold IDE, I obtain a folder, which is ~3.5MB compressed, which seems like it could work for a Facebook Playable Ads (requirements are <5MB zip containing all files).
Am I missing something?
This gulp script was able to package a game into a single HTML file. Itâs the requirement for âPlayable HTML5 Assetâ, and, also, the size shouldnât be more than 2MB. It was the only option two years ago.
I would love to know your results for a playable ad in a zip file format!
P.S. IronSource still requires a single HTML file, but the file limit is 5MB.
For Facebook, I see theyâre accepting 5MB zip file.
So I guess we shouldnât need to compress everything into one file anymore.
For Facebook, yes. For other networks take a look at the table: https://docs.lunalabs.io/docs/playable/ad-networks/overview
Very useful link, thanks.
Any intuition about what could have broken your project starting with Defold 1.2.169? The changelog doesnât seem to have anything related to htlm5 (except the IE compatbilityâŚ).
There were lots of changes: an upgrade to Emscripten 2.0.11, a new file loader etc.
Okay, Iâll upgrade the project to the latest Defold today/tomorrow and make new topic on the forum for this asset. In fact, itâll require 1.2.184 beta because of the new .defignore
feature.
Done!
Amazing! Thanks a lot, it now works great!
Will start working on playable ads thanks to your work.