I’m using the phaser weapon plugin, and i’ve set the kill type to kill_distance: But, it is automatically set to 2, which doesn’t really allow it to travel very far. I’m wondering how i can set it to a larger number thanks in advance Answer You can just set the bulletKillDistance: This strikes me as an oversight in the documentation.
Tag: phaser-framework
Phaser .js memory leak. how properly release objects within Phaser Canvas app?
We have a game running Phaser .JS. Whilie using browsers, seems that the memory keeps growing. What is the proper method cleaning the objects? Answer I will condense my answer to make it usable. Phaser 2 claims that most objects can be simply dereferenced by assigning null to their references and this should trigger garbage collection. Instead others, like TilemapLayers,
HTML5 canvas height and width 100% distorts the game animation
I am not sure, how i can be more specific, but i am putting my best effort to explain it.I am trying to understand, what should i be looking for to be more specific, so this is all i have got at this moment. I was exploring HTML5 JavaScript games, and I noticed, that making the canvas height and width