Skip to main content
Participant
July 17, 2020
Question

Best practices for publishing html5 game to different devices

  • July 17, 2020
  • 1 reply
  • 548 views

How does one publish to different device sizes and to the desktop using animate cc and create js?

I have not been successful in my search either here or on stack overflow.

Are there best practices on how one can do this? Is publishing different versions the way to go?

Making it responsive does not solve the problem because of the different height/width ratio. If it fits iPhone 8, it won't scale properly to iPhoneX and Ipad etc.

Would appreciate any help on this matter. Thanks

    This topic has been closed for replies.

    1 reply

    kglad
    Community Expert
    Community Expert
    July 17, 2020

    tick the "make responsive" option in the file>publish settings panel.

    Participant
    July 17, 2020

    Thank you kglad. I have tried the "make responsive" option but it does not fully solve the problems eg if you start with an iPad size and make it responsive, the aspect ratio makes it unworkable on eg iPhone8. 

    I came across this yesterday https://felgo.com/doc/felgo-different-screen-sizes/ that provides an approach. I was wondering if Adobe Animate might have something similar. I imagine there are hundreds of developers who work with animate cc + createjs who have to deal with this problem on a daily basis. Yet I can't seem to find anything in the vein of the felgo article. (I put this down to my poor search abilities.) Thanks once again.

    kglad
    Community Expert
    Community Expert
    July 17, 2020

    try the fit in view option.