Mike Posted September 17, 2013 Share Posted September 17, 2013 In the process of converting to 1.0 function render() { game.input.renderDebugInfo(16, 16); } this became: function render() { game.debug.renderInputInfo(16, 16); } but no debug info is rendered... and no errors or whatever... And more generally I think that render() isn't called at all. Link to comment Share on other sites More sharing options...
rich Posted September 17, 2013 Share Posted September 17, 2013 All of the debug commands only work in CANVAS mode - so the first thing to check is 1) Is your game set to use canvas (and not auto) and 2) If you are passing in an object of functions to the Phaser.Game constructor, is render one of them? Link to comment Share on other sites More sharing options...
Mike Posted September 17, 2013 Author Share Posted September 17, 2013 ОК just for other to pick up easy on this: var game = new Phaser.Game(320, 416, Phaser.CANVAS, "content",{ preload: preload, create: create, update: update, render: render }); And is WebGL - debug info in the future of phaser plans ? Link to comment Share on other sites More sharing options...
rich Posted September 17, 2013 Share Posted September 17, 2013 Possibly, but it would require creating loads of Text or Graphics objects to support it which I'm a bit hesitant about. It's easy enough to swap to canvas, test, swap back again imho Link to comment Share on other sites More sharing options...
Mike Posted September 18, 2013 Author Share Posted September 18, 2013 Yep It's cool enough. Link to comment Share on other sites More sharing options...
Recommended Posts