Bullterrier's Forum Posts

  • 5 posts
  • Hello, i need to add Polish and Russian languages to my voices in text2speech and voice recognition parts of User media object. Currently i retrieved a list of supported voices as en-US, en-GB, en-GB, es-ES, fr-FR, it-IT, de-DE, ja-JP, ko-KR, zh-CN. How can i do this?

  • Thank you for recomendations about addons, i will give it to my community if they have smth similiar. Another sorry for double posting (problem was very important for me and i was trying to repair it myself for 4 days) and my apologies that i didn't enclose capx - project has a lot of events, the order of actions to reproduce bug was rather complicated and it has for now only french and russian languages. The main goal was to investigate is there a known bug or my errors in events and what i can do to resolve it. Happy Xmas and New Year.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Seems like it was my fault. I tried a lot of (almost random) actions to solve my problem - and when i hited "reset global variables" between 2 cycles of using effects of the card, crush was not occured. It's still interesting why that mistake was, but at least this semi-shaman-like action helped to deal with issue and i can continue my project after 4 days of delay.

    Conclusion: maybe i have too many global variables and some of them affected js array before 2nd iteration of card effect's cycle.

  • Excuse me for double post, but please answer me when you have free time as soon as possible. At least whether is it internal bug for sure or i need to continue searching errors in my events. I became very disappointed, because i invested a lot of time to make this project and now can't understand how to make it work.

    In chrome error looks a bit different.

    "[quote:udxa2bgr]Cannot read property 'length' of undefined

    http://localhost:50000/Arr_plugin.js, line 65 (col 22)

    This is likely a bug in Construct 2 or a third party plugin or behavior - please report it to the developer. Subsequent errors will be logged to the console.

    So, col 22 instead of 14 and property 'length' instead of 'a'.

    In console i see:

    "[quote:udxa2bgr]Arr_plugin.js:65 Uncaught TypeError: Cannot read property 'length' of undefined

    and when i press to view code in developer tool of Chrome i see that "for (i = 0, len = a.length; i < len; i++)" in next code is underlined and marked as error:

    [quote:udxa2bgr]function freeArray(a)

    {

    // Try to recycle any other arrays stored in this array

    var i, len;

    for (i = 0, len = a.length; i < len; i++)

    {

    if (Array.isArray(a))

    freeArray(a);

    }

    a.length = 0;

    arrCache.push(a);

    };

  • Problem Description

    I have been creating ccg. Currently my project has around 700 events, don't think that i can share it here without a lot of explanations, but maybe this bug has general solution.

    Steps to Reproduce Bug

    • I play card with effect 1.
    • After this i play card with effect 2 and sometimes browser declines effect of this card and shows me message of error.

    Observed Result

    Text of error message in Mozilla Firefox

    [quote:1te99tm6]Javascript error!

    TypeError: a is undefined

    http://localhost:50000/Arr_plugin.js, line 65 (col 14)

    This is likely a bug in Construct 2 or a third party plugin or behavior - please report it to the developer. Subsequent errors will be logged to the console.

    Affected Browsers

    • Chrome: (YES)
    • FireFox: (YES)

    Operating System and Service Pack

    ____ Windows 8 ____

    Construct 2 Version ID

    ____ 190 ____

  • 5 posts