typingmaster's Forum Posts

  • The problem is that this weird error occurs randomly on same computer.. Sometimes game works and sometimes not...

  • On some slow performance Chromebooks, where C3 games usually do work just fine,

    sometimes the C3 game fails to start but shows a black screen and error dialog

    "Software update needed - Missing features: WebGL"

    Any ideas how to prevent this dialog from appearing?

    There is no need to close the Chrome browser to fix this error situation, instead when I visit another website and come back to my game, the game starts OK the 2nd time.

    Maybe error message should be adjusted a little ?

    Tagged:

  • How do I Request the Keyboard Focus from C3 game?

    It seems that my game does not receive the focus when I start the game.

    The game is running inside iframe of course.

    The event "ON ANY KEY PRESS" only works if I click the game with mouse first.

    Tagged:

  • One option for you would be maybe to release the source code of your Speech Recognization as a normal c3addon plugin so we could try to fix it ourselves :)

    However, I found one post on your forums that SINGLE PHRASE mode may work better than CONTIGUOUS one, so I will give one more try for C3 to see if it can be used on our projects. Maybe this detail makes it easier for you to fix it, too.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I am sorry to see that the current C3 Speech Recognition example project you have is actually broken: The exported example code crashes Chrome on Windows computers but project also does not work properly on mobile phones.. I have submitted a crash ticket to Chrome about the crash, but it seems the other bug you mentioned has been there 5 years already.

    There are clearly solutions how to fix this example project/API on your side so that Speech Recognition would work both on desktops+phones.. I just tested the following very simple js code on both my Phone and Desktop and it works well on both, the words are not repeated on mobile chrome and my desktop does not crash...

    studytonight.com/post/javascript-speech-recognition-example-speech-to-text

    So instead of waiting years for Chrome to fix something, you also have a choice to change your code, right?

  • Hello I exported the sample speech recognition project to this URL;

    typingmaster.com/speech/plain/index.html

    When using mobile phone (chrome) to view this sample code, code seems to output all words twice?

    Also tested this sample code with Edge, it gives language-not-supported error?

    Normal CHROME: When loading the published sample code page 1st time it works OK; afterwards loading a page again sometimes gives random Error code: STATUS_NOT_IMPLEMENTED. Also Edge randomly displays STATUS_ACCESS_VIOLATION when trying to open the page afterwards (after 1st view)

    Any ideas how to improve the sample code to work more reliable with normal Chrome and also with Mobile Phones and/or Edge?

    Tagged:

  • Any ideas, why the Peer 2 peer is not working, it was working OK earlier; is the Scirra server down?

    Is it allowed to have multiple players inside same WIFI or does it cause issues?

    Logged in as 'anonymous', joining room 'XXX'...
    c3runtime.js:1660 joining
    c3runtime.js:1660 Joined the chat room as the host
    main.js:214 Peer 'NV71' datachannel 'o' error: RTCErrorEvent {isTrusted: true, error: RTCError: Transport channel closed, type: "error", target: RTCDataChannel, currentTarget: RTCDataChannel, …}
    m.onerror @ main.js:214
    main.js:283 [Multiplayer] Peer 'anonymous2' (NV71) error: RTCErrorEvent {isTrusted: true, error: RTCError: Transport channel closed, type: "error", target: RTCDataChannel, currentTarget: RTCDataChannel, …}
    _OnPeerError @ main.js:283
    m.onerror @ main.js:214
    main.js:214 Peer 'NV71' datachannel 'r' error: RTCErrorEvent {isTrusted: true, error: RTCError: Transport channel closed, type: "error", target: RTCDataChannel, currentTarget: RTCDataChannel, …}
    m.onerror @ main.js:214
    main.js:283 [Multiplayer] Peer 'anonymous2' (NV71) error: RTCErrorEvent {isTrusted: true, error: RTCError: Transport channel closed, type: "error", target: RTCDataChannel, currentTarget: RTCDataChannel, …}
    _OnPeerError @ main.js:283
    m.onerror @ main.js:214
    main.js:214 Peer 'NV71' datachannel 'u' error: RTCErrorEvent {isTrusted: true, error: RTCError: Transport channel closed, type: "error", target: RTCDataChannel, currentTarget: RTCDataChannel, …}
    m.onerror @ main.js:214
    main.js:283 [Multiplayer] Peer 'anonymous2' (NV71) error: RTCErrorEvent {isTrusted: true, error: RTCError: Transport channel closed, type: "error", target: RTCDataChannel, currentTarget: RTCDataChannel, …}
    _OnPeerError @ main.js:283
    m.onerror @ main.js:214
    

    Tagged:

  • Just tested "wallclocktime" - it seems to have same problem its slowing than a real life clock when I have CPU Slowdown mode in chrome? Is it really the real system clock time?

    Btw, can I somehow detect the FPS and reduce the graphics / particles if low cpu?

  • Just noticed that the timer of game may vary if the CPU is very slow;

    I have this code:

    Every 0.05 seconds Add 0.05 seconds to mytimer

    How can I measure the real world time more accurately to make calculations based on time?

    Also, even if I monitor the system variable Time, it seems to run slower than a real-time clock when I enable from Chrome settings the slow computer simulation mode...

    Can I use DT somehow to convert time to real secs?

    Should this work better? Every tick: add DT to mytimer?

    If I enable Chrome 6x cpu slowness setting, it also affects to DT..

    What API can I use to read system clock directly?

    Tagged:

  • I have a code that should hide each button of class button1 when just 1 of them is clicked.

    TOUCH on click Button1

    Subevent: For each button1 : button1.visible = false

    Above does not work, I need to trigger a variable for hiding these inside another event, any other solutions to make code more clear?

    Tagged:

  • Thanks, sorry my mistake, I selected Export Android Cordova with Min version: 5.1 lollipop, but did not change the ANDROID BUILD field; There was a default that made a zip file.

    Just uploaded the apk to Android phone and it works OK.

  • Should there be Androidmanifest.xml inside? Its missing ..

  • When the C3 Editor / Chrome saves the apk file as a download, for some reason the extension .apk is automatically changed to .zip by browser.

    The dialog says: Export finished! Download file2021.zip

    The zip file contains config xml and json files, package json and www folder so it should be ok

    PS; The same bug appears sometimes also when it saves zip format file c3p

  • When I install APK to Android, there is a parse error when I double click the file on phone.

    I have tried to export apk from C3 and renamed zip to .apk when saved it with browser, and I enabled two different phones to accept apk files from unknown source.

    Both phones do show same error and fail to install apk.

    Tagged:

  • Excellent, good work with binary object!