Jump to content

Cocoon js and Phaser js //


Recommended Posts

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
    create: function(){    // li crea
        var lol = game.add.sprite(20,20,'tw');
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

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...