Comments (4)
@MattSurabian Hi! Is it possible for you to take a look? Thanks!
from duckhunt-js.
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.
- install TexturePacker https://www.codeandweb.com/texturepacker/download
- add path to folder with TexturePacker.exe to environment variable "Path" (in other system you must do similar operation, ask google about it)
- 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'
]));
- profit!
from duckhunt-js.
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)
- Adding different characters to each level? HOT 3
- Changing background each level and game completion screen HOT 3
- Chaning Tree / Background per level HOT 9
- onTouch for mobile support HOT 3
- Sniffing Glitch HOT 2
- Cant get gulp dev to work HOT 6
- Screen Flicker on Mobiles HOT 3
- Jank On Level Start HOT 1
- Dog Retrieve Count Bug HOT 1
- Vendor Everything HOT 4
- Restart option HOT 3
- how to make two players HOT 8
- here is the Android version
- Level 5 loading HOT 2
- Bring back level creation HOT 1
- not work in slackware HOT 1
- npm run audio - command error HOT 3
- Change Listen IP and port HOT 2
- Live Deployment - PORT Timeout HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from duckhunt-js.