ºÝºÝߣ
Submit Search
Javascript and browser games
?
1 like
?
654 views
Willian Molinari
Follow
A lightning talk about javascript games in the browser.
Read less
Read more
1 of 31
Download now
Download to read offline
More Related Content
Javascript and browser games
1.
Javascript e os jogos
no browser por
10.
¡ö ¡ö ¡ö
11.
¡ö ¡ö ¡ö
14.
¡ö ¡ö ¡ö ¡ö
15.
1 ig.module('game.entities.hud') 2 .requires('impact.entity') 3
.defines(function () { 4 EntityHud = ig.Entity.extend({ 5 _wmIgnore: true, 6 animSheet: new ig.AnimationSheet('media/hud.png', 10, 10), 7 gravityFactor: 0, 8 zIndex: 2, 9 name: "hud", 10 piece_collected: false, 11 12 init: function (x, y, settings) { 13 this.parent(x, y, settings); 14 this.addAnim('empty', 1, [0]); 15 this.addAnim('full', 1, [1]); 16 }, 17 18 update: function () { 19 if( this.piece_collected ){ this.currentAnim = this.anims.full; } 20 this.parent(); 21 } 22 }); 23 });
Download