Giter Club home page Giter Club logo

defold-playable-ads's People

Contributors

aglitchman avatar dri-richard avatar miketostring avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

defold-playable-ads's Issues

Add option to include WASM?

Could be a flag to include with gulp?

Some use cases for this tool just want everything in a single .html file and don't care if it's a little bigger while benefits of WASM would be useful.

In fact it would be cool to be able to force WASM too and only include it as an option.

TypeError: Console expects a writable stream instance

First of all, thank you very much for such amazing tool!

I have a little problem when calling gulp in the playable_ad folder.

TypeError: Console expects a writable stream instance at new Console (console.js:35:11) at Object.<anonymous> (c:\Projects\html5games\playable_ad\node_modules\gulp-download-stream\node_modules\fancy-log\index.js:7:15) at Module._compile (module.js:653:30) at Object.Module._extensions..js (module.js:664:10) at Module.load (module.js:566:32) at tryModuleLoad (module.js:506:12) at Function.Module._load (module.js:498:3) at Module.require (module.js:597:17) at require (internal/module.js:11:18) at Object.<anonymous> (c:\Projects\html5games\playable_ad\node_modules\gulp-download-stream\index.js:9:11)

My Node JS Version: 20.10.0 (includes npm 10.2.3)

I use the temp fix for that:
Openning playable_ad\node_modules\gulp-download-stream\node_modules\fancy-log\index.js at 7:15
And replacing
var console = new Console({ stdout: process.stdout, stderr: process.stderr, colorMode: false, });
to
var console = new Console(process.stdout,process.stderr);

But the problem is every time I clean node_modules I have to fix that again (obviously). It would be nice to have some permanent fix for that, if possible. Hope for your help! Thanks!

Using it for a Defold game?

Hello,

I have been briefly working with Defold and have some HTML5 games that generate a WASM file and also an asmjs.js for the game.

In discussing things on the discord channel it was suggested that just maybe your defold-playable-ads repo might be a very good way for me to consolidate all of the files in that game into a single HTML file and I wanted to ask how this could be done as I am unclear on the steps needed.

I have the Deofld HTML5 bundle game directory but how should I proceed from there?

Any help would be greatly appreciated.

Projects with spaces in title fail to build

If a project title contains spaces, the gulp process fails to find the .js files built by Bob, as Defold's BundleHelper.projectNameToBinaryName() sanitises the project title in determining the output filenames.

Still works?

The defold app works, but when i generate the html file, this just open a blank site

Console error:
Uncaught TypeError: Cannot read property 'getBoundingClientRect' of undefined
at Object.calculateMouseEvent (eval at (playable_ads.html:1), :95:122932)
at onMousemove (eval at (playable_ads.html:1), :95:213494)

Same Error with the demo project online

Error when doing gulp on Windows

This is for a practically empty project

[18:33:38] Starting 'bundlePlayableAds'...
[18:33:38] * fzstd.js size 8314 B (8.31 kB)
JS_Parse_Error [SyntaxError]: Unexpected token: keyword «function», expected: punc «,»
    at JS_Parse_Error.get (eval at <anonymous> (C:\Users\s\OneDrive\Documents\generic\playable_ad\node_modules\uglify-js\tools\node.js:20:1), <anonymous>:71:23)
    at getStackString (node:internal/util/inspect:1221:37)
    at formatError (node:internal/util/inspect:1343:15)
    at formatRaw (node:internal/util/inspect:970:14)
    at formatValue (node:internal/util/inspect:825:10)
    at inspect (node:internal/util/inspect:350:10)
    at formatWithOptionsInternal (node:internal/util/inspect:2241:40)
    at formatWithOptions (node:internal/util/inspect:2103:10)
    at console.value (node:internal/console/constructor:348:14)
    at console.warn (node:internal/console/constructor:381:61) {
  filename: '0',
  line: 128,
  col: 32,
  pos: 4828
}

Always download latest bob

SHA1 of the latest stable release can always be downloaded here:

d.defold.com/stable/info.json

Would it be possible to download and parse info.json and use the SHA1 when downloading bob.jar?

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.