HOW DO I ZOOM IN AND OUT IN ANDROID/IOS BROWSER?

0 favourites
  • 10 posts
From the Asset Store
All popular touch mechanics - scrolling, zooming, swiping
  • When i preview my project and view it from Chrome Android browser or Chrome IOs Browser, i cannot zoom the project.

    From what i know, this bug occur because of Touch Plugin, when i use Mouse Plugin i can zoom in out or drag left / right.

    Touch plugin work on Android and IOs (Safari, Chrome, Opera).

    Mouse plugin work on Android (Chrome).

    How to solve this problem? i want user can zoom in and out my game.

  • I gave you a link to a working capx example in your previous post. Have you tried it? Does it work? (you can zoom in/out using two-finger pinch gesture)

    If my code works and yours doesn't, then you need to post it here.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • I gave you a link to a working capx example in your previous post. Have you tried it? Does it work? (you can zoom in/out using two-finger pinch gesture)

    If my code works and yours doesn't, then you need to post it here.

    already try that one.

    it's not what i'm looking for, watch my vid and capx.

    i can zoom in out, and drag left to right when im not using Touch plugin, but when i use touch plugin, IOs cannot do that. Android still can.

    Vid -> dropbox.com/s/fy5rb1wkldxwlhc/e38324d6c2bd923231148ed732dffc92.mp4

    Capx -> dropbox.com/s/et8yikza2binzrs/zxc.capx

  • Your link to CAPX file is wrong.

    What devices are you using in your video - android or iOS?

  • Your link to CAPX file is wrong.

    What devices are you using in your video - android or iOS?

    capx -> dropbox.com/s/et8yikza2binzrs/zxc.capx

    i use IOs, IOs can do pinch without Touch Plugin, but when you add Touch Plugin, you cannot do pinch feature.

  • That's because you are talking about page zooming, which is a standard feature in any browser.

    But in your game you should do zooming with "Set layer/layout scale" action. And if you want to zoom using touch gestures, you need to add Touch plugin.

  • That's because you are talking about page zooming, which is a standard feature in any browser.

    But in your game you should do zooming with "Set layer/layout scale" action. And if you want to zoom using touch gestures, you need to add Touch plugin.

    thats what i ask, i cannot use standard browser feature if i use Touch Plugin, i want to use browser standard feature. but if i use Mouse plugin, it doesnt work on ios.

  • And how are you going to make a mobile game without the Touch plugin?

    You can emulate touch events with mouse, but you can't emulate mouse events with touch.

  • And how are you going to make a mobile game without the Touch plugin?

    You can emulate touch events with mouse, but you can't emulate mouse events with touch.

    i dont know how to make it work.

    this is what i already did.

    1. Export Embed + Full screen + Using iFrame => Browser Feature work on IOs

    2. Export Embed + Full screen + Using iFrame => Browser Feature doesnt work on Android

    3. Export Embed + Full screen + Touch + Using iFrame => Browser Feature work on IOs

    4. Export Embed + Full screen + Touch + Using iFrame => Browser Feature doesnt work on Android

    Using iFrame make browser work on IOs but doesnt work on Android.

    When not using iFrame browser feature doesnt work on IOs but work on Android.

    how to make browser feature work on both OS inside iFrame?

  • Please help me

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)