IJCT's Recent Forum Activity

  • amazing, thanks a lot!!!!

  • >

    > i will test this on my game and see if its works, i export with phonegapp

    > update: couldnt find that line of code in mine file.

    >

    Do you set to use WKWebView when you do the Cordova export?

    yes but it may be because you export for XDK :s

  • Hi guys, well since i love this plugin and looks like Pode is gone, i figure out a way to create our own gestures since the plugin is giving us a JavaScript error message when trying to do it, so i did this custom gesture creator based on the one that Pode did.

    Custom Gesture Creator

    this generator creates a JavaScript line that have to be copy pasted inside the runtime.js file of the original plugin, this lets you create your own gestures.

    LINK: http://vortechstudios.com/gestures/

    //////

    STEPS TO DO IT

    1 - open runtime.js of Unistroke Gesture Recognizer Plugin and go to the line #115

    it should looks like this, here is every gesture's code.

    2 - delete all lines from 120 to 135

    should looks like this now

    3 - open the generator ( http://vortechstudios.com/gestures/ ) and create your gesture, DONT FORGET TO ADD A GESTURE NAME

    AND A GESTURE ID, gesture ID have to be a NUMBER , use 0 if its your firts gesture.

    4 - now just COPY the code that you just generated inside the runtime.js file, it should looks like this

    DONE, now the plugin recognize your gesture, if you want to add more gestures, just put the gesture code in the next line and with a different ID.

    i did this for the people that doesnt know any of code or are afraid of touching code, since i love this plugin and sadly the original creator isnt online anymore.

    hope you guys like it and tell me if you find any problems creating your own gestures, have fun!

  • Post a capx I guess.

    Pode is probably gone for good.

    i figured out a way to create my own gestures, the bad thing is that we have to change the code by hand, good part is that i change a little bit the gesture generator to create the code needed just to copy paste our gestures to the plugin's code. i will be uploading the generator and a mini guide of how to do it right here when im done with it

    i dont think it will be more than 3 steps.

  • Just copy the text from the demo:

    https://dl.dropboxusercontent.com/u/666 ... plate.capx

    the problem is that whenever i tried to create my own gestures using the plugin's action inside c2 it gives me a javascript error

    i know i can edit the code by hand and thats a way of putting my own gestures into it but the demo doesnt

    give me the "codes" of the gesture the way i needed to put them on the runtime.js file, i think thats the only way to erase the already buildin gestures and create our own, to change by hand the runtime.js...

  • hi, can this plugin be updated??? its really good but sadly is having some javascript errors when deleting the defined gestures...

  • I went to the c2runtime.js file and found this line:

    if (this.runtime.isWKWebView)

    playMusicAsSoundWorkaround = true;

    I changed that to false;

    Re-compiled with XDK and tested it. No more crashes after playing an hour.

    However, audio volume via tags no longer function, it plays at full.

    This isn't a huge deal, since at least there's no more crashing and there's music!

    i will test this on my game and see if its works, i export with phonegapp

    update: couldnt find that line of code in mine file.

  • Same problem here

    Sound is not playing before you make action on screen

    one of my games (HTML5 not mobile application ) on loader after load all content and images there a sound should play after complete the sound should enter the game , on web and android browser work 100 % , on ios browser you need to make call to action

    so you finded a way to make it play music?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • You can theoretically animate it by making it change tiles at runtime using events. Haven't dabbled in it myself so can't say how feasible this is.

    Would be nice to have a full on animation, though.

    that would destroy the performance of the game i think

  • its not the firts time we have a problem with sound in iOS before, looks like they always change how the audio works, i really need this bug fix asap

  • im going to publish a really big important update for my game and the sounds arent working...

  • Problem Description

    Sounds and music not playing on iOS

    Attach a Capx

    private project

    Steps to Reproduce Bug

    • create a capx with sound in it
    • export it to ios using phonegap
    • run app on ios device

    Observed Result

    the game doesnt play any sound or music

    Expected Result

    it should play music

    Operating System and Service Pack

    IOS 9

    Construct 2 Version ID

    C2 R239

IJCT's avatar

IJCT

Member since 9 Feb, 2013

None one is following IJCT yet!

Connect with IJCT

Trophy Case

  • 11-Year Club
  • Email Verified

Progress

12/44
How to earn trophies