Gulp SASS: file to import not found or unreadable

I recently ran into a problem with gulp-sass, whereby some of the partials that were being included in my main .scss file were intermittently not being found. Gulp would throw up the error: file to import not found or unreadable: somefilename What's odd about this is that not only did the files in question exist, but if I simply went in and saved any file at all that was being 'watched' by Gulp - triggering a refresh of the gulp-sass task - the files would miracuously be found and everything would work fine! Doing a bit of Googling I found…

Read More

Better explosions with Phaser’s particle emitter

So I've been dabbling for a while in HTML5 game development, specifically using the Phaser framework. I've been documenting my progress offline for a few weeks and I'd like to post this online at some point... For now though, I wanted to write a post about using Phaser’s particle emitter to create an explosion effect that I think’s worked out really well. The effect combines a single explosion animation, with a particle emitter to make multiple semi-random explosions which really beefs up the effect. The graphics I’ve been using for B-Type came from GameDevMarket and along with…

Read More