Category: javascript

So I was looking for a smart/quick/light way to apply grayscale filter to my images but not by using WebGL. What I found is that by using Image.blendMode = PIXI.blendModes.SATURATION I could simply create an image in Photoshop and apply that blend to it. This way you don’t have to create multiple grayscale versions of…

This is the second part (and most recent) of a parallax tutorial and animation using GSAP TweenMax. Before we begin a little bit of theory behind the parallax effect. Parallax is a displacement or difference in the apparent position of an object viewed along two different lines of sight, and is measured by the angle…

Hello, recently I was working on a project where I wanted to get all the images from the camera but because I wanted to load them in batches I had to find their filenames and store them in a local array for future use. Since the new cordova file plugin did some changes, there is…

Hello all I have launched another game on codecanyon which uses Phaser.io at its core, it is an arcade game of sorts like lunar-lander but with a shark… and rockets… and traps and you must never touch the floor, ok its nothing like lunar-lander apart from the low-gravity… Check it out: Jaws Saga: 3000AD

Recently as I was building a new game, I realized that one of the most re-used elements across a variety of games is the “modal”, whether it is a countdown, a message modal or a game-over modal. So I thought to create a little snippet that would make creating a modal an easier task, with…

Lately I have been using Phaser.io as a game framework/engine. And one thing that is quite tedius, is to manage your Sprites and animation frames, it is roughly 40% of your game development time. However there is one tool that now -that officially supports Phaser- cuts down this time at least by 90%. View more…

So I have to admit that I’m using Codepen alot, I’m also liking their “love/like” button. So I set to recreate the effect. This pen is still quite sought after and has received many “likes” This is the end result See the Pen Codepen heart by Michael Dobekidis (@netgfx) on CodePen. Continue if you want…

I had some free time and thought to experiment a bit with the new DrawSVG plugin from Greensock, it is a plugin that animates the border of an SVG, other parts of the SVG like fill or opacity could already be tweened via TweenMax/Lite. Here’s a quick tutorial to get you started and I hope…

Nightcast is a horror game that places the player in the role of an adventurer that moves through a dark forest (too dark) and has only his trusty flashlight to guide him. As ghosts appear the player needs to dispatch them swiftly before the fear overwhelms him. Game is ready to be compiled using Phonegap…