User Tag List

Page 2 of 4 FirstFirst 1 2 3 4 LastLast
Results 11 to 20 of 39

Thread: HTML5 games and ios 9.0

  1. #11
    Clickteam Clickteam

    Join Date
    Jun 2006
    Location
    France
    Posts
    14,001
    Mentioned
    279 Post(s)
    Tagged
    3 Thread(s)
    I've asked Ben to take a look. I made a test without success, so I'm waiting for his comments.

  2. #12
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCHTML5 Export ModuleiOS Export ModuleSWF Export Module
    MTCMusic's Avatar
    Join Date
    Jan 2007
    Location
    Montreal, Canada
    Posts
    367
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thank you SO MUCH for your reply. I was starting to panic! In order to allow you to test this with varios HTML5 apps designed for iPad, I have removed the password access from my iPad section on my english website. Here is a direct link to this page.
    http://www.educatom.net/#!ipad/c2oh

    Feel free to test this problem with any of the 4 HTML5 apps currently online.
    Just let me know if I can help in any way to contribute to your tests. Also let me know when you are done with the tests so that I can reactivatethe password protection.

    Thank you for your help

  3. #13
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export Module

    Join Date
    Nov 2012
    Posts
    9
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    any news about some solutions?

  4. #14
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export Module

    Join Date
    Nov 2012
    Posts
    9
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I might have one solution... don┤t know if it is the best one but it seems to work:

    1. Open your "Runtime.js" file with Notepad or Wordpad (or any other program that works).
    2. Find "touchstart".
    3. Change "touchstart" to "touchend".
    4. Save file.
    5. Replace old "Runtime.js" with the new one.

  5. #15
    Clickteam Clickteam

    Join Date
    Jun 2006
    Location
    France
    Posts
    14,001
    Mentioned
    279 Post(s)
    Tagged
    3 Thread(s)
    Yes this is a problem with touchstart, it seems Apple no longer allows sounds to be played in a touchstart event though they still allow it in touchend events (when you release a touch). Not sure if it's a bug and if they'll fix it in a future update.

    A better solution than yours, move this:

    if (this.run != null && this.run.rhEvtProg != null)
    this.run.rhEvtProg.onMouseButton(0, 1);

    from the touchstart function to the touchend function, just after this.keyBuffer[CRunApp.VK_LBUTTON] = false;

    We're still trying to find a better solution, but until now it's the best one...

  6. #16
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export Module

    Join Date
    Nov 2012
    Posts
    9
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    This line:

    if (this.run != null && this.run.rhEvtProg != null)
    this.run.rhEvtProg.onMouseButton(0, 1);

    can not be found in my Runtime.js file. And this line...

    this.keyBuffer[CRunApp.VK_LBUTTON] = false;

    can not be found in my Runtime.js file.

  7. #17
    Clickteam Clickteam

    Join Date
    Jun 2006
    Location
    France
    Posts
    14,001
    Mentioned
    279 Post(s)
    Tagged
    3 Thread(s)
    Err, what version of CF 2.5 do you use? Have you installed the latest patch after installing the HTML5 exporter? Either the official build 284.10 or beta 285.1.

    PS: modify Application.js directly in the Data\Runtime\Html5 folder.

  8. #18
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export Module

    Join Date
    Nov 2012
    Posts
    9
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yes, I have installed the latest patch (beta 285.1) after installing the HTML5 exporter.

  9. #19
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCHTML5 Export ModuleiOS Export ModuleSWF Export Module
    MTCMusic's Avatar
    Join Date
    Jan 2007
    Location
    Montreal, Canada
    Posts
    367
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi all,

    I have tried the first solution (replace touchstart by touchend in Runtime .js) and although this fices the no sound problem, it plays the sound with a slight lag which makes it unsuitable for, example, a virtual drum app wherer the sounds have to trigger instantly upon impact with the trigger object. I will try the second solution (moving the function) and keep you posted. THanks again Yves and Ben for the hard work in fixing

    Oh, and did I mention, I Hate Apple.

    Thanks
    (EDIT) I understand that Touchend plays sound on release, therefore sound plays when touch is released. Not suitable for musical instrument sims or sounds triggered on touch.

  10. #20
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCHTML5 Export ModuleiOS Export ModuleSWF Export Module
    MTCMusic's Avatar
    Join Date
    Jan 2007
    Location
    Montreal, Canada
    Posts
    367
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Just wanted to add that the on-sreen touch joystick no longer responds when you switch touchstart to touchend.

Page 2 of 4 FirstFirst 1 2 3 4 LastLast

Similar Threads

  1. Replies: 0
    Last Post: 19th February 2015, 05:37 PM
  2. How big games can HTML5 handle?
    By Kentronisk in forum HTML5 Export Module 2.5
    Replies: 0
    Last Post: 27th January 2015, 06:20 PM
  3. Sitelock for HTML5 games
    By Olivier in forum HTML5 Export Module 2.5
    Replies: 23
    Last Post: 25th July 2014, 04:03 AM
  4. HTML5 Games
    By Jeff in forum HTML5 Export Module 2.5
    Replies: 0
    Last Post: 17th January 2014, 01:22 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •