javascript - TypeError: R[o5R.F6s] is not a function in changing states in phaser box2d -


i build game using phaser.2.4.3.min.js , phaser.2.2.2.box2d.min.js when trying change states error being raised typeerror: r[o5r.f6s] not function , can't seem figure out problem

ps : took source code of box2d plugin example folder in phaser , , did not purchase full plugin yet testing .

is there anyway fix issue ?

here game code : http://jsfiddle.net/fbdtq1tg/5/

and here error raised :

setgameover: function () {             this.game.state.start("thegame");         } 

enter image description here

the error seems clear: script trying execute function, variable isn't function.

what happens: box2d.m_gravity = box2d.clone(); r[o5r.f6s]() string "clone" , not function. r = box2d, the script trying execute function(r[o5r.f6s](). o5r object lot of functions in requested f6s string("clone").

so, did research why box2d.b2world = function(gravity){...this.m_gravity = gravity.clone();.. } , seems bug.

check out following links:


Comments

Popular posts from this blog

java - UnknownEntityTypeException: Unable to locate persister (Hibernate 5.0) -

python - ValueError: empty vocabulary; perhaps the documents only contain stop words -

ubuntu - collect2: fatal error: ld terminated with signal 9 [Killed] -