spinnerbox Posted March 12, 2015 Share Posted March 12, 2015 My guess is, I have to send a physicsConfig parameter to my game constructor in order to have arcade physics object inside my game object. This is my game constructor and the last parameter is not set up.var game = new Phaser.Game(800, 600, Phaser.AUTO, '', { preload: preload, create: create, update: update }, false, true, physicsConfig);What should I include inside physicsConfig = { } in order to have Arcade base system and avoid creation of new Arcade object?arcade = new Phaser.Physics.Arcade(game);I am using Phaser 2.2.2 Link to comment Share on other sites More sharing options...
PhaserEditor2D Posted March 21, 2017 Share Posted March 21, 2017 I had the same question... I found in the Phaser code that you can use it in this way: var game = new Phaser.Game(..., { arcade : true }); Link to comment Share on other sites More sharing options...
Recommended Posts