Jump to content

Phaser and CocoonJS


Gods
 Share

Recommended Posts

I was wondering if there is any tutorial for these 2 together? 

I want to write the best code for fast performance.


I know its not good to use CSS, div tags, /.5 but I am sure there is more! Please direct me so I learn how to make the best Cocoon+Phaser performance :)

Please tell me your experiences / tips

Link to comment
Share on other sites

Hi there,

I´m using Phaser an CocoonJS, and the best tip I can give you is "Don´t use DOM elements, just canvas". If you use just canvas, you can compile your projects with cocoons "Canvas+" and trust me, is reeeeally fast, but if you use a single DOM element, no canvas+ available, just webview+, is faster than webview buuut nothing compare with canvas+ and no DOM.

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.

Guest
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.

Loading...
 Share

  • Recently Browsing   0 members

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