Giter Club home page Giter Club logo

Comments (6)

renancouto avatar renancouto commented on June 3, 2024

I've used sprite-factory with no problems in the past, but since I moved my workflow to node, I'm using Sprite Packer now, which runs on Grunt as a task.

from sprite-factory.

ldexterldesign avatar ldexterldesign commented on June 3, 2024

Hey,

Thanks for reply

How easy is this to setup if you have no Node/Grunt experience?

Cheers,

from sprite-factory.

renancouto avatar renancouto commented on June 3, 2024

It's not that hard, it's different though. To make it easy I've setup a simple example here, so to get it running you need to do this:

  • install node.js
  • install grunt globally: (sudo) npm install grunt-cli -g
  • clone the example
  • install the dependencies: npm install
  • run the task: grunt spritepacker

This task will create an image on img folder and a sass fille on sass.

Hope that helps.
Cheers!

from sprite-factory.

ldexterldesign avatar ldexterldesign commented on June 3, 2024

Hey,

Thanks so much for this - really kind

I got your cloned repo' grunting sprites straight away (I guess it's configured perfectly). More than I can say for https://github.com/karfcz/grunt-sprite-packer , which has a lot more cruft - not the easiest thing for a beginner to grunt.

After taking what a gleaned from http://gruntjs.com/getting-started and your repo' I managed to get the https://github.com/karfcz/grunt-sprite-packer clone up and running by adding a few directories (the reason I couldn't get it working earlier).

Thanks again,

PS have you looked into SVG tools of this ilk?

from sprite-factory.

renancouto avatar renancouto commented on June 3, 2024

@ldexterldesign I've never used Grunt to deal with SVGs, but I think https://github.com/sindresorhus/grunt-svgmin might help.

from sprite-factory.

ldexterldesign avatar ldexterldesign commented on June 3, 2024

Great, thanks - will check it out

Cheers,

from sprite-factory.

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.