Giter Club home page Giter Club logo

Comments (4)

jorisgraat avatar jorisgraat commented on May 18, 2024

@MattSurabian Hi! Is it possible for you to take a look? Thanks!

from duckhunt-js.

Ellarddekoeijer avatar Ellarddekoeijer commented on May 18, 2024

I believe that in the future you can do this to get it working.
npm i gulp-connect --save
and then add
var connect = require('gulp-connect');
to the gulpfile.js

note that you need to have TexturePacker running locally, it should be able to run from anywhere so add it to your path

from duckhunt-js.

IAluI avatar IAluI commented on May 18, 2024

@jorisgraat

  1. install TexturePacker https://www.codeandweb.com/texturepacker/download
  2. add path to folder with TexturePacker.exe to environment variable "Path" (in other system you must do similar operation, ask google about it)
  3. rewrite task 'images':
gulp.task('images', shell.task([
  'TexturePacker --version || echo ERROR: TexturePacker not found, install TexturePacker',
  'TexturePacker --disable-rotation --data dist/sprites.json --format json --sheet dist/sprites.png src/assets/images'
]));
  1. profit!

from duckhunt-js.

MattSurabian avatar MattSurabian commented on May 18, 2024

Thanks again to awesome community members @IAluI and @Ellarddekoeijer! Sorry I have been delayed on this one @jorisgraat. I have just pushed a patch that should fix this 9a934de

A small nitpick in the recommendations above is that this should be a dev dependency not a runtime one, so the correct command to run would be npm i gulp-connect --save-dev. Now that it's added to package json though folks shouldn't have to think about it and this will "just work" going forward.

from duckhunt-js.

Related Issues (20)

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.