Jump to content

Cocoonjs and Pixi touch


pdiddles03
 Share

Recommended Posts

I'm in the process of converting my game to an app and decided to use cocoon for that. I seem to have problems creep up on every corner.  When I use the webplus+ renderer, everything is fine, but it's not as fast as I would like. a little lag.  So I use canvas+ and it runs it like a native app speed wise! But my screen now only fills a quarter of the screen.  So I decided to use the window.devicePixelRatio to adjust the screen size and it fills the screen. Great! but now the touch areas are double what they were. I'm really confused.  Why would the touch area stay the same but the screen view only be a quarter of the screen?

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