cocktian's Forum Posts

  • Please help me

  • 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?

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

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

  • Hi dop2000

    The example you posted is for C2 but this thread is for C3.

    Cheers

    sorry mod, i post this in wrong section.

  • 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

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

  • What bug are you talking about?

    I tried previewing this example on my android phone and zooming works fine.

    Replied on mobile, cant try your capx.

    When you use mobile device ans open browser, you can do pinch to zoom right?

    In when you add Touch plugin and use IOs device, you cannot do pinch to zoom.

    But when you use Touch plugin and use Android, you can pinch to zoom.

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

  • close and reopen your project, work for me.

  • Make sure your data is not actually strings. People make this mistake. It will look like 18, but "18" is not the same as 18. Can't be more help without seeing more code.

    thank you, yes i forget that my data is string, and i use 18 not "18"

  • prntscr.com/itbpx1

    event sheet posted in a link, see link above.

    when i use alert, all the element displayed, but when i add myarray.currentvalue=18 it doesnt work, i wonder why.

    i alert all then element, it contain number 18.

    but it doesnt work in the myarray.currentvalue=18 condition.

  • Use the spawn action.

    https://www.dropbox.com/s/ja0rqjzkexlxx ... .capx?dl=0

    thx for the information about families.

  • You'll probably need a plugin for that. Here is one I found (commercial):

    aw, so there are no free toast button?

    maybe i should use fade.

    thx for info.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • like the title say, i want to make a game using node js, not a peer-to-peer multiplayer.

    because i want to make it live in on server (localserver).

    i tried using socket.io plugins but it wont work.