background preloader

HTML5 Game Engines - Find Which is Right For You

HTML5 Game Engines - Find Which is Right For You

html5 - 2D Engines for Javascript Box2DJS - Physics Engine for JavaScript Backgrid.js - A powerful widget set for building data grids with Backbone.js Making Sprite-based Games with Canvas The web is everywhere, and offers a very powerful and non-traditional environment for creating and distributing apps. Instead of the code-compile-run cycle, simply refresh your app or even write code live within the browser. Additionally, it's relatively painless to distribute your app across a huge number of platforms. It's exciting that in the past few years, developing games using HTML5, the technology behind the web, has become a reality. The canvas element was introduced with HTML5 and provides an API for rendering on the web. The API is simple, but if you've never done graphics work before it might take some getting used to. Using canvas is simple: just create a <canvas> tag, create a rendering context from it in javascript, and use methods like fillRect and drawImage on the context to render shapes and images. In this article, we're going to create a 2d game with canvas; a real game with sprites, animations, collision detection, and of course, explosions! Gearing Up Game Loop Input

LimeJS HTML5 Game Framework Pixi.js the 2D webGL and canvas renderer announced — goodboy© Technical Partner Mat Groves blows the lid on our latest treat… UPDATE – Pixi.js is now available on github! For the last few months we’ve been hard at work, deep in the Goodboy code mines digging up a little treat for you all. So without further ado (insert drumroll here), it gives me great pleasure to introduce pixi.js! The aim of this project is to provide a fast, lightweight 2D library that works across all devices, both mobile and desktop. “Why should we care?” Although I fully intended pixi.js to be used to make wonderful, juicy HTML5 games, it is not a game engine – it is a rendering engine. I like to think of pixi.js as more like a 2D version of three.js so it will enable people to build all kinds of great 2D web experiences that we’ve all been building for years in Flash. Another important goal of pixi.js is to tap into the raw power of webGL for its rendering speed. Of course pixi.js also has a renderer that comes in canvas flavour that is optimised to the nuts too.

10 个免费超棒的编程用等宽字体 太多程序员没有太多心思去关注他们每天都在面对的编程字体,然后编码工作需要长时间盯着屏幕并阅读一些非常复杂的文本。一个好的字体可以很大程度上提升阅读代码的愉悦感,提高生产力。 本文介绍 10 个适合在编程时使用的等宽字体,它们都是免费的,效果很好。 1. Source Code Pro 是 Adobe 的作品,可从 Github 上免费下载. 2. 作品来自 Mark Simonson studio . 3. DejaVu 的等宽版本,一个广受欢迎的开源字体 4. 一个 固定宽带的字体 ,外观和感觉都很有凝聚力,也是我最喜欢的 5. 一个 好看的和清晰的编码的字体 ,有两个不同版本 —— slashed 和 dotted 6. 一个 很狭窄的编程字体 用于减低间距减少滚动 7. Terminus Font 是一个简介、固定宽度的 bitmap 字体 8. 一个 编程字体 主要用于很小字显示 9. 不是最漂亮的 等宽字体 , 但仍不失为一个好的选择 10. Linux 上很受欢迎的 Linux distro’s font family . via typography-daily

Danc's Miraculously Flexible Game Prototyping Graphics for Small Worlds Don't you think it is time for some new free graphics? The originals The original set of miraculously flexible prototyping graphics have been out there for a couple of years now. In that time, they've been used in mini-MMO's, shooters, RPGs, platformers and dozens of various projects that lurk in the dark squishy nooks of the ever fermenting, communal indie mash. However, they had some issues. They were in a format that wasn't readily accessible to most users. There were also a couple other areas I wanted to explore.HD pixel art: There is an emerging artistic style that showed you could keep the intricate iconic style found in pixel art, but modernize it in such a way to take advantage of the crispness found in modern high resolution displays. Small World So I started a new graphics set that took all these into account. What types of games can the Small World graphics be used for? What doesn't this set include? The goodsSo what are you waiting for? take careDanc.

Using HTML5 audio and video - Web developer guide HTML5 introduces built-in media support via the <audio> and <video> elements, offering the ability to easily embed media into HTML documents. Embedding media in your HTML document is trivial: <video src=" controls> Your browser does not support the <code>video</code> element. </video> This example plays a sample video, with playback controls, from the Theora web site. Here is an example for embedding audio into your HTML document <audio src="/test/audio.ogg"><p>Your browser does not support the <code>audio</code> element. The src attribute can be a URL of the audio file or the path to the file on the local system. <audio src="audio.ogg" controls autoplay loop><p>Your browser does not support the <code>audio</code> element </p></audio> This code example uses attributes of the <audio> element: The preload attribute is used in the audio element for buffering large files. This plays the Ogg video file in browsers supporting the Ogg format. Using Flash

Impact - HTML5 Canvas & JavaScript Game Engine