Added the new ball graphic

This commit is contained in:
Ruben Müller 2013-04-03 21:15:36 +02:00
parent 85e2f3a1ba
commit 4866476fe9
3 changed files with 2 additions and 3 deletions

View file

@ -14,10 +14,10 @@ ig.module(
], ],
wallSound: new ig.Sound('media/sounds/wall.ogg'), wallSound: new ig.Sound('media/sounds/wall.ogg'),
name: 'ball', name: 'ball',
size: {x: 24, y: 24}, size: {x: 40, y: 40},
collides: ig.Entity.COLLIDES.ACTIVE, collides: ig.Entity.COLLIDES.ACTIVE,
type: ig.Entity.TYPE.B, type: ig.Entity.TYPE.B,
animSheet: new ig.AnimationSheet( 'media/ball.png', 24, 24 ), animSheet: new ig.AnimationSheet( 'media/ball.png', 40, 40 ),
bounciness: 1, bounciness: 1,
maxVel: {x: 1000, y: 1000}, maxVel: {x: 1000, y: 1000},

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.9 KiB

After

Width:  |  Height:  |  Size: 5.4 KiB

View file

@ -3,7 +3,6 @@ Initial release
## GFX ## GFX
* Title Screen * Title Screen
* Main background screen (CSS/HTML Canvas) * Main background screen (CSS/HTML Canvas)
* Ball
* Game over screen (change main background) * Game over screen (change main background)
* Highscore-Screen * Highscore-Screen
* Font for score (search fo a tool and make it fancy) * Font for score (search fo a tool and make it fancy)