i3Designer Posted November 13, 2014 Share Posted November 13, 2014 I tried to use cocoon js with phaser js, but I can not make it work, this is my main.js: var game = new Phaser.Game(400,400,Phaser.AUTO,''); var menuState = { preload: function(){ //Carica i file game.load.image('tw','assets/twitter.png'); }, create: function(){ // li crea var lol = game.add.sprite(20,20,'tw'); },}; game.state.add('menu',menuState);game.state.start('menu'); There is a comprehensive guide to phaser js? A tutorial for making a game with phaser to Cocoon?I have to change the rendering? Auto to Canvas?If I open this with Cocoon js, not working Link to comment Share on other sites More sharing options...
i3Designer Posted November 13, 2014 Author Share Posted November 13, 2014 I'am sorry for this post, I found this: http://www.html5gamedevs.com/forum/14-phaser/. I had not read D:Phaser js the best! Link to comment Share on other sites More sharing options...
totallybueno Posted November 14, 2014 Share Posted November 14, 2014 i3Designer, make your game in Phaser normally and then just go to ludei´s website and set all the configuration for your project, or even better, install the cocoonjs launcher in your smartphone/tablet and test your project. Once everything is working perfectly, do what I said before, go to ludei´s website, zip, upload, set and compile your game. Easy Link to comment Share on other sites More sharing options...
Recommended Posts