added the player paddle lives

This commit is contained in:
Ruben Müller 2013-04-18 21:52:22 +02:00
parent 1a0b80a3dc
commit 4aff16516e
3 changed files with 7 additions and 2 deletions

View file

@ -6,7 +6,12 @@ ig.module(
)
.defines(function(){
EntityPaddlePlayer = EntityPaddle.extend({
animSheet: new ig.AnimationSheet('media/paddle-player.png', 30, 120),
animSheet: new ig.AnimationSheet('media/paddle-player_sheet.png', 30, 120),
/*anim: null,
init: function(){
this.anim = new ig.Animation( this.animSheet, 0.1, [0,1,2,3,4] );
},*/
update: function(){
if (ig.input.state('up')) {

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.4 KiB

View file

@ -3,7 +3,7 @@ Initial release
## GFX
* Game over screen (change main background)
* Highscore-Screen
* Font for score (search fo a tool and make it fancy)
* Font for score (search fo a tool and make it fancy) => 999999
## Sound
* Background-tune! (http://www.nosoapradio.us/)