Epic Blog of Awesome

code.tech.sci.math.art.write

Game Mechanic Explorer

A collection of concrete examples for various game mechanics, algorithms, and effects. The examples are all implemented in JavaScript using the Phaser game framework, but the concepts and methods are general and can be adapted to any engine. Think of it as pseudocode. Each section contains several different examples that progress in sequence from a very basic implementation to a more advanced implementation. Every example is interactive and responds to keyboard or mouse input or touch.

via Game Mechanic Explorer.

photonstorm/phaser · GitHub

Phaser is a fast, free and fun open source HTML5 game framework. It uses Pixi.js for WebGL and Canvas rendering across desktop and mobile web browsers. Games can be compiled to iOS and Android apps via 3rd party tools.

Along with the fantastic open source community Phaser is actively developed and maintained by Photon Storm Limited. As a result of rapid support and a developer friendly API Phaser is currently one of the most starred game frameworks on Github.

Thousands of developers worldwide use it. From indies and multi-national digital agencies to schools and Universities. Each creating their own incredible games. Grab the source and join in the fun!

Visit: The Phaser website and follow on Twitter (#phaserjs)
Learn: API Documentation, Support Forum and StackOverflow
Code: 500+ Source Examples (also available in this git repo)
Read: Subscribe to the Newsletter and grab our Phaser Books
Chat: #phaserio IRC channel on freenode
Extend: With Phaser Plugins
Be awesome: Support our work via Gratipay

via photonstorm/phaser · GitHub.

Save game data locally – Coding and Game Design – HTML5 Game Devs Forum

Its really just:

localStorage.setItem'myItemKey', 'myContent';
localStorage.getItem'myItemKey';

Only thing to keep in mind: localstorage can only store strings.So in order to store whole objects, do this:

localStorage.setItem'myObject', JSON.stringifymyObject;

and in reverse:

myObject = JSON.parselocalStorage.getItem'myObject';

via Save game data locally – Coding and Game Design – HTML5 Game Devs Forum.

How can WCF support multiple IIS Binding specified per site ? – Ram Poornalingam’s WebLog – Site Home – MSDN Blogs

IIS has web sites, which are containers for virtual applications which contain virtual directories. The application in a site can be accessed through one or more IIS binding.IIS bindings provide two pieces of information – binding protocol and binding information. Binding protocol defines the scheme over which communication occurs, and binding information is the information used to access the site.

via How can WCF support multiple IIS Binding specified per site ? – Ram Poornalingam's WebLog – Site Home – MSDN Blogs.

JavaScript Game Engine Comparison – Build New Games

JavaScript has exploded in popularity over the past few years. It’s now the number one language on Github, and getting more popular every day. This popularity plus the recent advances in HTML5 has meant an explosion in the number of JavaScript game engines out there. The JavaScript wiki lists over 80 game engines, where to even begin in choosing one?! Let’s not complain too much though, this is a great problem to have, HTML5 gaming has arrived!

Today we are going to compare three popular JavaScript game engines: CraftyJS, ImpactJS and LimeJS. You really can’t go wrong with any of these great choices, but they do have their own strengths, weaknesses and style. Taking some time to get to know what’s out there is well worth it before embarking on a game.

via JavaScript Game Engine Comparison – Build New Games.

Javascript & HTML5 Game Engines Libraries – 51 Examples

Game developers have dropped Flash for its competitor, HTML5, which, along with some help from a Javascript plugin, makes smaller and more interesting online games for browsers or game apps for mobile. The mobile platforms are the most important reason why Javascript and HTML5 games are gaining this much popularity. Along with the rise of the smartphone market, the HTML5 and Javascript games have risen too.

via Javascript & HTML5 Game Engines Libraries – 51 Examples.