added the player paddle lives
This commit is contained in:
parent
1a0b80a3dc
commit
4aff16516e
3 changed files with 7 additions and 2 deletions
|
@ -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')) {
|
||||
|
|
BIN
dev/media/paddle-player_sheet.png
Normal file
BIN
dev/media/paddle-player_sheet.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 5.4 KiB |
2
doc/TODO
2
doc/TODO
|
@ -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/)
|
||||
|
|
Loading…
Reference in a new issue