function preload () {
- game.load.image('ground', 'ground.svg');
- game.load.image('player_girl', 'csaj.svg');
- game.load.image('player_goat', 'kecskecsaj.svg');
- game.load.image('player_bird', 'bird.svg');
- game.load.image('guard', 'guard.svg');
- game.load.image('birdcage', 'birdcage.svg');
+ game.load.image('ground', 'ground.png');
+ game.load.image('player_girl', 'csaj.png');
+ game.load.image('player_goat', 'kecskecsaj.png');
+ game.load.image('player_bird', 'bird.png');
+ game.load.image('guard', 'guard.png');
+ game.load.image('birdcage', 'birdcage.png');
}