zedacapitinga Posted March 10, 2018 Share Posted March 10, 2018 (edited) I started a project some time ago and it uses an old version of phaser. When I add the new phaser the extensions do not work. I'm starting at the node and I do not know if it has to have this installed. I had edited from: tilemap.prototype for tilemaps.prototype. But I could not do this with Phaser.Sprite.prototype. Edited March 10, 2018 by zedacapitinga Link to comment Share on other sites More sharing options...
PixelPicoSean Posted March 10, 2018 Share Posted March 10, 2018 Are you trying to use Phaser 3 in a Phaser 2 project? Link to comment Share on other sites More sharing options...
zedacapitinga Posted March 10, 2018 Author Share Posted March 10, 2018 Yeap Link to comment Share on other sites More sharing options...
PsichiX Posted March 10, 2018 Share Posted March 10, 2018 then brace yourself, sir, because you're gonna have some pretty shit times. zedacapitinga 1 Link to comment Share on other sites More sharing options...
zedacapitinga Posted March 10, 2018 Author Share Posted March 10, 2018 Is it preferable to keep the 2? Link to comment Share on other sites More sharing options...
PixelPicoSean Posted March 10, 2018 Share Posted March 10, 2018 Phaser 3 is quite different from Phaser 2, so you can only upgrade to latest 2.x (CE versions are great) zedacapitinga 1 Link to comment Share on other sites More sharing options...
zedacapitinga Posted March 11, 2018 Author Share Posted March 11, 2018 Could you tell me where to find the old version of phaser? Link to comment Share on other sites More sharing options...
PixelPicoSean Posted March 11, 2018 Share Posted March 11, 2018 https://github.com/photonstorm/phaser-ce zedacapitinga 1 Link to comment Share on other sites More sharing options...
Recommended Posts