letsgamedev / spielsklave

Das Spiel das du auf https://www.youtube.com/letsgamedev mitbestimmst!
109 stars 9 forks source link

[Bug] Game crashes after many presses of 'V' #28

Closed lnjX closed 7 years ago

lnjX commented 7 years ago

image

init init
phaser-ninja-physics.js:22510    Phaser v2.6.2 | Pixi.js | Canvas | WebAudio     http://phaser.io ♥♥♥
init.js:66 init Preloader
init.js:66 init Main
pad.js:57 pad init
pad.js:114 GAME PAD CONNECTED
game.js:124 
P…r.TilemapLayer {type: 10, physicsType: 10, position: P…r.Point, scale: P…r.Point, pivot: P…r.Point…}
init.js:58 sound little_egg_hatch
init.js:58 sound player_to_stone
init.js:58 sound stone_push
init.js:58 sound player_from_stone
init.js:58 sound stone_push
init.js:58 sound player_to_stone
init.js:58 sound player_from_stone
init.js:58 sound stone_push
init.js:58 sound player_to_stone
init.js:58 sound player_from_stone
init.js:58 sound stone_push
init.js:58 sound player_to_stone
init.js:58 sound player_from_stone
init.js:58 sound stone_push
phaser-ninja-physics.js:76213 Uncaught TypeError: Cannot read property 'pos' of null
    at Phaser.Physics.Ninja.Body.get (phaser-ninja-physics.js:76213)
    at Phaser.Sprite.shell.update (player.js:143)
    at Phaser.Group.update (phaser-ninja-physics.js:20107)
    at Phaser.World.Phaser.Group.update (phaser-ninja-physics.js:20107)
    at Phaser.Stage.update (phaser-ninja-physics.js:18211)
    at Phaser.Game.updateLogic (phaser-ninja-physics.js:22745)
    at Phaser.Game.update (phaser-ninja-physics.js:22687)
    at Phaser.RequestAnimationFrame.updateRAF (phaser-ninja-physics.js:48386)
    at _onLoop (phaser-ninja-physics.js:48369)

I pressed the 'V'-key very fast and often, and then it just crashed.

Version: latest / 2017.02.07 - https://github.com/letsgamedev/spielsklave/commit/0627e45e5076466e5d9bd4b36e44d0cf48126096 Browser: Chromium/Chrome (Version 56.0.2924.76 built on Debian 9.0, running on Debian 9.0 (64-bit))

letsgamedev commented 7 years ago

This is duplicate #22

lnjX commented 7 years ago

^ Sorry

letsgamedev commented 7 years ago

Kein Problem, lieber doppelt, als gar nicht^^