Gods Posted January 22, 2015 Share Posted January 22, 2015 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 Quote Link to comment Share on other sites More sharing options...
totallybueno Posted January 22, 2015 Share Posted January 22, 2015 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.